IP address not being assigned from router using udhcpc

GES Ed ges.ed.pk at gmail.com
Mon Oct 19 17:44:55 UTC 2015


Hi,
I'm trying to connect my custom embedded board to an enterprise wifi
network. I'm using FreeRadius version 3.0.10 and a TPLINK router.

The issue is I can successfully connect to a non enterprise , home wifi
network with pre shared key. However When I try to connect to a wifi 802.1X
enterprise network , the Radius server can successfully authenticate me but
I'm not getting an IP address from router.
I'm using udhcpc for getting IP address, it keeps on saying me
"Sending discover .."

I have attached my wpa_Cli based script .

Regards
Waqas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/busybox/attachments/20151019/60d7f9ff/attachment.html>
-------------- next part --------------
wpa_cli -iwlan0 disconnect
for i in `wpa_cli -iwlan0 list_networks | grep ^[0-9] | cut -f1`; do wpa_cli -iwlan0 remove_network $i; done
wpa_cli -iwlan0 add_network
wpa_cli -iwlan0 set_network 0 auth_alg OPEN
wpa_cli -iwlan0 set_network 0 key_mgmt WPA-EAP
wpa_cli -iwlan0 set_network 0 pairwise TKIP
wpa_cli -iwlan0 set_network 0 group TKIP
wpa_cli -iwlan0 set_network 0 proto WPA
wpa_cli -iwlan0 set_network 0 eap PEAP
wpa_cli -iwlan0 set_network 0 identity '"beacon"'
wpa_cli -iwlan0 set_network 0 password '"12345678"'
wpa_cli -iwlan0 set_network 0 phase1 '"peapver=0"'
wpa_cli -iwlan0 set_network 0 phase2 '"MSCHAPV2"'
wpa_cli -iwlan0 set_network 0 mode 0
wpa_cli -iwlan0 set_network 0 ssid '"Redeye"'
wpa_cli -iwlan0 select_network 0
wpa_cli -iwlan0 enable_network 0
wpa_cli -iwlan0 reassociate
wpa_cli -iwlan0 status
iw wlan0 link


Then for IP assigning I use
udhcpc -i wlan0 

Which keeps on saying 
Sending discover ... 


More information about the busybox mailing list