funny behaviour of wpa_supplicant wpa_cli

ulrich.lauther at t-online.de ulrich.lauther
Mon Apr 13 12:18:11 PDT 2009


Hi,

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
ifconfig
/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?

Best,

	-ulrich



More information about the Hostap mailing list