Umar Qureshey
2010-May-17 20:17 UTC
[Bridge] Hardware requirements for bridging wired+wireless together
Hi, I have been trolling the 'net as well as the archives of this list for quite a while now. I am still unclear on the requirements for getting an Ethernet and Wireless interface to bridge together. Currently, I am working with an esoteric radio that only supports Ad-Hoc and Managed modes. There seemingly is not support for WDS (Wireless Distribution System) on this radio. I have been trying to bridge my eth0 and wlan0 but it doesn't seem to work. Currently, my commands to get the bridge up are: ifconfig eth0 0.0.0.0 ifconfig wlan0 0.0.0.0 brctl addbr br0 brctl addif br0 eth0 brctl setfd br0 1 #BusyBox version of brctl doesn't take 0 as a time parameter so I change it to 1 (sec) ifconfig br0 up wpa_supplicant -Dwext -iwlan0 -bbr0 -c/root/wpa_supplicant.conf Then I try to run udhcpc (DHCP client) on the bridge hoping to get DHCP from the AP/router: # udhcpc -ibr0 -b udhcpc (v1.15.2) started Sending discover... Sending discover... Sending discover... No lease, forking to background What I'd like to inquire is that is WDS support in the firmware/hardware of the radio required to bridge eth0 and wlan0? Any other tips to get the above interfaces to successfully bridge together would be great. Thanks, Umar ********************************************************************** This e-mail is the property of Lantronix. It is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential, or otherwise protected from disclosure. Distribution or copying of this e-mail, or the information contained herein, to anyone other than the intended recipient is prohibited.
Nicolas de Pesloüan
2010-May-18 19:32 UTC
[Bridge] Hardware requirements for bridging wired+wireless together
Umar Qureshey wrote:> Hi, > > I have been trolling the 'net as well as the archives of this list for > quite a while now. > > I am still unclear on the requirements for getting an Ethernet and > Wireless interface to bridge together. > > Currently, I am working with an esoteric radio that only supports Ad-Hoc > and Managed modes. There seemingly is not support for WDS (Wireless > Distribution System) on this radio. > > I have been trying to bridge my eth0 and wlan0 but it doesn't seem to > work. Currently, my commands to get the bridge up are: > > ifconfig eth0 0.0.0.0 > ifconfig wlan0 0.0.0.0 > brctl addbr br0 > brctl addif br0 eth0 > brctl setfd br0 1 #BusyBox version of brctl doesn't take 0 as > a time parameter so I change it to 1 (sec) > ifconfig br0 up > wpa_supplicant -Dwext -iwlan0 -bbr0 -c/root/wpa_supplicant.confI think you forgot to add wlan0 to the bridge: brctl addif br0 wlan0 Nicolas.> Then I try to run udhcpc (DHCP client) on the bridge hoping to get DHCP > from the AP/router: > > # udhcpc -ibr0 -b > udhcpc (v1.15.2) started > Sending discover... > Sending discover... > Sending discover... > No lease, forking to background > > What I'd like to inquire is that is WDS support in the firmware/hardware > of the radio required to bridge eth0 and wlan0? > Any other tips to get the above interfaces to successfully bridge > together would be great. > > Thanks, > Umar > > ********************************************************************** > This e-mail is the property of Lantronix. It is intended only for the person or entity to which it is addressed and may contain information that is privileged, confidential, or otherwise protected from disclosure. Distribution or copying of this e-mail, or the information contained herein, to anyone other than the intended recipient is prohibited. > _______________________________________________ > Bridge mailing list > Bridge at lists.linux-foundation.org > https://lists.linux-foundation.org/mailman/listinfo/bridge >