Monday, September 9, 2019

Setting up Raspberry Pi's wifi

To connect to Raspberry Pi wirelessly over Wifi:

ssh to it with USB, then create the file called:  wpa_supplicant.conf in /boot with this contents:

network={
  ssid="NETWORK_NAME"
  psk="NETWORK_PASSWORD"
  key_mgmt=WPA-PSK
}

Then reboot. You can then use putty to ssh to its ip address, or, use Windows' Remote Desktop  to connect to the IP.  My Raspberry Pi's IP was 192.168.1.10

Once you boot up, it will move the wpa_supplicant.conf to /etc/wpa_supplicant/

if you use rndis (usb ethernet) then you connect to :

ssh pi@raspberrypi.local

or

ssh pi@dv-p3

but if you use wireless, then use zenmap to scan port 22 services and connect to pi based on ip:

ssh pi@192.168.1.60


No comments:

Post a Comment