Created
April 11, 2017 22:16
-
-
Save Codymatthieu/f24fbe97226c7953fb3d8d27334add12 to your computer and use it in GitHub Desktop.
All from SSH from USB
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1. Document SSH from USB with no network. | |
Command: ssh pi@raspberrypi.local | |
Password: raspberry | |
2. Then login as root user. | |
Command: su root | |
Password: raspberry | |
3. Scan for networks around you: | |
Command: sudo iwlist wlan0 scan | |
4. Now we need to add the WiFi name and password to the wpa_supplicant.conf file. Enter this at the command prompt: | |
sudo nano /etc/wpa_supplicant/wpa_supplicant.conf | |
If the file already has the lines below, just edit them. If not, add them to the bottom of the file: | |
network={ | |
ssid="SSID" | |
psk="WIFI PASSWORD" | |
key_mgmt=WPA-PSK | |
} | |
5. Then reboot from terminal | |
reboot | |
To SSH from network use this Command and IP address: | |
ssh pi@192.168.100.123 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment