Tutorial: How to tether Asus EeePC to Treo 680 for DUN

OK, I couldn’t really wait for Palm to come out with their Foleo II, and since the Asus EeePC is very reasonably priced and looks so cute, I went ahead and got one yesterday, As connectivity is an important issue for me, one of the first things I did was to read up on how to use my Treo 680 as a dial up Modem. I am on a GPRS/Edge data package with my provider (Digi) and their APN is “diginet”, username:password is digi:digi so these instructions are specific to Digi and you can easily make the changes if you know the equivalent for your mobile phone provider. If you are on Evdo, you can substitute the instructions in steps 1-3 for Edge with the equivalent Evdo template

Tools needed :
1. Asus EeePC running the default Xandros Linux
2. Treo 680
3. USB Modem
4. Hotsync cable

Info links:
1. The USB Modem readme for Linux
2. This Ubuntu Tutorial – which will work for Xandros too

This setup is for Digi so put in the changes for your network

1. Copy over ppp-script-edge-template and pap-secrets-template text files to somewhere e.g. My Documents in your Asus Eee
2. Edit these files:
for the edge template: replacing the USERNAME with digi and APN with diginet ; I also changed the dial up number to *99***1#
for the secrets template: USERNAME=digi PASSWORD = digi

3. Copy these files over to the /etc/ppp/peers folder:
Open terminal (Crtl+Alt+T)
Assuming your templates are in My Documents, navigate to there e.g.

cd "My Documents"

Copy files

sudo cp ppp-script-edge-template /etc/ppp/peers/ppp-script-treo
sudo cp pap-secrets-template /etc/ppp/peers/pap-secrets

4. Add a kernel module for the Smart Phone syncing to be properly recognized. You can do this manually (not persistent) by using the command:

sudo modprobe visor

If you would like to make this persistent, which is something I have done, you will want to append a line “visor” to the end of your /etc/modules file.

sudo kwrite /etc/modules

and add visor to the end, save the file

5. Plugin your Treo 680 with the USB cable, launch USB Modem and enable Modem mode. The linux drivers will be automatically installed (you don’t see anything happening)

6. You simply start the DUN connection by issuing this command in the terminal:

sudo pppd /dev/ttyACM0 call ppp-script-treo

Test your connection by issuing

ping -c3 google.com

So now your Asus EeePC is truly mobile and you don’t always need a Wifi hotspot :)

About the author, Alan:
Alan Teh is a Malaysian Physician who specialises in Hematology-Oncology & Stem cell Transplantation. He has been using Palm PDAs since 1997 and is absolutely reliant on them. His current PDA is a Palm Pre and is a strong advocate of the webOS platform, Palm's latest operating system. Caught the blogging bug in 2004 and has been addicted ever since…

Post to Twitter Post to Facebook

Tags: Editorial, UMPC

Related posts

Leave a Reply

Discuss this in the forum »