Skip to content

wifi client mode examples

Art Nikpal edited this page Feb 19, 2019 · 3 revisions

now to connect to new wifi network

  1. wifi.scan - scan net
                    ESSID:"s1-art.cam2-1.49"
                    Quality:5/5  Signal level:-44 dBm  Noise level:-91 dBm
  1. wifi.config s1-art.cam2-1.49 12345678 - add this ap
  2. wifi.reconfig - reconfig wifi manager or wifi.mode ap now - restart WIFI in client mode if u configured as AP mode
  3. wifi.status - show wifi status
[email protected]:~# wifi.status 
DRIVER=bcmsdh_sdmmc
SDIO_CLASS=00
SDIO_ID=02D0:A9A6
MODALIAS=sdio:c00v02D0dA9A6
[i] iw dev
phy#0
	Interface wlan0
		ifindex 10
		type managed
[i] CLIENT mode active 1465
Selected interface 'wlan0'
bssid=dc:d7:dd:f2:01:31
freq=2462
ssid=s1-art.cam2-1.49
id=12
mode=station
pairwise_cipher=CCMP
group_cipher=CCMP
key_mgmt=WPA2-PSK
wpa_state=COMPLETED
ip_address=172.23.0.153
address=dc:d7:dd:f2:01:2f