problem with /dev/rfcomm0

Priyadarsan Roy priyadarsanroy at gmail.com
Mon Jul 17 06:42:50 UTC 2006


Riccardo Veraldi wrote:
>
> Hello,
> I haev Kubuntu 6.06
> I configured it to connect via UMTS/GPRS using bluetooth
> device.
> Actually I think I did everything correctly but when I start pppd
> or gnme-ppp or kppp I have the following error
>
> Failed to open /dev/rfcomm0: Connection refused
>

Hi Rick,

I had the same problem. My problem was that the remote bluetooth device 
was not binding to my laptop automatically. I did a manual bind and all 
was working. In your case you can try

$ sudo rfcomm bind  0 00:12:37:9D:3C:53 1

and then try using kpp. For me it was not working with kpp too. I think 
it was user rights problem. Then I got it to working using wvdial. My 
wvdial.conf looks like this

# Start wvdial.conf file
[BluetoothMobile]
Modem = /dev/rfcomm0
Baud = 115200
SetVolume = 0
Dial Command = ATDT
Init1 = ATE1
Init2 = AT+CGDCONT=1,"IP","WWW" # This is specific to my Hutch GPRS 
connection here in India
FlowControl = CRTSCTS

[Dialer GPRS]
Username = user
Password = user
Phone = *99***1#
Stupid Mode = 1
Inherits = BluetoothMobile
# End wvdial.conf file


And then I used to do $sudo wvdial GPRS. And all the things are working. 
So when I am home I can use my GPRS to log on to the net. Also make sure 
you pair your motorolla device to the computer before you do all this.

Hope this helps,

PD




More information about the kubuntu-users mailing list