#1726: kernel panic when using wpa_supp AND hostapd/another wpa_supp in a bridge
-----------------------------+----------------------------------------------
 Reporter:  [EMAIL PROTECTED]    |             Type:  defect  
   Status:  new              |         Priority:  critical
Component:  madwifi: driver  |          Version:  v0.9.3.3
 Keywords:                   |   Patch_attached:  0       
-----------------------------+----------------------------------------------
 I'm using wrap boards with normal voyage image with 2.6.21-7.mesh and the
 madwifi stable 0.9.3.2 and 0.9.3.3.
 When I try to use a bridge with wpa_supplicant and hostapd at the same
 time, the kernel panics after 10 to 30 minutes. It also happens when I'm
 using two instances of wpa_supplicant at the same time in a bridge.
 The wpa_supplicant alone works perfectly in a bridge with eth0.


 My script

 {{{
         ifconfig br0 down
         brctl delbr br0
 #madwifi neu laden
         rmmod ath_pci
         modprobe ath_pci
 #wifi0 hochfahren als sta
         wlanconfig ath0 create wlandev wifi0 wlanmode sta
         iwconfig ath0 essid strecke1
         ifconfig ath0 0.0.0.0 down
         iwpriv ath0 wds 1
         ifconfig ath0 0.0.0.0 up

         wlanconfig ath1 create wlandev wifi1 wlanmode master
         iwconfig ath1 essid strecke2
         iwconfig ath1 channel 10
         ifconfig ath1 0.0.0.0 down
         iwpriv ath1 wds 1
         ifconfig ath1 0.0.0.0 up
         ifconfig eth0 0.0.0.0 up

 #bridging
         brctl addbr br0
         brctl addif br0 ath0
         brctl addif br0 ath1
         brctl addif br0 eth0
         brctl setfd br0 1
 #bridge hochfahren
         ifconfig br0 192.168.2.122 up

         hostapd -B /etc/hostapd/hostapd.conf
         wpa_supplicant -B -i ath0 -D madwifi -b br0  -c
 /etc/wpa_supplicant/wpa_supplicant.conf

 }}}

 my hostapd.conf

 {{{
 auth_algs=3
 bridge=br0
 ctrl_interface_group=0
 ctrl_interface=/var/run/hostapd
 debug=0
 #deny_mac_file=/etc/hostapd.deny
 driver=madwifi
 dump_file=/tmp/hostapd.dump
 eapol_key_index_workaround=0
 eap_server=0
 interface=ath1
 logger_stdout=-1
 #logger_stdout=--1
 logger_stdout_level=2
 logger_syslog=-1
 logger_syslog_level=2
 macaddr_acl=0
 ssid=strecke1
 wpa=3
 wpa_key_mgmt=WPA-PSK
 wpa_pairwise=TKIP CCMP
 wpa_passphrase=topsecretdude
 }}}

 wpa_supplicant.conf

 {{{
 network={
        scan_ssid=1
        proto=RSN
        key_mgmt=WPA-PSK
        pairwise=CCMP
        group=TKIP
        ssid="strecke1"
        psk="topsecretdude"
  }

 }}}

-- 
Ticket URL: <http://madwifi.org/ticket/1726>
madwifi.org <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets

Reply via email to