funny behaviour of wpa_supplicant wpa_cli

ulrich.lauther at ulrich.lauther at
Mon Apr 13 15:18:11 EDT 2009


I use this script to connect to a wlan router:

wlanconfig ath0 create wlandev wifi0 wlanmode managed
sleep 1
iwconfig ath0 essid WLAN-001F3F68871B rate 54M
sleep 1
ifconfig ath0 up
/usr/local/sbin/wpa_supplicant -iath0 -c
/etc/wpa_supplicant/speedport.conf -B

dhcpcd -d -t 10 ath0
dhcpcd -d -t 30 ath0

This works most of the time, but NOT when I replace the first dhcpcd line
by sleep 10.

Any ideas what's going on?



More information about the HostAP mailing list