UPDATE: 1/2/04 to add Palm app. to go in and out of tethered mode and prevent having to reset device.
I recently changed to Ubuntu Linux on my laptop. I previously used
PdaNet on XP to use my Treo 600 as a GPRS modem and wanted to do the
same thing now. After a bit of searching and some trial and error, I
got it working. Here's what I ended up doing. My provider is T-Mobile
so the Init3 and Phone settings in /etc/wvdial.conf may vary for other
Edit /etc/wvdial.conf and add the following:
Modem = /dev/ttyUSB1
Baud = 57600
Init1 = ATH
Init2 = ATE1
Init3 = at+cgdcont=1,"ip","wap.voicestream.com"
Dial Command = ATD
Password = web
Init1 = ATZ
Phone = *99***1#
Username = web
Edit /etc/ppp/options and comment out the following lines (this
prevents pppd from disconnecting after 2 minutes):
After editing the above files and saving them, connect your Treo using
the USB data cable. Depending on which port you plug in to, you may
need to edit number at the end of the Modem setting in wvdial.conf. On
my system, when I plug it in I get two new USB devices created,
/dev/ttyUSB0 and /dev/ttyUSB1 even though only one of them has a device
plugged in. I assume that the kernel activates all ports on the hub.
Download the following app and do a HotSync to install it:
This will enable you to put the Treo in and out of tethered mode easily
without having to dial the number manually and without having to reset
it to get out of tethered mode.
On your Treo, start the Modem app you installed above. Choose USB as the port and click on Enabled. Now,
on your computer start wvdial to dial the modem and start pppd using the following:
If everything went well, you should get a connection.
Hit Ctrl+C to disconnect.