Setting Up A Pi Command Line Only
- Login (username:
pipassword:raspberry) - Run the wizard:
sudo raspi-config - Reset password (1)
- Set hostname (2, N1)
- Setup Wifi (2, N2)
- Enable SSH (5, P2)
- Change timezone (4, I2)
- (alternate method) Connect to WiFI
- Edit the supplicant file:
sudo vi /etc/wpa_supplicant/wpa_supplicant.conf` network={ ssid="testing" psk="testingPassword" } - Reset the interface and test it
wpa_cli -i wlan0 reconfigure ifconfig wlan0
- Edit the supplicant file:
- Fix keyboard layout
sudo vi /etc/defaults/keyboard- Set
XKBLAYOUT="us" - Reboot
- Verify by typing a
" - Updates
sudo apt-get update sudo apt-get upgrade - Install Softwares
sudo apt-get install vim screen tmux sudo update-alternatives --config editor - Install .Net
- Generate new SSH host keys (if you are using an image used by another Pi)
sudo ssh-keygen -b 4096 -h -f /etc/ssh/ssh_host_rsa_key