Warning: be careful with your data usage once you are tethered.
My system is Debian 5.0.3. But this should work on all newer debians and reasonably new Ubuntus. Run all commands as "root":
1. Download and install barry for debian from the sourceforge website. You only need two files: libbarry0 and barry-utils. The files I use are:
2. For AT&T users:
change the file 'barry-att_cingular' to comment out the following lines:
3. run "pppd call barry-att_cingular" to get you connected.
Notes about routes:
If your computer already have a default gateway, pppd will not change/update it. In that case, make sure you delete your default gateway before running pppd, or you can manually add the default gw.
To stop the connection, just hit "Ctrl-C". Or, you can do "killall pppd" and wait for a few seconds for it to disconnect.
I use this in Vmware Player virtual machine with Debian 5.0.3 and it works great.