Tech Journal Back to Tech Journal

Connecting a Palm device to a Linux box using PPP, for TCP/IP

You wish to connect you Palm to the internet via a proxy, using the serial cable to connect the Palm to the proxy.

1. Connect the Palm to a serial port.
2. Run the following command:

    /usr/sbin/pppd /dev/pilot 19200 passive \
    silent persist local -detach noauth


/dev/pilot is the device-file of the serial port the Palm is connected to.
19200 is the speed to the connection (must be the same on the Palm, too). is the IP address of the internet proxy (the computer). is the IP address of the Palm.

The command will connect pppd to the port, where is will send a few requests for a connection, and later lapse into passive mode as specified. (On my machine it takes about 10 seconds. Try removing the "silent" to see what's happeninng - it should send a few packets, and then stop.)

You may wish to add authorization to the service - remove "noauth", and configure the apropriate 'secret' files.

3. On the Palm, you need to set up the Network (and Connection in PalmOS 3.3). Go to "Network" under the "Prefrences" application, and enter:

Service: Aimnet
User Name: foo
Phone: 00

You should also set the speed to match that given to pppd.

If you're Palm is running PalmOS version 3.3 (and above?) you can choose the connection speed in the "Connection". The type of the connection should be "Serial to PC", and since you can't input a phone number, you don't need to set the number to "00".

If you encounter and problems, try playing with the timing of the connections - when to "connect" from the Palm, how long to wait after running pppd.

Last updated on 2000-04-30 14:00:00 -0700, by Shalom Craimer

Back to Tech Journal