Here is a simple way to connect raspberry pi and ssh into it.
Note: If you are using pi zero, it is assumed that you have a usb wifi adapter connected through the USB port.
Note: If you are using pi zero, it is assumed that you have a usb wifi adapter connected through the USB port.
- Open terminal in boot partition of the SD card.
- Enable SSH:
- $ touch ssh
- Set Wifi Network:
- $ touch wpa_suplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev network={ ssid="YOUR_NETWORK_NAME" psk="YOUR_PASSWORD" key_mgmt=WPA-PSK }
- Line 1 is only for Raspbien stretch. Delete it if you are using Jessie.
- Connect through SSH:
- Insert SD card and boot.
- Find the IP address of the Raspberry Pi by accessing the router.
- e.g. BT uses 192.168.1.254
- $ ssh pi@xxx.xxx.x.xx
- Enter default password: raspberry
- Done!
Comments
Post a Comment