| Connecting your PalmOS® handheld device to the Internet via PPP | ||
|---|---|---|
| Prev | Chapter 3. Connecting with Linux | Next |
When you run the one-liner on your desktop machine (assuming proper priviledges to do so, of course), it will wait passively for a connection from a Palm device. On the Palm itself, you have to launch the Network Connection applet ( not HotSync), and it should connect.
To get there, simply tap on your Application launcher, then select Prefs. Inside Prefs, in the dropdown menu on the upper right, there's an option for Network. Select this, and then select your Unix profile (the one we configured earlier).
Simply tap on the Connect icon on the bottom of the Unix profile, and it should begin a negotiation with your desktop machine. If you leave the window you launched the script from open, you should see something similar to the following upon connect (the verbosity is due to using the debug option we used when we launched it)
sent [IPCP ConfReq id=0x1 <addr 10.0.60.116> <compress VJ 0f 01>] sent [CCP ConfReq id=0x1 <deflate 15> <deflate(old#) 15> <bsd v1 15>] rcvd [IPCP ConfReq id=0x1 <addr 0.0.0.0> <compress VJ 03 01> <ms-dns1 0.0.0.0> <ms-dns3 0.0.0.0>] sent [IPCP ConfNak id=0x1 <addr 10.0.60.200> <ms-dns1 10.0.64.40> <ms-dns3 10.0.64.19>] rcvd [IPCP ConfNak id=0x1 <compress VJ 03 01>] sent [IPCP ConfReq id=0x2 <addr 10.0.60.116> <compress VJ 03 01>] rcvd [LCP ProtRej id=0x3 80 fd 01 01 00 0f 1a 04 78 00 18 04 78 00 15 03 2f] rcvd [IPCP ConfReq id=0x2 <addr 10.0.60.200> <compress VJ 03 01> <ms-dns1 10.0.64.19> <ms-dns3 10.0.64.19>] sent [IPCP ConfAck id=0x2 <addr 10.0.60.200> <compress VJ 03 01> <ms-dns1 10.0.64.19> <ms-dns3 10.0.64.19>] rcvd [IPCP ConfAck id=0x2 <addr 10.0.60.116> <compress VJ 03 01>] local IP address 10.0.60.116 remote IP address 10.0.60.200 Script /etc/ppp/ip-up started (pid 9973) Script /etc/ppp/ip-up finished (pid 9973), status = 0x0
As you can see, the Palm successfully connected to the machine, and was given an IP address of 10.0.60.200. To test this, I used the Palm OS Emulator (POSE) to test it (the port was /dev/ttyqe). I successfully connected, and was given access to the internet from POSE.
If you are not able to connect your Palm to the desktop over ppp, you will receive an error on the Palm. It will look like the image below. If you get this error, you should make sure you verify your port settings, speeds, and that the ppp module is loaded on the desktop.