EMB-2510 User's Manual
c,Acquires ip:
udhcpc -i wlan0
d, Exit
wpa_cli -i wlan0 terminate
When operating in AP mode:
1, First configure wlan0’s ip addrees
ifconfig wlan0 up
ifconfig wlan0 192.168.0.1 netmask 255.255.255.0
or
ip link set wlan0 up
ip a add 192.168.0.1/24 dev wlan0
2,Set up /etc/hostapd.conf,as the following:
interface=wlan0
ieee80211n=1
ssid=xuechuance //wifi hotspot name