Advertisement
Guest User

Untitled

a guest
Dec 20th, 2014
188
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.73 KB | None | 0 0
  1. 1. Use an Ethernet cable to connect your Raspberry Pi to the same network as your computer.
  2. 1. Use `nmap` or your router to determine your Raspberry Pi's IP address.
  3. 1. Begin an SSH session from your computer into your Raspberry Pi: `ssh pi@<IP address>`
  4. 1. Use `raspberry` as the default password.
  5. 1. `sudo nano /etc/wpa_supplicant/wpa_supplicant.conf` to look like:
  6.  
  7. ```
  8. ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
  9. update_config=1
  10.  
  11. network={
  12. ssid="<network>"
  13. psk="<password>"
  14.  
  15. proto=WPA
  16.  
  17. key_mgmt=WPA-PSK
  18.  
  19. pairwise=TKIP
  20.  
  21. auth_alg=OPEN
  22. }
  23. ```
  24.  
  25. 1. Save (`Control+O, Enter`) and exit (`Control+X`) nano.
  26. 1. Plugin a CanaKit USB WiFi adapter into your Raspberry Pi.
  27. 1. Reboot your Raspberry Pi: `sudo reboot`.
  28. 1. Unplug the Ethernet cable.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement