Difference between revisions of "Setup WPA over SSH"

From PiStar Wiki
Jump to navigationJump to search
Line 8: Line 8:
3. Become root
3. Become root
  [email protected](rw):~$ rpi-rw
[email protected](rw):~$ sudo su -
4. Add your WPA settings
4. Add your WPA settings

Revision as of 14:38, 11 May 2017

How-To for setting up WPA over SSH, for those times when the Web Portal just won't work out for you....

1. SSH into your Pi, using the username of 'pi-star' and either the default password of 'raspberry' or your own password if you changed it on the dashboard.

2. make the disk writable with the command 'rpi-rw'

 [email protected](ro):~$ rpi-rw
 [email protected](rw):~$ 

3. Become root [email protected](rw):~$ sudo su - [email protected](rw):~#

4. Add your WPA settings

 [email protected](rw):~# wpa_passphrase ABCABC xyzxyzxyz >> /etc/wpa_supplicant/wpa_supplicant.conf
  • Note that in this case the SSID is 'ABCABC' and the Passphrase is 'xyzxyzxyz'

5. Thats all there is to it, reboot your Pi so that it will take immediate effect

 [email protected](rw):~# reboot