Ethernet Bridge development
 help / color / mirror / Atom feed
* [Bridge] bridging bluetooth bnep devices with kernel 2.6.6-*
@ 2004-05-13 16:52 Diego Liziero
  2004-05-13 17:28 ` Stephen Hemminger
  0 siblings, 1 reply; 11+ messages in thread
From: Diego Liziero @ 2004-05-13 16:52 UTC (permalink / raw)
  To: bridge

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.


^ permalink raw reply	[flat|nested] 11+ messages in thread

end of thread, other threads:[~2004-05-21 15:59 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-05-13 16:52 [Bridge] bridging bluetooth bnep devices with kernel 2.6.6-* Diego Liziero
2004-05-13 17:28 ` 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

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox