using the treo 600 as a gprs modem on linux

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:

wvdial ppp0

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 thoughts on “using the treo 600 as a gprs modem on linux

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s