Need help with PAND between 2 linux boxes
Hi,
I have two linux boxes with FedoraCore 2 installed on both. Both of them have USB bluetooth adapters.
I have tried to connect them in a NAP - PANU config, as indicated in
http://bluez.sourceforge.net/contrib/HOWTO-PAN, but something is not working and I can't figure out what.
Here are the details:
service bluetooth start
Then I check with hciconfig that both BT are UP.
Then, on both computers I modprobe bnep.
(one note here, ifconfig -a does not show any bnep0 at this moment) On both of them launch
hcidump in separate windows to see what is going on.
On one I launch
pand --listen --role NAP -n --master
and on the other
pand -c 00:20:E0:73:EB:F7 -n --role PANU
and after some messages in hcidump on both sides, I receive:
pand[1431]: Bluetooth PAN daemon
pand[1431]: Connecting to 00:20:E0:73:EB:F7
pand[1431]: Connect to 00:20:E0:73:EB:F7 failed. Function not implemented(38)
I tried both ways, but the behavior is the same.
Then I tried on one side:
strace pand --listen --role NAP -n --master
but when I try to connect from the other side, nothing happens here.
Do I miss something here ?
Thanks,
Paul
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Marcel Holtmann
maintainerHi Paul,
Quoted 18 lines
I have two linux boxes with FedoraCore 2 installed on both. Both of them have USB bluetooth adapters.
I have tried to connect them in a NAP - PANU config, as indicated in
http://bluez.sourceforge.net/contrib/HOWTO-PAN, but something is not working and I can't figure out what.
Here are the details:
service bluetooth start
Then I check with hciconfig that both BT are UP.
Then, on both computers I modprobe bnep.
(one note here, ifconfig -a does not show any bnep0 at this moment) On both of them launch
hcidump in separate windows to see what is going on.On one I launch
pand --listen --role NAP -n --master
and on the other
pand -c 00:20:E0:73:EB:F7 -n --role PANU
Quoted 4 lines
and after some messages in hcidump on both sides, I receive:
pand[1431]: Bluetooth PAN daemon
pand[1431]: Connecting to 00:20:E0:73:EB:F7
pand[1431]: Connect to 00:20:E0:73:EB:F7 failed. Function not implemented(38)
try it without the --master and --role parameters. I think you forgot to enable the role switch (rswitch) on both sides.
Regards
Marcel
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Hello,
Quoted 10 lines · Marcel Holtmann
Hi Paul,
Quoted 8 lines
I have two linux boxes with FedoraCore 2 installed on both. Both of them have USB bluetooth adapters.
I have tried to connect them in a NAP - PANU config, as indicated in http://bluez.sourceforge.net/contrib/HOWTO-PAN, but something is not working and I can't figure out what.pand[1431]: Connect to 00:20:E0:73:EB:F7 failed. Function not implemented(38)
I have seen this too... Master = Suse 9.1, Slave = Zaurus C 750. I have managed to get it working by disabling authentication on the master box....
best regards
Wolfgang
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Hi Marcel,
I tried without --role and --master parameters and the same result (pand -s -n on one side and pand -n -c MAC)
And in /etc/bluetooth/hcid.conf I have
lp hold,sniff,park,rswitch;
Quoted 12 lines · --- Marcel Holtmann
Quoted 6 lines
On one I launch
pand --listen --role NAP -n --master and on the other
pand -c 00:20:E0:73:EB:F7 -n --role PANUand after some messages in hcidump on both sides,
I receive:
Quoted 3 lines
pand[1431]: Bluetooth PAN daemon pand[1431]: Connecting to 00:20:E0:73:EB:F7 pand[1431]: Connect to 00:20:E0:73:EB:F7 failed.
Function not implemented(38)
Quoted 7 lines
try it without the --master and --role parameters. I think you forgot to
enable the role switch (rswitch) on both sides.Regards
Marcel
__________________________________
Do you Yahoo!?
Yahoo! Mail - 50x more storage than other providers!
http://promotions.yahoo.com/new_mail
Marcel Holtmann
maintainerHi Paul,
Quoted 5 lines
I tried without --role and --master parameters and the same result (pand -s -n on one side and pand -n -c MAC)
And in/etc/bluetooth/hcid.confI have
lp hold,sniff,park,rswitch;
show us the content of /etc/bluetooth/hcid.conf and the output of "hciconfig -a".
Regards
Marcel
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users
Quoted 3 lines · --- Marcel Holtmann
show us the content of
/etc/bluetooth/hcid.confand the output of
"hciconfig -a".
Hi Marcel,
Here is the info:
hciconfig -a
hci0: Type: USB
BD Address: 00:20:E0:75:21:DA ACL MTU: 192:8
SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:200 acl:0 sco:0 events:26 errors:0
TX bytes:621 acl:0 sco:0 commands:22 errors:0
Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x000x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2
HV3
Link policy: RSWITCH HOLD SNIFF PARK Link mode: ACCEPT MASTER
Name: 't41-0'
Class: 0x120104
Service Classes: Networking, Object Transfer Device Class: Computer, Desktop workstation HCI Ver: 1.1 (0x1) HCI Rev: 0x222 LMP Ver: 1.1
(0x1) LMP Subver: 0x222
Manufacturer: Cambridge Silicon Radio (10)
__________________________________
Do you Yahoo!?
New and Improved Yahoo! Mail - 100MB free storage!
http://promotions.yahoo.com/new_mail
Quoted 4 lines · --- Marcel Holtmann
show us the content of
/etc/bluetooth/hcid.confand the output of
"hciconfig -a".
And from the other side:
hciconfig -a
hci0: Type: USB
BD Address: 00:20:E0:73:EB:F7 ACL MTU: 192:8
SCO MTU: 64:8
UP RUNNING PSCAN ISCAN
RX bytes:224 acl:0 sco:0 events:28 errors:0
TX bytes:609 acl:0 sco:0 commands:22 errors:0
Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x000x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2
HV3
Link policy: RSWITCH HOLD SNIFF PARK Link mode: ACCEPT MASTER
Name: 'r50p-0'
Class: 0x120104
Service Classes: Networking, Object Transfer Device Class: Computer, Desktop workstation HCI Ver: 1.1 (0x1) HCI Rev: 0x222 LMP Ver: 1.1
(0x1) LMP Subver: 0x222
Manufacturer: Cambridge Silicon Radio (10)
__________________________________
Do you Yahoo!?
Yahoo! Mail is new and improved - Check it out!
http://promotions.yahoo.com/new_mail
Marcel Holtmann
maintainerHi Paul,
Quoted 9 lines
Here is the info:
hciconfig -a
hci0: Type: USBBD Address: 00:20:E0:75:21:DA ACL MTU: 192:8 SCO MTU: 64:8 UP RUNNING PSCAN ISCAN RX bytes:200 acl:0 sco:0 events:26 errors:0 TX bytes:621 acl:0 sco:0 commands:22 errors:0 Features: 0xff 0xff 0x0f 0x00 0x00 0x00 0x00
Quoted 12 lines
0x00
Packet type: DM1 DM3 DM5 DH1 DH3 DH5 HV1 HV2
HV3
Link policy: RSWITCH HOLD SNIFF PARK Link mode: ACCEPT MASTER
Name: 't41-0'
Class:0x120104
Service Classes: Networking, Object Transfer Device Class: Computer, Desktop workstation HCI Ver: 1.1 (0x1) HCI Rev:0x222LMP Ver: 1.1
(0x1) LMP Subver:0x222
Manufacturer: Cambridge Silicon Radio (10)
leave "security auto;" and use "lm accept;" in hcid.conf. After that you should read the comment in hcid.conf:
# master - become master on incoming connections,
# deny role switch on outgoing connections
How can it work if you set "master" on both sides ;)
Regards
Marcel
-------------------------------------------------------
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
_______________________________________________
Bluez-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/bluez-users