[Gllug] Bridge problems (Ubuntu)

Adrian McMenamin adrian at mcmen.demon.co.uk
Tue Jun 28 20:29:31 UTC 2011


On Tue, June 28, 2011 11:41 am, John Edwards wrote:

> Try something like:
> --------
> # The primary network interface
> auto eth0
> iface eth0 inet manual
>
> # Bridge primary and wireless network interfaces
> auto br0
> iface br0 inet dhcp
>       bridge_ports eth0 wlan0
>       bridge_stp on
> --------
>
> With this you should not need to mess with brctl except when
> debugging.
>
> The only thing I'm not sure about is hostapd. If that allocates
> IP address or routing information then those may need to be given
> to br0 instead of wlan0.
>
Cheers. This appears to work. I am only saying appears because the
wireless bit seems to be having some difficulty but I don't think that is
necessarily the bidge.

I had some problems with my commodity router, but once I fixed them and
ensured br0 was assigned the IP previously given to eth0 it worked.

Anybody a hostap guru? It seems to be up - but I cannot associate with it.
Do I need something in /etc/network/interfaces ?



--
Gllug mailing list  -  Gllug at gllug.org.uk
http://lists.gllug.org.uk/mailman/listinfo/gllug




More information about the GLLUG mailing list