(c) 2003 Carlos Morgado <palm@chbm.net>
See 'COPYING' for licence information.
http://chbm.net/treo
SerialBridge bridges data across two serial ports across a Palm device. It's mainly aimed at bridging the Wireless Modem and a USB/Serial port on a Treo (so that I can use GPRS from a laptop).
Quick: Select 2 Connections from the drop down lists, press Go, enjoy. I don't know about MSWindows or MacOS.
Slow: I can only see 2 points to this, connecting serial/usb to irda and connecting serial/usb/irda to a wireless modem in a Treo. The first option isn't a very big priority for me so for the meanwhile I won't even be testing irda.
The dropdowns let you select a Connection, not a serial port
directly. That's cause USB Palms have 6 to 8 USB serial ports
all named 'USB'. Via the Connection manager you get the
correct USB configuration.
If you check 'Stay on' the device won't auto-off (duh) so your
battery will take a good beating.
With my Treo I have to connect to ttyUSB1 (or usb/tts/0 if you use devfs - or something else that means 'port 2'). If I connect to port 1 the Treo has a 'Fatal Error'.
I managed to get a ppp link going to Vodafone PT with this following line
pppd debug debug -detach /dev/ttyUSB1 user test usepeerdns nocrtscts local connect "/usr/bin/wvdial --chat gprs"
user test has password test (but I don't think it's checked) and i'm doing CHAP. This are the wvdial entries:
[Dialer gprs] Phone = *99***1# Inherits = Modem3 Password = foo Username = foo Stupid Mode = 1 [Modem3] Modem = /dev/ttyUSB1 Baud = 115200 SetVolume = 0 Dial Command = ATD Init1 = at+CGDCONT=1,"IP","net.vodafone.pt",,0,0
This is an example for vodafone and I'm not even claiming this to be perfect - it was the first config I got working.
A couple of pointers I found on Google