From: Diego Liziero <liziero.diego@unimore.it>
To: bridge@lists.osdl.org
Subject: [Bridge] bridging bluetooth bnep devices with kernel 2.6.6-*
Date: Thu, 13 May 2004 18:52:16 +0200 [thread overview]
Message-ID: <1084467136.3083.27.camel@igno> (raw)
It seems that switching from 2.4.x to 2.6.x
caused the bridge of more than a bnep (Bluetooth)
device to stop to work.
Details on this kind of bridging at:
http://www.cs.ucla.edu/~cclljj/interest/notes/bluez/pand_bridge_nap.html
Note that the MAC address of all these devices is the same,
as they belong to the same bluetooth device.
# ifconfig bnep0
bnep0 Link encap:Ethernet HWaddr 00:02:72:80:1B:3B
inet6 addr: fe80::202:72ff:fe80:1b3b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:537 errors:0 dropped:0 overruns:0 frame:0
TX packets:138 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:69267 (67.6 KiB) TX bytes:24779 (24.1 KiB)
# ifconfig bnep1
bnep1 Link encap:Ethernet HWaddr 00:02:72:80:1B:3B
inet6 addr: fe80::202:72ff:fe80:1b3b/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:14 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:5094 (4.9 KiB) TX bytes:356 (356.0 b)
What I did is:
# brctl addbr pan0
# ifconfig pan0 192.168.111.1
# brctl setfd pan0 0
# brctl stp pan0 disable
# brctl addif pan0 bnep0
# ifconfig bnep0 0.0.0.0
And the first bluetooth link works fine,
but when I try to add a second link I get:
# brctl addif pan0 bnep1
can't add bnep1 to bridge pan0: File exists
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
if I try to remove bnep1:
# brctl delif pan0 bnep1
device bnep1 is not a slave of pan0
With kernel 2.4.x instead everything works.
Any suggestion?
Regards,
Diego.
next reply other threads:[~2004-05-13 16:52 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-05-13 16:52 Diego Liziero [this message]
2004-05-13 17:28 ` [Bridge] bridging bluetooth bnep devices with kernel 2.6.6-* Stephen Hemminger
2004-05-13 18:15 ` Diego Liziero
2004-05-13 18:19 ` Stephen Hemminger
2004-05-14 9:27 ` Diego Liziero
2004-05-17 10:02 ` Diego Liziero
2004-05-18 22:33 ` Stephen Hemminger
2004-05-19 9:34 ` Diego Liziero
2004-05-18 22:36 ` Stephen Hemminger
2004-05-19 17:00 ` [Bluez-devel] " David Woodhouse
2004-05-21 15:59 ` [Bridge] locking Rajashekhar Mansanpally
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=1084467136.3083.27.camel@igno \
--to=liziero.diego@unimore.it \
--cc=bridge@lists.osdl.org \
/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