AP in WEP mode configuration

Mohammed Shafi shafi.ath9k at gmail.com
Tue May 24 05:10:52 EDT 2011


On Mon, May 23, 2011 at 9:42 PM, Liketo talk <foreverfrnd at gmail.com> wrote:
>
> Hi,
> I was trying to setup an AP in WEP mode by using the wpa_supplicant. The
> following is the configuration that I have specified. However, strangely
> this configuration info is not given to the driver at all after I start the
> supplicant. Does anyone know anything that I am missing here? Which file
> handles parsing and setting the key in the supplicant source code?
>
> network={
>    ssid="xxx"
>    key_mgmt=NONE
>    wep_key0=0123456789abcdef0123456789
>    wep_tx_keyidx=0
>  }
>

you try with this making necessary changes in hostapd-0.7.3
also please read hostapd.conf
http://linuxwireless.org/en/users/Documentation/hostapd

interface=wlan58
driver=nl80211
logger_syslog=-1
logger_syslog_level=2
logger_stdout=-1
logger_stdout_level=2
dump_file=/tmp/hostapd.dump
ctrl_interface=/var/run/hostapd
ctrl_interface_group=0
ssid=ath9k-hostapd
hw_mode=g
channel=6
beacon_int=100
dtim_period=2
max_num_sta=255
rts_threshold=2347
fragm_threshold=2346
macaddr_acl=0
auth_algs=1
ignore_broadcast_ssid=0
wmm_enabled=1
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
bssid=00:03:7f:12:2c:67
ieee80211n=1
ht_capab=[HT20]
wep_default_key=0
wep_key0=123456789a

~
~
~


> Regards.
>
> _______________________________________________
> HostAP mailing list
> HostAP at lists.shmoo.com
> http://lists.shmoo.com/mailman/listinfo/hostap
>
>


More information about the HostAP mailing list