PPP chat scripts for T-Mobile Sony Ericsson T610 GPRS via Bluetooth with Debian
Man, that’s a long title. I need to avoid the use of KPPP. It is a KDE application that I have to run as root in order to use. It allows me to use GPRS connectivity via PPP. It is very handy, because it required minimal configuration after a few pointers from my esteemed colleague and fellow AJUG member Angus Berry. Methods to use it without running it as root (as shown in the KDE docs) have not worked for me. This is a problem, since it screws up a tempfile for the ICE window manager when launching it in Gnome, which prevents me from successfully launching a KDE session without first repairing the file whose permissions have been unfavorably altered.
I have created a set of PPP chat scripts for GPRS over Bluetooth with T-Mobile working. The scripts are based on excerpts from Linux Unwired (thanks guys!) and the O’Reilly article Linux Untethered by Brian Jepson. They are currently a bit suboptimal, though. When I hang up, the Bluetooth connection between the phone and the adapter is sometimes locked in some way and redialing does not work well. To get it to work again, I have to power down the phone and turn it on again. I also periodically get some sort of serial loopback error when trying to initialize the pppd daemon, whose trail of unpleasant spew ends as follows:
…
Serial line is looped back.
sent [LCP TermReq id=0xb “Loopback detected”]
rcvd [LCP TermReq id=0xb “Loopback detected”]
sent [LCP TermAck id=0xb]
rcvd [LCP TermAck id=0xb]
Connection terminated.
Serial link disconnected.
(more…)