Package: bridge-utils
Version: 1.1-1

Hi,

using ifup works great to initialize both eth0 (LAN) and eth2 (WLAN) on
my system. But I fail to use the bridge mode. The IP address is properly
set as well as the routing table, but the wireless LAN settings such as
ESSID and key are ignored from /etc/network/interfaces.

# ifup br0

Waiting for br0 to get ready (MAXWAIT is 30 seconds).
# iwconfig eth2
eth2      IEEE 802.11b/g  Mode:Auto  Frequency:2.412 GHz
          Access Point: Not-Associated   Bit Rate:0 kb/s   Tx-Power=31 dBm
          Sensitivity=20/200
          Retry min limit:8   RTS thr:2347 B   Fragment thr:2346 B
          Encryption key:off
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

My config:

# cat /etc/network/interfaces
# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# This entry denotes the loopback (127.0.0.1) interface.
auto lo
iface lo inet loopback

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

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...

The following works well:

# ifdown br0
# ifup eth0
# ifup eth2
# brctl addbr br0
# brctl addif br0 eth2
# brctl addif br0 eth0
# route del -net 192.168.0.0/24 eth2
# route del -net 192.168.0.0/24 eth0
# ifconfig br0 192.168.0.4 up
# route add default gw 192.168.0.100 br0

# iwconfig eth2
eth2      IEEE 802.11b/g  ESSID:"myESSID"  
          Mode:Managed  Frequency:2.412 GHz  Access Point: 00:04:0E:69:41:6A   
          Bit Rate:54 Mb/s   Tx-Power=31 dBm   Sensitivity=20/200  
          Retry min limit:8   RTS thr:2347 B   Fragment thr:2346 B   
          Encryption key:1234...   Security mode:restricted
          Link Quality:7  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

PS: /usr/share/doc/bridge-utils/FAQ contains a link to
http://bridge.sourceforge.net/faq.html which does not exist.

Jens


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

Reply via email to