Skip to content

manual/generic/linux/wifi-teminal

Description

Test if WiFi works well from Terminal

Maintainer

OS

  • ubuntu
  • openembedded

Scope

  • functional

Devices

  • hi6220-hikey
  • apq8016-sbc

Steps to reproduce

  • Power on the board and wait till it boots succesfully.
  • To scan for WiFi, run "$ iwlist wlan0 scan"
  • Note ESSID of the access point to connect.
  • If the network is open, run "$ iwconfig wlan0 essid NAME_OF_ACCESS_POINT"
  • If network requires password, run "$ iwconfig wlan0 essid NAME_OF_ACCESS_POINT key PASSWORD"
  • To accquire IP address, run "$ dhclient wlan0"
  • To check if IP address is assigned, run "$ ifconfig wlan0"
  • To check WiFi connection, run "ping www.google.com"