public inbox for linux-bluetooth@vger.kernel.org
 help / color / mirror / Atom feed
From: Michael Schmidt <schmidt@nue.et-inf.uni-siegen.de>
To: jjia@cs.ubc.ca
Cc: bluez-users@lists.sourceforge.net
Subject: Re: [Bluez-users] pan and brctl addif question
Date: Thu, 24 Feb 2005 10:33:05 +0100	[thread overview]
Message-ID: <421D9F51.80905@nue.et-inf.uni-siegen.de> (raw)

-----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

             reply	other threads:[~2005-02-24  9:33 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-02-24  9:33 Michael Schmidt [this message]
  -- 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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=421D9F51.80905@nue.et-inf.uni-siegen.de \
    --to=schmidt@nue.et-inf.uni-siegen.de \
    --cc=bluez-users@lists.sourceforge.net \
    --cc=jjia@cs.ubc.ca \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox