GPRS, Bluetooth, Linux and Motorola V330

From LinuxNewbie

I used these articles...

To connect phone to my bluetooth: http://www.teaparty.net/technotes/blue-gprs.html

To build wvdial configuration: http://www.php.co.ba/X31/GPRSoverBluetooth.html

Hardware: Motorola V330 LinkSys USBBT100 (USB Bluetooth dongle)



Left for history...

/etc/ppp/peers/gprs:

/dev/rfcomm0
connect '/usr/sbin/chat -V -f /etc/ppp/peers/chat-gprs'
noauth
defaultroute
usepeerdns
lcp-echo-interval 65535
debug

/etc/ppp/peers/chat-gprs:

TIMEOUT         15
ECHO            ON
HANGUP          ON
''              AT
OK              ATZ
OK              AT+cgdcont=1,"IP","internet2.voicestream.com"
OK              ATD*99#
CONNECT

Note that the APN is correct because it works on my Pocket PC. I have .net and needed .com above. I will update this when I test again.

# pppd call gprs
Jun 24 19:03:50 pavilion pppd[9211]: pppd 2.4.3 started by root, uid 0
Jun 24 19:03:55 pavilion pppd[9211]: Serial connection established.
Jun 24 19:03:55 pavilion pppd[9211]: Using interface ppp0
Jun 24 19:03:55 pavilion pppd[9211]: Connect: ppp0 <--> /dev/rfcomm0
Jun 24 19:03:56 pavilion pppd[9211]: PAP authentication succeeded
Jun 24 19:04:00 pavilion pppd[9211]: LCP terminated by peer (^E^@^@^J^@^@^@^@^@^
@)
Jun 24 19:04:01 pavilion pppd[9211]: Connection terminated.
Jun 24 19:04:04 pavilion pppd[9211]: Serial connection established.
Jun 24 19:04:04 pavilion pppd[9211]: Using interface ppp0
Jun 24 19:04:04 pavilion pppd[9211]: Connect: ppp0 <--> /dev/rfcomm0
Jun 24 19:04:04 pavilion pppd[9211]: tcflush failed: Bad file descriptor
Jun 24 19:04:05 pavilion pppd[9211]: tcsetattr: Invalid argument (line 1010)
Jun 24 19:04:05 pavilion pppd[9211]: Exit.