Wifi Test - Geniatech DB202 User Manual

Iot development board
Table of Contents

Advertisement

8.3 WIFI Test

8.3.1 Connect to encrypted WiFi
Execute the
vi /appconfigs/wpa_supplicant.conf
directive for configuration
Press
i
to edit, add the following, and then type
:wq
to save the configuration
network={
ssid="geniatech360"
// Name of the encrypted WiFi in the environment
key_mgmt=WPA-PSK
psk="geniatech1234"
//WiFi password
}
Execute the following command again:
cd /config/wifi/
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib:/lib:/config/wifi
./wpa_supplicant -Dnl80211 -i wlan0 -c /appconfigs/wpa_supplicant.conf -d &
udhcpc -q -i wlan0 -s /etc/init.d/udhcpc.script &
Once you have this printed, type
ifconfig
to see if wlan0 has an IP
Room 02-04, 10/F, Block A, Building 8, Shenzhen International Innovation Valley, Dashi Road, Nanshan District, Shenzhen, Guangdong, China
8
Emai:
support@geniatech.com
Tel: (+ 86) 755 86028588

Advertisement

Table of Contents
loading

Table of Contents