-
Notifications
You must be signed in to change notification settings - Fork 83
How to connect to WiFi
Pavel Zhovner edited this page Mar 4, 2018
·
5 revisions
This will automatically enabling all wireless interfaces
$ /etc/init.d/wpa_supplicant start
$ wpa_cli
# Scan wifi networks
> scan
> scan_results
# Create new empty network profile
> add_network
# Set SSID on your network
> set_network 0 ssid "MYSSID"
# For encrypted network
> set_network 0 psk "MyPa$$word123"
# For open network
> set_network 0 key_mgmt NONE
> enable_network 0
> quit
udhcpc -i wlan0
ip addr del 192.168.0.2/24 dev wlan0