Personal tools

PN8M-090T-WiFi

From ICOP tech wiki

Jump to: navigation, search

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

Wifi function test.png