Sunday, January 14, 2018

note to self: Raspbian Setup

This is mostly a note to myself to remind me how to setup a new raspbian image.

The initial setup has a number of challenges that this write-up addresses:

  1. Locale and Keyboard as GB
  2. Setting up WiFi
  3. Setting up static IP
  4. General Reminders

Locale and Keyboard

Update Locale to en.US UTF-8.

sudo dpkg-reconfigure locales
sudo dpkg-reconfigure keyboard-configuration
sudo reboot

If keyboard is still not working, try manually editing /etc/default/keyboard and updating XKBLAYOUT to "us".

Wifi

Add to /etc/wpa_supplicant/wpa_supplicant.conf:

network={
    ssid="myWifiSsid"
    psk="myWifiPassword"
}

Then restart network:

sudo /etc/init.d/networking restart

Other Wifi notes

Setting up Static IP.

Setting pi as Access Point

General reminders

sudo apt-get update
sudo apt-get upgrade