Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Connect a Palm to a LAN via USB cable' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Connect a Palm to a LAN via USB cable
Authored by: Sawtoothed on Nov 16, '03 09:50:11PM
A "few" more details :-)
You need the nc command for this hint to work (it is included in Panther, but not Jaguar). You can find it here. It compiles out of the box, with the usual
./configure ; make ; sudo make install

Next, it seems you need to tell pty-redir where nc is, so the command looks like this (if you installed nc yourself, on Jaguar) :
./pty-redir /usr/local/bin/nc -l -p 22000

If you have Panther and the command given by fuse2 doesn't work, try :
./pty-redir /usr/bin/nc -l -p 22000

After that, pppd need to be run as root, so use sudo :
sudo pppd /dev/ttyp0 115200 macip:palmip noauth proxyarp


For clarification, macip must be replaced by the IP address of your Mac, and palmip by the IP address that will be given to your Palm (choose whatever you want, as long as it's in the same subnet, e.g. your Mac is 10.0.0.1, choose 10.0.0.2 or 10.0.0.3 etc. for your Palm)

If you want to access the Internet from your Palm, open the Sharing pane of System Preferences, and start Internet Sharing (in the Internet tab), otherwise you will only be able to access your local network.

Now, how to configure your Palm :
  • Tap Prefs then choose Connection, and make sure Cradle/Cable is selected. Tap Edit... then Details... and check that the speed is set at 115 200bps
  • Still in the Prefs, choose Network. Go to the Service menu and choose New. Name this new Service, for example "Mac", leave the User Name field blank, make sure the Password field says "-Prompt-" and the Connection is "Cradle/Cable". Then tap Details... There, choose PPP as the Connection type, set Idle timeout to Never, uncheck the "Query DNS" box and enter the IP of your ISP's DNS server(s) (or the IP of your router, if you have one). Next to "IP address" there should be a checked box named "Automatic". If it's not checked, check it.


Now you should be able to start a web browser, mail client (check out the Eudora Internet Suite if you want to test the connection with a website or your mail server, it's free at eudora.com), AvantGo, chat client, etc. on your Palm, and it will connect automatically.
Open /var/log/system.log in the Console if you want to see what happens when the Palm connects.

Note :
If you disconnect the Palm (there should be a Disconnect button in the Internet-aware Palm app you're using, but some apps disconnect themselves automatically) and want to reconnect it, you'll have to type this in the Terminal :
killall netcat
and then start pppd again.

[ Reply to This | # ]
Connect a Palm to a LAN via USB cable
Authored by: Sawtoothed on Dec 05, '04 08:31:03AM
If you are using Panther and did not compile nc yourself, you will have to type killall nc, not killall netcat.

[ Reply to This | # ]