Environment:
Host: macOS Catalina
Raspberry Pi 2 Model B
Raspberry Pi USB WiFi Adapter (I have this one)
- Install Raspberry Pi OS image on an SD card: Used Raspberry Pi Imager rbi-imager for macOS, chose Raspberry Pi OS Lite (32-bit) since I didn’t want the desktop environment - https://www.raspberrypi.org/documentation/installation/installing-images/
- Boot into the Raspberry Pi and login
- Confirm the OS version. Mine is "Raspbian GNU/Linux 10 (buster)"
- Update settings for US. I did I1, then I4, then I3. I think I3 may be the only one I needed for my keyboard to recognize the double-quote key
sudo raspi-config Choose 4 Localisation Options Choose I1 Change Locale => en_US.UTF-8 UTF-8 Choose I3 Change Keyboard Layout => Generic 101-key PC => Other => English (US) (Country of Origin) => English (US) (Keyboard layout) => The default for the keyboard layout => No compose key => Choose I4 Change WLAN Country => US United States sudo reboot
- Configure Raspberry Pi to connect to WiFi
Backup file and copy to your home foldersudo cp /etc/wpa_supplicant/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant.conf.orig cp /etc/wpa_supplicant/wpa_supplicant.conf ~
Add below to the end of the file. I had to add scan_ssid=1 because my SSID is not broadcasting. NOTE: If you have special characters in your password, e.g. double quote I didn't have to escape it but I had to add in key_mgmt=WPA-PSK config attribute (with no quotes).
vi ~/wpa_supplicant.conf network={ ssid="<ssid>" psk="<secret password>" scan_ssid=1 }
Copy updated file backsudo cp ~/wpa_supplicant.conf /etc/wpa_supplicant/wpa_supplicant.conf
Verify if the “inet addr” is available on wlan0ifconfig wlan0
If not, reboot to connectsudo reboot
On reboot, I can see it says “My IP address is XXX.XXX.XX.XXXX”
To verify internet connectivity perform a wgetwget www.google.com
- Enable ssh on Raspberry Pi
sudo raspi-config Choose I5 Interfacing Options Choose P2 SSH => Yes [Didn’t need to reboot]
- Connect to Raspberry Pi via ssh from localhost, update macOS hosts file with Raspberry Pi IP
sudo vi /private/etc/hosts
Added this to bottom of file# raspberry pi XXX.XXX.XX.XXXX csrp
ssh to the Raspberry Pi
ssh pi@csrp
- Shutdown the Raspberry Pi
sudo halt
cat /etc/os-release
supreme
ReplyDeletebalenciaga sneakers
supreme clothing
nike lebron 15
moncler
golden goose outlet
balenciaga
yeezy shoes
yeezy shoes
supreme hoodie