Setting up Wi-Fi on Raspberry Pi (command line)
If you're working with a Raspberry Pi, you can attach a Wi-Fi dongle (like this one)
to get wireless access on the device.
To connect to a WPA authenticated wireless network:
$ wpa_cli
> scan
> scan_results
> set_network 0
> set_network 0 ssid "<ssid>"
> set_network 0 psk "<password>"
> enable_network 0
> save_config
# (Ctrl+C to exit)
Note: you need the double quotes.
Written by Anthony Sutardja
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Raspberry pi
Authors
emi420
47.1K
Dave Watts
14.57K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#