lizzard8
May 2nd, 2011, 04:08 PM
Hello people!
Im trying to create a network bridge between a wireless pci interface and the two integrated wired interfaces on the motherboard in ubuntu-server.
This proved to be a lot harder than i thought it would be (or perhaps impossible?).
After installing ubuntu i have eth0, eth1 and wlan0.
I used iwconfig to set up the wireless settings on wlan0 and i can connect to my acces point fine with wlan0 in managed mode.
The problem starts with when i try adding wlan0 to a network bridge.
brctl addif br0 wlan0
can't add wlan0 to bridge br0: Operation not supported
Adding any of the other interfaces to a bridge works fine.
Anyway i figured after some reading that wireless interfaces cannot be bridged in ubuntu for some reason unkown to me. So i tried get around that by installing Madwifi drivers for atheros wifi cards so i could create a wireless network interface that appear as a normal one in the system.
So i tried:
wlanconfig ath0 create wlandev wlan0 wlanmode sta
And i got:
wlanconfig: ioctl: Operation not supported
In windows this is supereasy and works like a charm. So i dont really understand why this isnt possible in ubuntu.
My question would be how am i gonna go about creating a bridge involving one wireless interface?
Ive tried this on both:
ubuntu-10.10-server-amd64
ubuntu-11.04-server-amd64
same results.
Im trying to create a network bridge between a wireless pci interface and the two integrated wired interfaces on the motherboard in ubuntu-server.
This proved to be a lot harder than i thought it would be (or perhaps impossible?).
After installing ubuntu i have eth0, eth1 and wlan0.
I used iwconfig to set up the wireless settings on wlan0 and i can connect to my acces point fine with wlan0 in managed mode.
The problem starts with when i try adding wlan0 to a network bridge.
brctl addif br0 wlan0
can't add wlan0 to bridge br0: Operation not supported
Adding any of the other interfaces to a bridge works fine.
Anyway i figured after some reading that wireless interfaces cannot be bridged in ubuntu for some reason unkown to me. So i tried get around that by installing Madwifi drivers for atheros wifi cards so i could create a wireless network interface that appear as a normal one in the system.
So i tried:
wlanconfig ath0 create wlandev wlan0 wlanmode sta
And i got:
wlanconfig: ioctl: Operation not supported
In windows this is supereasy and works like a charm. So i dont really understand why this isnt possible in ubuntu.
My question would be how am i gonna go about creating a bridge involving one wireless interface?
Ive tried this on both:
ubuntu-10.10-server-amd64
ubuntu-11.04-server-amd64
same results.