#932: madwifi 0.9.2 wep in ad-hoc
----------------------------------+-----------------------------------------
      Reporter:  ksc              |       Owner:        
          Type:  defect           |      Status:  new   
      Priority:  minor            |   Milestone:        
     Component:  madwifi: driver  |     Version:  v0.9.2
    Resolution:                   |    Keywords:        
Patch_attached:  0                |  
----------------------------------+-----------------------------------------
Comment (by ksc):

 SOLVED:
 The solution was to place the "startwep" script AFTER "pre-up wlanconfig
 ..." and changed the line to "pre-up startwep -i ath10". It seems that the
 key must be configured BEFORE bringing the interface up. After I changed
 from...
 {{{
 auto ath10
 iface ath10 inet static
         address 10.17.0.2
         netmask 255.255.255.0
         post-down wlanconfig ath10 destroy
         up /usr/bin/startwep
         pre-up wlanconfig ath10 create wlandev wifi0 wlanmode adhoc
         pre-up iwconfig ath10 essid "myssid" mode Ad-Hoc channel 165 rate
 auto rts off frag off

 }}}
 ... to
 {{{
 auto ath10
 iface ath10 inet static
         address 10.17.0.2
         netmask 255.255.255.0
         post-down wlanconfig ath10 destroy
         pre-up wlanconfig ath10 create wlandev wifi0 wlanmode adhoc
         pre-up /usr/bin/startwep
         pre-up iwconfig ath10 essid "myssid" mode Ad-Hoc channel 165 rate
 auto rts off frag off
 }}}

 it works.

-- 
Ticket URL: <http://madwifi.org/ticket/932>
MadWifi <http://madwifi.org/>
Multiband Atheros Driver for Wireless Fidelity
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Madwifi-tickets mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/madwifi-tickets

Reply via email to