Author Topic: Irda Nokia Connection  (Read 2031 times)

nontrivial

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
    • http://james.nontrivial.org
Irda Nokia Connection
« on: November 22, 2004, 10:49:18 pm »
Howdy Folks,

I am generally having fun with RC5 on my c750, but I am trying to get irda working to use my Nokia 8290 as a modem. I found a page (http://www.insomniq.com/files/zaurus/IrDA-HOWTO.html) so I think it is theoretically possible. I have gotten further with my Zaurus than with my laptop, though. :-)

First prong of attack is to us a conventional approach. Namely, the pdaxrom PPP tools and /dev/ircomm0. I go to dial and the connection tool tells me what I can go do with myself.

The second prong of attack is to use gnokii. I have used the SDK and now have 0.6.4 installed. xgnokii is waaaaaaay cool running on the zaurus, BTW! Anyway, I can talk to the phone just fine, jack with contacts, send SMS's, etc. When I run gnokiid a gnokii device is created as expected. When I point pppd at it I get much further, namely an OK back, but then I get an ERROR and it goes downhill after that.

So, my main question is, does anybody else using thier Nokia as a modem via IR? I don't have much experience with dialup. Does anybody have any suggestions? Does anybody have a minicom IPK handy so that I can poke about?

James

nontrivial

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
    • http://james.nontrivial.org
Irda Nokia Connection
« Reply #1 on: November 24, 2004, 10:52:53 am »
Well, I guess this is an update. I have given up on gnokiid since it never reports that it connects. Using straight up irda I can connect to my ISP with minicom, but when I try to connect with pppd I get the following:

  chat:  Nov 21 20:00:48 CONNECT 9600
  Serial connection established.
  Using interface ppp0
  Connect: ppp0 <--> /dev/ircomm0
  Modem hangup
  Connection terminated.
  bash-3.00#

The annoying thing is that it seems that no pppd option that I try seems to have any effect. Any help would be appreciated.

James

Foxdie

  • Sr. Member
  • ****
  • Posts: 465
    • View Profile
    • http://trackmygps.co.uk
Irda Nokia Connection
« Reply #2 on: November 24, 2004, 03:27:45 pm »
If you provide more information I will try and help you (I work for Vodafone lol).

What init string are you using?
What dialup number are you using?
What cell operator are you using?
What country are you in?
How are you trying to connect? GPRS or CSD?

Your script should look something similar to the following:

Quote
# cat /etc/ppp/peers/VodaGPRS
/dev/rfcomm0
115200
connect '/usr/sbin/chat -s -v ABORT "NO CARRIER" ABORT "NO DIALTONE" ABORT "BUSY" "" at+cgdcont=1,"IP","internet" OK ATDT*99# CONNECT'
crtscts
noipdefault
modem
user "web"
usepeerdns
defaultroute
connect-delay 6000
remotename VodaGPRS
Jason "Foxdie" Gaunt
HTC Universal G4 with 2GB SD card running Debian Titchy Linux
[img]http://trackmygps.co.uk/signatures/foxdie.gif\" border=\"0\" class=\"linked-sig-image\" /]
Click image to view my GPS tracker
Follow me on Twitter: @jasongaunt

nontrivial

  • Jr. Member
  • **
  • Posts: 62
    • View Profile
    • http://james.nontrivial.org
Irda Nokia Connection
« Reply #3 on: November 29, 2004, 11:20:38 am »
Well, looks like I'm going to be too busy to work on this for a while. I can get it to work pretty easy under windows, so my next step is to get irda working on my laptop under linux and try it with that. As for my settings, I am dialing into a computer at work, so I pretty much control both ends. My coworker has no problems using linux and a traditional modem, which is why I thought it might be something wrong with pdaXrom. His setup won't work on my zaurus. I guess I just need to spend a few more nights figuring out what the problem is.

James

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Irda Nokia Connection
« Reply #4 on: December 20, 2004, 12:29:18 pm »
@ nontrivial:

Thanks for the link, xgnokii on pdaXrom is really cool indeed !!

(It took some time to figure out how it works, but I've got it up and running !)
- found a .gnokiirc file on the web : Gnokiirc
- also found out that I had to open my irda (/etc/rc.d/init.d/irda start) before running xgnokii.

For those interested in the download link:
Read this thread

Thanks a lot !
Chero.
« Last Edit: December 20, 2004, 12:32:50 pm by Chero »
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Irda Nokia Connection
« Reply #5 on: December 12, 2005, 02:21:57 pm »
Some nice info about gnokii in here, ipk uploaded in other thread.

Just bringing this info out of the dust.
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

karlto

  • Sr. Member
  • ****
  • Posts: 343
    • View Profile
    • http://
Irda Nokia Connection
« Reply #6 on: December 13, 2005, 03:15:47 pm »
Not quite the same hardware, but I have my (old) Nokia 6385 working fine with my SL6000 via IR. I just use the ppp dialer, but it needed patching to remove the second set of double quotes around the password (I think there is a bug report on the pdaXrom site). Also need specific initialisation string for the phone to work without hanging up (Nokia has these somewhere on the net).
SL6000-L, RC12

Chero

  • Hero Member
  • *****
  • Posts: 1140
    • View Profile
    • http://users.telenet.be/zaurususer/Chero
Irda Nokia Connection
« Reply #7 on: December 13, 2005, 03:29:28 pm »
Quote
Not quite the same hardware, but I have my (old) Nokia 6385 working fine with my SL6000 via IR. I just use the ppp dialer, but it needed patching to remove the second set of double quotes around the password (I think there is a bug report on the pdaXrom site). Also need specific initialisation string for the phone to work without hanging up (Nokia has these somewhere on the net).
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]

Sure, I had that too, but wanted to be able to handle phone-books and send sms using the Z.
I uploaded gnokii [a href=\"https://www.oesf.org/forums/index.php?showtopic=9475]here[/url]

Chero
HP-95LX -> HP Jornada 680 -> SL-C860 -> SL-C3100 -> Fuji u810 -> SL-C1000 -> HTC uni -> SL-C860 -> SL-C760.
March 12 2009 : Back because the Zaurus is one of a kind.
SL-C760 : pdaXrom
Pandora pre-ordered -> received and tested : great device but not my cup of tea -> sold.

henrysviper

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • http://prasinos.eu/
Irda Nokia Connection
« Reply #8 on: December 13, 2005, 03:31:29 pm »
@nontrivial

Try running pppd with the debug option and see what you get.

You may have a similar situation to mine: I get this "modem hangup" message initially, but if I use my mobile to connect with windows XP it works, and after that the mobile works also with the Zaurus (until I switch it off). So my solutiion is: switch the mobile on, connect through it on Windows, and then never switch the mobile phone off!

(BTW: I explain better my situation in this thread )
« Last Edit: December 13, 2005, 03:34:01 pm by henrysviper »
C750 :: Switching between Angstrom and Debian armel :: SD Kingstron 2GB (ext3) :: SD Toshiba 512MB (ext3) :: CF Transcend 80x 1GB :: CF Lexar 4x 256MB :: Ambicom CF WiFi :: Targus CF Modem :: Brando solar charger