* [Bluez-users] rfcomm: permission denied
@ 2004-02-07 21:48 Zbigniew Diaczyszyn (gmx)
2004-02-09 10:13 ` Marcel Holtmann
0 siblings, 1 reply; 8+ messages in thread
From: Zbigniew Diaczyszyn (gmx) @ 2004-02-07 21:48 UTC (permalink / raw)
To: bluez-users
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 z.dia@gmx.de
-------------------------------------------------------------------------=
---------
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
Bluez-users@lists.sourceforge.net
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-users] rfcomm: permission denied
2004-02-07 21:48 Zbigniew Diaczyszyn (gmx)
@ 2004-02-09 10:13 ` Marcel Holtmann
2004-02-11 23:29 ` Zbigniew Diaczyszyn (gmx)
0 siblings, 1 reply; 8+ messages in thread
From: Marcel Holtmann @ 2004-02-09 10:13 UTC (permalink / raw)
To: Zbigniew Diaczyszyn (gmx); +Cc: BlueZ Mailing List
Hi Zbigniew,
> 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
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-users] rfcomm: permission denied
2004-02-11 23:29 ` Zbigniew Diaczyszyn (gmx)
@ 2004-02-11 23:27 ` Marcel Holtmann
0 siblings, 0 replies; 8+ messages in thread
From: Marcel Holtmann @ 2004-02-11 23:27 UTC (permalink / raw)
To: Zbigniew Diaczyszyn (gmx); +Cc: BlueZ Mailing List
Hi Zbigniew,
> ----- Original Message -----
>
> > > linux:~ # 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.
> --------------------------------------------------------
> 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
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-users] rfcomm: permission denied
2004-02-09 10:13 ` Marcel Holtmann
@ 2004-02-11 23:29 ` Zbigniew Diaczyszyn (gmx)
2004-02-11 23:27 ` Marcel Holtmann
0 siblings, 1 reply; 8+ messages in thread
From: Zbigniew Diaczyszyn (gmx) @ 2004-02-11 23:29 UTC (permalink / raw)
To: Marcel Holtmann; +Cc: bluez-users
Hallo Marcel,
----- Original Message -----=20
> > 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/rfcomm0 with 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
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bluez-users] rfcomm: permission denied
@ 2004-02-13 22:03 Zbigniew Diaczyszyn (gmx)
2004-02-13 22:16 ` Marcel Holtmann
0 siblings, 1 reply; 8+ messages in thread
From: Zbigniew Diaczyszyn (gmx) @ 2004-02-13 22:03 UTC (permalink / raw)
To: bluez-users
Hello Marcel,
I have compiled hcidump on my system (suse 8.2), but hcidump seems to =
have crashed down. I had to terminate the process with Ctrl-C:
linux:~ # hcidump -w info.txt
HCIDump - HCI packet analyzer ver 1.5
device: hci0 snap_len: 1028 filter: 0xffffffff
Is this a hardware problem or a wrong compilation of hcidump?
thanks in advance
Zbigniew
-------------------------------------------------------
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-users] rfcomm: permission denied
2004-02-13 22:03 [Bluez-users] rfcomm: permission denied Zbigniew Diaczyszyn (gmx)
@ 2004-02-13 22:16 ` Marcel Holtmann
0 siblings, 0 replies; 8+ messages in thread
From: Marcel Holtmann @ 2004-02-13 22:16 UTC (permalink / raw)
To: Zbigniew Diaczyszyn (gmx); +Cc: BlueZ Mailing List
Hi Zbigniew,
> I have compiled hcidump on my system (suse 8.2), but hcidump seems to have crashed down. I had to terminate the process with Ctrl-C:
>
> linux:~ # hcidump -w info.txt
> HCIDump - HCI packet analyzer ver 1.5
> device: hci0 snap_len: 1028 filter: 0xffffffff
>
> Is this a hardware problem or a wrong compilation of hcidump?
no, everything works fine. Terminate it with CTRL-C and send us the
dump.
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 8+ messages in thread
* [Bluez-users] rfcomm: permission denied
@ 2004-02-14 21:45 Zbigniew Diaczyszyn (gmx)
2004-02-15 14:34 ` Marcel Holtmann
0 siblings, 1 reply; 8+ messages in thread
From: Zbigniew Diaczyszyn (gmx) @ 2004-02-14 21:45 UTC (permalink / raw)
To: bluez-users
Hi Marcel,
sorry, but the file is empty :-(
Zbigniew
---------------------------------------------------------------
linux:/home/dia # hcidump -w hcidump.log
HCIDump - HCI packet analyzer ver 1.5
device: hci0 snap_len: 1028 filter: 0xffffffff
linux:/home/dia # ls -l hcidump.log
-rw-rws--- 1 root root 0 Feb 13 23:32 hcidump.log
-------------------------------------------------------
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [Bluez-users] rfcomm: permission denied
2004-02-14 21:45 Zbigniew Diaczyszyn (gmx)
@ 2004-02-15 14:34 ` Marcel Holtmann
0 siblings, 0 replies; 8+ messages in thread
From: Marcel Holtmann @ 2004-02-15 14:34 UTC (permalink / raw)
To: Zbigniew Diaczyszyn (gmx); +Cc: BlueZ Mailing List
Hi Zbigniew,
> sorry, but the file is empty :-(
>
> ---------------------------------------------------------------
>
> linux:/home/dia # hcidump -w hcidump.log
> HCIDump - HCI packet analyzer ver 1.5
> device: hci0 snap_len: 1028 filter: 0xffffffff
>
> linux:/home/dia # ls -l hcidump.log
> -rw-rws--- 1 root root 0 Feb 13 23:32 hcidump.log
if this happens then there was no traffic on the HCI layer. Check again,
because this can't be true.
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
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2004-02-15 14:34 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-02-13 22:03 [Bluez-users] rfcomm: permission denied Zbigniew Diaczyszyn (gmx)
2004-02-13 22:16 ` Marcel Holtmann
-- strict thread matches above, loose matches on Subject: below --
2004-02-14 21:45 Zbigniew Diaczyszyn (gmx)
2004-02-15 14:34 ` Marcel Holtmann
2004-02-07 21:48 Zbigniew Diaczyszyn (gmx)
2004-02-09 10:13 ` Marcel Holtmann
2004-02-11 23:29 ` Zbigniew Diaczyszyn (gmx)
2004-02-11 23:27 ` Marcel Holtmann
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox