> auto br0
> 
> iface br0 inet static
>         address 192.168.0.4
>         network 192.168.0.0
>         netmask 255.255.255.0
>         broadcast 192.168.0.255
>         gateway 192.168.0.100
>         bridge_ports eth2 eth0

That's ok, but then if you are using those ports there you don't need any of
this:

> iface eth0 inet static
>         address 192.168.0.18
>         netmask 255.255.255.0
>         network 192.168.0.0
>         broadcast 192.168.0.255
> 
> iface eth2 inet static
>         address 192.168.0.19
>         netmask 255.255.255.0
>         network 192.168.0.0
>         broadcast 192.168.0.255
>         wireless_mode managed
>         wireless_essid myESSID
>         wireless_channel 1
>         wireless_key 1234...

In fact, as eth0 and eth1 don't have an auto on their definition I assume
they are not configured, unless the hotplug system does so because of some
other lines on your config.

If you want to have a bridge interface configure it, and add to it whatever
ports you need, and if some of those ports need some preconfig, then you
must do so on a pre-up command on your bridge definition. This would be
something like...

auto br0

iface br0 inet static
        address 192.168.0.4  
        network 192.168.0.0  
        netmask 255.255.255.0  
        broadcast 192.168.0.255
        gateway 192.168.0.100
        bridge_ports eth2 eth0
        pre-up iwconfig eth2 mode managed essid myESSID channel 1 key 1234...

I have not tested this right now, but if I didn't get any mistakes on the
syntax that should work, you can even have several pre-up lines with
different iwconfig commands or whatever you need for your card.

I believe that's the best way to do what you want, even though there are
other ways, try that and let us know how that went so that we can close this
bug.

Regards...
-- 
Manty/BestiaTester -> http://manty.net


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to