Hi Chris First, congratulations on a splendid project. I've been using barry for a while now (currently on a recent 0.15 CVS version), mainly as a modem, as I need backup internet access while on the road. I'd like to share my experience, and offer to help with testing when I can.
I've been trying to write a pppd script for my provider, Vodafone UK - I'll offer it once I think it's in a fit state to be shared. I have a Blackberry 8100 Pearl with v4.2.1.103 software (Platform 2.3.0.82) which is configured over BES by my company - so, for example, a password is always required. I can get internet access over Bluetooth to the BB from my Palm TX very easily, and repeatably. It's less easy over Bluetooth from my laptop (Asus EeePC, running eeebuntu, based on Ubuntu/Hardy) - it sometimes connects OK first time, though it often stumbles over PAP/CHAP negotiation. Subsequent connections show the serial connection made OK, but the logs show it gets as far as sending the LCPConfReq negotiation when it seems to get no response from the BB. Pulling the battery on the BB makes it all OK again. But over the USB cable it's been a struggle. Using it in IP modem mode, it connects OK but it usually drops out saying the device needs a password (even though it's been set in pppob). It does, however, charge properly and I can browse folders as a mass storage device. In IPmodem mode, almost invariably, the phone resets itself sooner or later; for example, it will reset itself 10 to 20 secs after running 'btool -l'. However, running 'bcharge -o' to force serial mode, and running pppob with -s I can connect to the internet OK and repeatedly. Two questions: first, just to make life a little easier really, can I put 'bcharge -o' into the pppd script using pppd's init option, given it's benign if repeated? The man page suggests pppd runs the init command in a shell to set up the serial link before running the connect script. Though if the pty option has already grabbed the serial line, then I guess it won't fly? It would mean I can use pon/poff from a graphical interface without having to drop to a terminal to run bcharge -o first. It doesn't seem to work when I try it though, but I'm no programmer, so I'm not sure if I'm doing anything else wrong or if it's just a bad idea! Second, since the serial line is driven by pty/pppob, do I need to worry about the modem/local, serial speed and handshaking commands in the pppd script - are they used at all? In limited testing, changing them does seem to make no difference. Best wishes Julian ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Barry-devel mailing list Barry-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/barry-devel