[Bulk] Re: Wep not working with hostap for ap mode
Stefano Paris
paris_ste_82
Thu Feb 28 02:03:11 PST 2008
Hello,
I had the same problem using hostapd 0.5.8 and different versions of the
Madwifi driver (among which 0.9.3.3 and 0.9.4). I have been able to
solve this problem setting again the wep key (with iwconfig command)
after having launched hostapd.
Try this procedure:
wlanconfig wlan0 create wlandev wifi0 wlanmode ap
iwconfig ath0 key [1] 2345678901
iwconfig ath0 key [2] s:"vwxyz"
iwconfig ath0 key [3] s:".2.4.6.8.0.23"
iwconfig ath0 key [4] 0102030405060708090a0b0c0d
ifconfig wlan0 up
hostapd -B /etc/hostapd.conf
iwconfig ath0 key [1] 2345678901
iwconfig ath0 key [2] s:"vwxyz"
iwconfig ath0 key [3] s:".2.4.6.8.0.23"
iwconfig ath0 key [4] 0102030405060708090a0b0c0d
iwconfig ath0 key [1]
I think the problem was caused by the interaction between hostapd and
madwifi.
The idea came to me after reading the following ticket on madwifi site:
http://madwifi.org/ticket/932.
With some old version of Madwifi driver it was necessary setting the wep
key before bringing up the wireless interface.
Have someone developed a patch to solve this problem?
Regards,
Stefano
Il giorno gio, 28/02/2008 alle 06.57 +0530, Debasish Garai ha scritto:
> Yes in my enviornment also it always set the Current Transit key to 4.
> Any pointer
>
> On Thu, Feb 28, 2008 at 5:07 AM, Joo Aun Saw <jasaw81 at yahoo.com.au>
> wrote:
> Hello Deba,
>
> I'm having the same problem here. I'm using Madwifi 0.9.4 and
> Hostapd 0.5.9.
>
> After you run hostapd, can you do iwlist wlan0 keys? The
> problem for me is, hostapd always set my Current Transmit Key
> to 4. I don't know if it's the same for you. Hope that gives
> you more clue.
>
> Regards,
> JA
>
>
>
> ----- Original Message ----
> From: Debasish Garai <debasish.garai at gmail.com>
> To: hostap at lists.shmoo.com
> Sent: Thursday, 28 February, 2008 1:37:40 AM
> Subject: Wep not working with hostap for ap mode
>
> Hi
>
> Hostap version 0.6.3
> Madwifi 0.9.4
>
> I did the following steps.
>
>
> 1. Creating wireless vap
> ------------------------
>
> a. wlanconfig wlan0 create wlandev wifi0 wlanmode ap
> b. ifconfig wlan0 up
>
> Hostapd.conf
>
> interface=wlan0
> ssid=debawep
> macaddr_acl=0
> logger_syslog=-1
> logger_syslog_level=2
> logger_stdout=-1
> logger_stdout_level=
> debug=2
> channel=11
> max_num_sta=254
> ap_max_inactivity=300
> beacon_int=100
> hw_mode=g
> country_code=US
> auth_algs=1
> eapol_key_index_workaround=0
> wep_default_key=0
> wep_key0=2345678901
> wep_key1="vwxyz"
> wep_key2=".2.4.6.8.0.23"
> wep_key3=0102030405060708090a0b0c0d
>
>
>
> hostapd -B /etc/hostapd.conf
>
> I am able to connect from a windows xp machine. The machine
> is getting associated but not getting ip address.
> I gave static ip address to the windows machine and tried to
> ping but that is also not working.
>
>
>
> Can anyone tell what is the problem.
>
> Thanks and in advance for your help.
>
> Regards
> Deba
>
>
>
> -----Inline Attachment Follows-----
>
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
>
>
>
>
> ______________________________________________________________
> Get the name you always wanted with the new y7mail email
> address.
>
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
>
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
More information about the Hostap
mailing list