rfcomm: permission denied
I'm working with Suse 8.2 and a Typhoon Bluetooth modem. I had it = working - once. Now rfcomm is just saying: permission denied. The = following lines are a protocol of bluetooth session. I have no idea at = all in which config-files I should look for a solution. /bin/bluepin = ist just a < cat /etc/bluetooth/bluepin >. I'm working as root and = /dev/rfcomm0 ist belonging to root.
Zbigniew Diaczyszyn [email protected]
-------------------------------------------------------------------------=
---------
linux:~ # hcid
linux:~ # hciconfig -a
hci0: Type: USB
BD Address: 00:10:60:A6:97:8C ACL MTU: 192:8 SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:129 acl:0 sco:0 events:18 errors:0
TX bytes:569 acl:0 sco:0 commands:18 errors:0
Features: 0xff 0xff 0x0f 0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2 HV3
Link policy: HOLD SNIFF PARK
Link mode: SLAVE ACCEPT
Name: 'Typhoon (0)'
Class: 0x000100
Service Classes: Unspecified
Device Class: Computer, Uncategorized
HCI Ver: 1.1 (0x1) HCI Rev: 0x20d LMP Ver: 1.1 (0x1) LMP Subver: =0x20d
Manufacturer: Cambridge Silicon Radio (10)
linux:~ # rfcomm bind 0 00:10:60:A6:97:8C
linux:~ # rfcomm show
rfcomm0: 00:10:60:A6:97:8C channel 1 clean
linux:~ # hcitool scan
Scanning ...
00:10:60:29:AC:2C BluetoothModem
linux:~ # rfcomm connect 0 00:10:60:29:AC:2C
Can't connect RFCOMM socket: Permission denied
linux:~ # sdptool browse
Inquiring ...
Failed to connect to SDP server on 00:10:60:29:AC:2C
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Zbigniew,
Quoted 8 lines
linux:~ # rfcomm bind 0 00:10:60:A6:97:8C linux:~ # rfcomm show
rfcomm0: 00:10:60:A6:97:8C channel 1 clean linux:~ # hcitool scan
Scanning ...00:10:60:29:AC:2C BluetoothModemlinux:~ # rfcomm connect 0 00:10:60:29:AC:2C Can't connect RFCOMM socket: Permission denied
this can't work. If you bind the device you don't need an additional connect. You only have to open /dev/rfcomm0 with pppd or any other TTY related program.
Regards
Marcel
-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Zbigniew,
Quoted 21 lines
----- Original Message -----
Quoted 6 lines
Quoted 2 lines
linux:~ # rfcomm connect 0 00:10:60:29:AC:2C
Can't connect RFCOMM socket: Permission deniedthis can't work. If you bind the device you don't need an additional connect. You only have to open
/dev/rfcomm0with pppd or any other TTY related program.--------------------------------------------------------
Well, having done this (suse 8.2, ppp1 is directed to/dev/rfcomm0) the kinternet protocol tells that there is <no route to host>:SuSE Meta pppd (smpppd-ifcfg), Version 1.00 on linux. trying to connect to smpppd
connect to smpppd
We are disconnected.
We are connecting.
pppd: Plugin passwordfd.so loaded.
pppd: Failed to open/dev/rfcomm0: No route to host We are disconnected.
pppd died: Serial port open failed (exit code 7)
Quoted 1 line
the proprietary mask tells: crw-rw---- root dialout
/dev/rfcomm0
create a dump file with "hcidump -w <file>".
Regards
Marcel
-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
_______________________________________________
Bluez-users mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Hallo Marcel,
----- Original Message -----=20
Quoted 6 lines
Quoted 2 lines
linux:~ # rfcomm connect 0 00:10:60:29:AC:2C
Can't connect RFCOMM socket: Permission denied=20
this can't work. If you bind the device you don't need an additional connect. You only have to open/dev/rfcomm0with pppd or any other TTY related program.
--------------------------------------------------------
Well, having done this (suse 8.2, ppp1 is directed to /dev/rfcomm0) the = kinternet protocol tells that there is <no route to host>:
SuSE Meta pppd (smpppd-ifcfg), Version 1.00 on linux. trying to connect to smpppd
connect to smpppd
We are disconnected.
We are connecting.
pppd: Plugin passwordfd.so loaded.
pppd: Failed to open /dev/rfcomm0: No route to host We are disconnected.
pppd died: Serial port open failed (exit code 7)
the proprietary mask tells: crw-rw---- root dialout =/dev/rfcomm0