![]() |
niemueller.de Open Software. Open Knowledge. |
|
|
|
Null Modem PPP Connection with your PalmThis shortly describes how to get your Palm online via a so called null modem cable. Your cradle or Hotsync-cable will work just fine for this purpose. There is no special cable needed. I have tested this myself with a Palm m515 (serial, not USB!), IIIc and IIIxe. It should also work for III, IIIx, IIIe and the like. The oldest PalmOS Version I used was 3.5, I'm not sure whether older version can do the same. On the server side you need a PC with Linux installed. You need root access and pppd installed on your machine. If you are using a dialup or DSL connection you most likely already have that installed. Almost every current Linux should do the trick, I have tested it on a 2.4 system but 2.2 should work as well. Configuration of your Palm handheld
Server / Linux side Open a root shell and execute the following command: /usr/sbin/pppd /dev/ttyS0 115200 192.168.77.1:192.168.77.2 noauth silent local persist -detachThis will launch the PPPd for the first serial port on ttyS0 (on Windoze this is called COM1). You should see a message like this: Using interface ppp0 Connect: ppp0 <--> /dev/ttyS0Now connect your Palm with the serial cable to the first serial port and click on "Connect" in the Network settings tab on your Palm (where you created the network connection, you still should be there :-). You should see messages on the Linux screen indicating that a connection has been establised. Your Palm should get the IP 192.168.77.2 and the server has 192.168.77.1. You should be able to ping your Palm from the Linux PC. To get online with you Palm you have to masquerade the traffic. Let's assume you are behind a router and connected to the network with eth0. First you need to enable network forwarding. Type: echo 1 > /proc/sys/net/ipv4/conf/all/forwarding Then establish masquerading for your palm by typing /sbin/iptables -t nat -A POSTROUTING -s 192.168.77.0/24 -d ! 192.168.77.0/24 -o eth0 -j MASQUERADE Now your palm should be able to reach the outside world. |
|
|||||||||||||||||||||||||||||||||||||||||||
|
| RSS | |