WI-FI: connection through CLI

First, ensure that the computer/sbc has WI-FI parts.

install wpa_supplicant, edit /etc/wpa_supplicant/wpa_supplicant.conf, with ssid & psk.

Then run wpa_supplicant -i wlan0 -c /etc/wpa_supplicant/wpa_supplicant.conf & to connect to the named ssid.

ip a add ipv4-addr

ip r add default gw

posted on 2016-11-27 19:11  三叁  阅读(153)  评论(0编辑  收藏  举报

导航