Thread: hostapd puts only wlan to bridge, if bridge has already a ethX
hello everyone,
i'm configuring new homerouter (ubuntu 11.10 x64). have working lan + wlan bridge lan:
wlan i'm using atheros communications inc. ar9285 wireless network adapter (pci-express) ath9k , hostapd (just simple - works)code:... #### bridge lan auto br-lan iface br-lan inet static address 10.111.1.1 netmask 255.255.255.0 broadcast 10.111.1.255 bridge_ports eth1 wlan0 bridge_fd 0 bridge_stp no ...
okay, want configure wlan guests. extend config in /etc/network/interfaces:my hostapd-config looks like:code:#### bridge guests auto br-guests iface br-guests inet static bridge_ports wlan1 address 10.111.2.1 netmask 255.255.255.0 broadcast 10.111.2.255 network 10.111.2.0as know, bridge interfaces not add wlan0 or wlan1 on startup. hostapd has add wlan0 & wlan1 bridge interfaces therefor.code:ctrl_interface=/var/run/hostapd-phy0 driver=nl80211 wmm_ac_bk_cwmin=4 wmm_ac_bk_cwmax=10 wmm_ac_bk_aifs=7 wmm_ac_bk_txop_limit=0 wmm_ac_bk_acm=0 wmm_ac_be_aifs=3 wmm_ac_be_cwmin=4 wmm_ac_be_cwmax=10 wmm_ac_be_txop_limit=0 wmm_ac_be_acm=0 wmm_ac_vi_aifs=2 wmm_ac_vi_cwmin=3 wmm_ac_vi_cwmax=4 wmm_ac_vi_txop_limit=94 wmm_ac_vi_acm=0 wmm_ac_vo_aifs=2 wmm_ac_vo_cwmin=2 wmm_ac_vo_cwmax=3 wmm_ac_vo_txop_limit=47 wmm_ac_vo_acm=0 tx_queue_data3_aifs=7 tx_queue_data3_cwmin=15 tx_queue_data3_cwmax=1023 tx_queue_data3_burst=0 tx_queue_data2_aifs=3 tx_queue_data2_cwmin=15 tx_queue_data2_cwmax=63 tx_queue_data2_burst=0 tx_queue_data1_aifs=1 tx_queue_data1_cwmin=7 tx_queue_data1_cwmax=15 tx_queue_data1_burst=3.0 tx_queue_data0_aifs=1 tx_queue_data0_cwmin=3 tx_queue_data0_cwmax=7 tx_queue_data0_burst=1.5 hw_mode=g channel=1 country_code=at logger_syslog=127 logger_syslog_level=2 logger_stdout=127 logger_stdout_level=2 ieee80211n=1 ht_capab=[ht20][short-gi-40][dsss_cck-40] ieee80211d=1 interface=wlan0 ctrl_interface=/var/run/hostapd-phy0 wpa_passphrase=passwort auth_algs=1 wpa=2 wpa_pairwise=ccmp ssid=vorhautkrampf beta 2.0 bridge=br-lan wmm_enabled=1 bssid=e0:b9:a5:42:a5:aa ignore_broadcast_ssid=0 bss=wlan1 ctrl_interface=/var/run/hostapd-phy0 wpa_passphrase=passwort auth_algs=1 wpa=2 wpa_pairwise=ccmp ssid=fm4 gaestezimmer bridge=br-guests wmm_enabled=1 bssid=e0:b9:a5:42:a5:ab ignore_broadcast_ssid=0
funny (or bad) thing is, br-guests starts (if check "brctl show") after hostapd loaded, wlan0 added bridge br-lan. @ point have manually adding wlan1 bridge br-guests.
first test:for troubleshooting have made temporary test: after adding physical nic (eth2) bridge br-guests, hostapd adds wlan1 bridge , works fine. must use eth2 net (dmz).![]()
temporary workaround:is not possible add wlan-interface bridge without other bridge_ports?adding in /etc/rc.local "brctl addif br-guests wlan1".
don't know, if solution while searching persistant solution.
bug in ubuntu? (maybe can test it?)
should have configure way?
in advance, maybe has tip me?
cheers,
jogl
Forum The Ubuntu Forum Community Ubuntu Official Flavours Support Networking & Wireless [ubuntu] hostapd puts only wlan to bridge, if bridge has already a ethX
Ubuntu
Comments
Post a Comment