Anyone dialing up through bluetooth phone?

David Kramer david at thekramers.net
Mon Aug 22 02:15:53 EDT 2005


I just got a Motorola E815 from Verizon.  That means, of course, that it's 
crippled all to hell in software.  I found out how to enable DUN, and got it 
working in Windows, and would love to be able to do it in Linux, too.  This 
is on my Thinkpad T42.

I've never done bluetooth before, but I have the two devices bonded, I think.

deepthink:/etc/ppp/peers # rcbluetooth status
Checking service bluetooth :
       hcid  (activated)                                               running
       hidd  (activated)                                               running
    hid2hci                                                            unused
       sdpd  (activated)                                               running
        opd  (activated)                                               running
     rfcomm  (activated)
       pand  (activated)                                               running
       dund  (activated)                                               running

deepthink:/etc/bluetooth # hciconfig
hci0:   Type: USB
         BD Address: 00:20:E0:76:D7:D0 ACL MTU: 192:8  SCO MTU: 64:8
         UP RUNNING PSCAN ISCAN
         RX bytes:3330 acl:74 sco:0 events:211 errors:0
         TX bytes:2879 acl:74 sco:0 commands:88 errors:0


deepthink:/etc/ppp/peers # l2ping 00:14:9A:38:71:9D
Ping: 00:14:9A:38:71:9D from 00:20:E0:76:D7:D0 (data size 20) ...
4 bytes from 00:14:9A:38:71:9D id 200 time 31.41ms
4 bytes from 00:14:9A:38:71:9D id 201 time 36.73ms
4 bytes from 00:14:9A:38:71:9D id 202 time 30.69ms
4 bytes from 00:14:9A:38:71:9D id 203 time 39.72ms
4 bytes from 00:14:9A:38:71:9D id 204 time 28.70ms
4 bytes from 00:14:9A:38:71:9D id 205 time 41.69ms
^C6 sent, 6 received, 0% loss

When I use the kbluetoothd tool to see the phone (sdp://motorola phone/), I 
see a konqueror window with icons for dial up networking, Hands Free Voice 
Gateway, and Headset Voice Gateway.  If I click on any of them, I get a 
"open with/save/" dialog which is useless to me.

deepthink:/etc/ppp/peers # rfcomm -a
rfcomm0: 00:14:9A:38:71:9D channel 1 closed
deepthink:/etc/ppp/peers # rfcomm listen
rfcomm0: 00:14:9A:38:71:9D channel 1 closed
deepthink:/etc/ppp/peers # rfcomm connect /dev/rfcomm0
Can't connect RFCOMM socket: Connection refused
eepthink:/etc/ppp/peers # rfcomm show
rfcomm0: 00:14:9A:38:71:9D channel 1 closed
deepthink:/etc/ppp/peers # rfcomm listen
rfcomm0: 00:14:9A:38:71:9D channel 1 closed
deepthink:/etc/bluetooth # rfcomm connect /dev/rfcomm0 00:14:9A:38:71:9D 1
Can't connect RFCOMM socket: Connection refused

What does the connection refused mean?  Is there a problem with a socket 
locally or is that the phone is refusing?

When I tried to pair them, it paired them, but then I got the same exact error.

NOTE: On this phone all of the OBEX stuff is disabled, and can only be 
enabled with warranty-invalidating hacking, so I'm hesitant to enable it. 
However, the dialup networking works under Windows (as I said), so I just 
need to figure out how to do it under Linux.

Thanks in advance.



More information about the Discuss mailing list