PN8M-090T-WiFi
From ICOP tech wiki
Revision as of 10:27, 8 February 2021 by Eveshih0725 (talk | contribs) (Created page with "==Wifi function test== To connect SSID, turn off the wlan0 by the command below first. # ifconfig wlan0 down Connect to the SSID and input the SSID password. # iwconfig...")
Wifi function test
To connect SSID, turn off the wlan0 by the command below first.
# ifconfig wlan0 down
Connect to the SSID and input the SSID password.
# iwconfig wlan0 essid “SSID” key “SSIDPASSWORD”
Turn on the wlan0
# ifconfig wlan0 up
Request IP address from DHCP server.
# udhcpc -i wlan0
Use the PING command to test the network connections.
# ip=$(ifconfig wlan0 | grep “inet addr” | cut -f 1 -d B | sed 's/inet addr:// g');ping -c 5 S $ip www.google.com.tw