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
providers.
Edit /etc/wvdial.conf and add the following:
[Dialer Defaults]
Modem = /dev/ttyUSB1
Baud = 57600
[Dialer ppp0]
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):
lcp-echo-interval 30
lcp-echo-failure 4
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:
http://butterfeet.org/wireless-modem.prc
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.
References:
http://www.kevinboone.com/treo_notes.html
http://www.1src.com/forums/showthread.php?p=680621
#post680621
http://sourceforge.net/mailarchive/forum.php?forum_id=4987&
max_rows=25&style=nested&viewmonth=200404
http://discuss.treocentral.com/showthread.php?t=49400
&page=1&pp=20

2 Comments
Do you still have a copy of the wireless-modem.prc app? I can't find it anywhere.
Thanks,
myspambait@gmail.com (replace "bait" with "b8″)
@Jamie: sorry, I don't have it any longer. You may want to try contacting Matthew Allum via his treocentral profile or his site.