I am trying to bridge a wireless channel with a wired channel (and some KVM tap/tun channels for virtual servers).
/etc/network/interfaces: ------------------------ auto lo iface lo inet loopback auto br0 iface br0 inet static address 192.168.0.113 network 192.168.0.0 netmask 255.255.255.0 broadcast 192.168.0.255 gateway 192.168.0.103 bridge_ports eth0 wlan0 auto wlan0 iface wlan0 inet manual wpa-ssid MySSID wpa-psk MyPlaintextPassword wpa-bridge br0 wpa-debug-level 1 Network picture --------------- Internet wired network | | 192.168.0.103 +---+--------------------------------- --+ | | eth0 | | | | | | | + bridge br0 192.168.0.113 + | | | | | | AP 192.168.0.1 )))))))))))((((((((((((| wlan0 KVM virtual | | Servers | +---------------------------------------+ Without the bridge construction, the wireless connection works 100%. With the bridge I can't get any data through. /var/log/messages ----------------- Apr 1 22:37:28 moezel1 kernel: [369694.657489] br0: port 1(wlan0) entering learning state Apr 1 22:37:28 moezel1 kernel: [369694.657489] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready Apr 1 22:37:32 moezel1 kernel: [369698.917150] br0: port 1(wlan0) entering disabled state Apr 1 22:37:33 moezel1 kernel: [369699.996242] br0: port 1(wlan0) entering learning state Apr 1 22:37:37 moezel1 kernel: [369704.336505] br0: port 1(wlan0) entering disabled state Apr 1 22:37:38 moezel1 kernel: [369705.429951] br0: port 1(wlan0) entering learning state Apr 1 22:37:42 moezel1 kernel: [369709.635362] br0: port 1(wlan0) entering disabled state Apr 1 22:37:43 moezel1 kernel: [369710.641946] br0: port 1(wlan0) entering learning state wpa_supplicant.wlan0.log ------------------------ 1238618337.845705: wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0 1238618337.845726: wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0 1238618337.845739: wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0 1238618337.845751: wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0 1238618337.845764: wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0 1238618337.845777: State: ASSOCIATED -> DISCONNECTED 1238618337.845789: wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT) 1238618337.845799: WEXT: Operstate: linkmode=-1, operstate=5 1238618337.845817: EAPOL: External notification - portEnabled=0 1238618337.845827: EAPOL: SUPP_PAE entering state DISCONNECTED 1238618337.845837: EAPOL: SUPP_BE entering state INITIALIZE 1238618337.845849: EAPOL: External notification - portValid=0 1238618337.845859: EAPOL: External notification - EAP success=0 1238618337.848792: RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) 1238618337.848808: RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added 1238618337.848821: RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) 1238618337.848832: RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added 1238618337.947496: State: DISCONNECTED -> SCANNING 1238618337.947510: Starting AP scan (broadcast SSID) 1238618337.947530: Scan requested (ret=0) - scan timeout 30 seconds 1238618338.850442: RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP]) 1238618338.850481: Wireless event: cmd=0x8c02 len=179 1238618338.850498: Association info event 1238618338.850508: req_ies - hexdump(len=48): 00 06 42 4d 47 56 4c 45 01 08 02 04 0b 16 0c 12 18 24 32 04 30 48 60 6c dd 16 00 50 f2 01 01 00 00 50 f2 04 01 00 00 50 f2 04 01 00 00 50 f2 02 1238618338.850533: resp_ies - hexdump(len=24): 01 08 82 84 8b 96 24 30 48 6c 32 04 0c 12 18 60 dd 06 00 10 18 02 00 f0 1238618338.850551: WPA: set own WPA/RSN IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 04 01 00 00 50 f2 04 01 00 00 50 f2 02 1238618338.850572: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP]) 1238618338.850583: Wireless event: cmd=0x8b15 len=20 1238618338.850593: Wireless event: new AP: 00:c0:49:f0:93:32 1238618338.850605: State: SCANNING -> ASSOCIATED 1238618338.850615: wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT) 1238618338.850626: WEXT: Operstate: linkmode=-1, operstate=5 1238618338.850653: Associated to a new BSS: BSSID=00:c0:49:f0:93:32 1238618338.850663: No keys have been configured - skip key clearing 1238618338.850676: Associated with 00:c0:49:f0:93:32 1238618338.850685: WPA: Association event - clear replay counter 1238618338.850695: WPA: Clear old PTK 1238618338.850705: EAPOL: External notification - portEnabled=0 1238618338.850717: EAPOL: External notification - portValid=0 1238618338.850727: EAPOL: External notification - EAP success=0 1238618338.850737: EAPOL: External notification - portEnabled=1 1238618338.850747: EAPOL: SUPP_PAE entering state CONNECTING 1238618338.850757: EAPOL: SUPP_BE entering state IDLE 1238618338.850795: Setting authentication timeout: 10 sec 0 usec 1238618338.850809: Cancelling scan request 1238618338.850821: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP]) 1238618338.850832: RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added 1238618338.850844: RTM_NEWLINK: operstate=0 ifi_flags=0x11003 ([UP][LOWER_UP]) 1238618338.850855: RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added 1238618339.120200: CTRL-EVENT-TERMINATING - signal 15 received 1238618339.120244: Removing interface wlan0 1238618339.120255: State: ASSOCIATED -> DISCONNECTED 1238618339.120266: wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT) 1238618339.120277: WEXT: Operstate: linkmode=-1, operstate=5 1238618339.120300: wpa_driver_wext_deauthenticate 1238618339.120354: No keys have been configured - skip key clearing 1238618339.120366: EAPOL: External notification - portEnabled=0 1238618339.120378: EAPOL: SUPP_PAE entering state DISCONNECTED 1238618339.120390: EAPOL: SUPP_BE entering state INITIALIZE 1238618339.120402: EAPOL: External notification - portValid=0 1238618339.120412: wpa_driver_wext_set_wpa 1238618339.120424: wpa_driver_wext_set_drop_unencrypted 1238618339.120435: wpa_driver_wext_set_countermeasures 1238618339.120447: No keys have been configured - skip key clearing 1238618339.132852: Removed BSSID 00:c0:49:f0:93:32 from blacklist (clear) 1238618339.132926: Cancelling scan request 1238618339.132938: Cancelling authentication timeout 1238618339.132985: WEXT: Operstate: linkmode=0, operstate=6 1238618421.107120: Initializing interface 'wlan0' conf 'N/A' driver 'wext' ctrl_interface '/var/run/wpa_supplicant' bridge 'br0' 1238618421.107188: Initializing interface (2) 'wlan0' 1238618421.643910: Interface wlan0 set UP - waiting a second for the driver to complete initialization 1238618422.644030: SIOCGIWRANGE: WE(compiled)=22 WE(source)=21 enc_capa=0xf 1238618422.644059: capabilities: key_mgmt 0xf enc 0xf flags 0x0 1238618422.670481: WEXT: Operstate: linkmode=1, operstate=5 1238618422.679497: Own MAC address: 00:90:4b:22:47:cd 1238618422.679515: Receiving packets from bridge interface 'br0' 1238618422.715503: Failed to open l2_packet connection for the bridge interface 'br0' 1238618422.715534: Failed to add interface wlan0 1238618422.715550: State: DISCONNECTED -> DISCONNECTED 1238618422.715565: wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT) 1238618422.715578: WEXT: Operstate: linkmode=-1, operstate=5 1238618422.715603: wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0 1238618422.715624: wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0 1238618422.715639: wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0 1238618422.715655: wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0 I am running Debian Testing, bridge-utils 1.4-5 and wpasupplicant 0.6.4-3. Any ideas to get this to work? (I sent two days without any luck). Thanks, Bob van der Moezel -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

