* [Bluez-users] pan and brctl addif question
2005-02-23 7:27 ` Mohan K
@ 2005-02-23 7:45 ` Jack Jia
0 siblings, 0 replies; 2+ messages in thread
From: Jack Jia @ 2005-02-23 7:45 UTC (permalink / raw)
To: bluez-users
Sorry to keep asking hciemu related question. The reason I like hciemu so
much is not only I am poor :-), but also I was supposed to set up a
virtual environment of multiple piconets, so my team members can play
around with some scatternet routing stuff. I've seen someone from this
list achieved that. Now, I am following the Pan Howto, but I have some
problems:
1. After running
#pand -s -r GN -i 7F:00:00:01:00:0A
#pand -i 7F:00:00:01:00:0B -c 7F:00:00:01:00:0A
I am hoping 7F:00:00:01:00:0A to be GN, and 7F:00:00:01:00:0B to be PANU,
but when I run pand -l, I got the following:
bnep1 7F:00:00:01:00:0B GN
bnep0 7F:00:00:01:00:0A PANU
So, it seems 7F:00:00:01:00:0B being GN
2. I cannot add bnepX to pan0 using brctl, although I can add my eth0 to
it. After running:
#brctl addif pan0 bnep0
I got:
can't add bnep0 to bridge pan0: Cannot assign requested address
Could you give me some hints about possible reasons for this? Is this
because that all the bnepX's are generated by hciemu, or of some firewall
setting issues?
Is this the right way to set up a piconet? I feel brctl shouldn't be
required for setting a piconet, and bnep0 should be reused for new
connections if it already exists as GN. Seems brctl is something for
scatternet.
Regards,
Jack
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Bluez-users] pan and brctl addif question
@ 2005-02-24 9:33 Michael Schmidt
0 siblings, 0 replies; 2+ messages in thread
From: Michael Schmidt @ 2005-02-24 9:33 UTC (permalink / raw)
To: jjia; +Cc: bluez-users
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hi Jack,
| Sorry to keep asking hciemu related question. The reason I like
| hciemu so much is not only I am poor :-) , but also I was supposed
| to set up a virtual environment of multiple piconets, so my team
| members can play around with some scatternet routing stuff. I've seen
| someone from this list achieved that. Now, I am following the Pan
| Howto, but I have some problems:
|
| 1. After running
|
| #pand -s -r GN -i 7F:00:00:01:00:0A #pand -i 7F:00:00:01:00:0B -c
| 7F:00:00:01:00:0A
|
| I am hoping 7F:00:00:01:00:0A to be GN, and 7F:00:00:01:00:0B to be
| PANU, but when I run pand -l, I got the following:
|
| bnep1 7F:00:00:01:00:0B GN bnep0 7F:00:00:01:00:0A PANU
|
| So, it seems 7F:00:00:01:00:0B being GN
|
| 2. I cannot add bnepX to pan0 using brctl, although I can add my eth0
| to it. After running:
|
| #brctl addif pan0 bnep0
|
| I got:
|
| can't add bnep0 to bridge pan0: Cannot assign requested address
Besides possible other problems of PAN operation with hciemu (that I'm
not aware of), you'll definitely get into trouble using BT device
addresses that start with '7F'. Bits 0 and 1 of the most significant
byte of the device address have a special significance:
One of them determines whether the address is a unicast or multicast
(when set) address. The other one determines whether the address has a
local (when set) or global scope. BT device addresses conform with the
IEEE 802 MAC address specification (you may want to do a web search on
this), where this is defined. With either one set, you'll encounter
trouble with the bridging code (and possibly the BlueZ PAN code?).
Make sure you use addresses where these bits are not set.
Hope this helps,
Michael
- --
============================================
Michael Schmidt
- --------------------------------------------
Institute for Digital Communications Systems
University of Siegen, Germany
- --------------------------------------------
http: www.dcs.uni-siegen.de
e-mail: schmidt@nue.et-inf.uni-siegen.de
mobile: +49 179 7810214
============================================
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (MingW32)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFCHZ9RQxcxBvLsRaoRAqUwAKC/UOGXU6+ZpNNjGN0gSyfv8E7MJACbB8NS
DpNSGRbcWZEb3/pcpH/xfsw=
=S97v
-----END PGP SIGNATURE-----
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Bluez-users mailing list
Bluez-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/bluez-users
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2005-02-24 9:33 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-24 9:33 [Bluez-users] pan and brctl addif question Michael Schmidt
-- strict thread matches above, loose matches on Subject: below --
2005-02-23 6:39 [Bluez-users] Can't able to send data in both direction Mohan K
2005-02-23 7:03 ` [Bluez-users] " Sebastian Roth
2005-02-23 7:27 ` Mohan K
2005-02-23 7:45 ` [Bluez-users] pan and brctl addif question Jack Jia
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox