How to enable SSH access in Raspbian

By  •  Raspbian

SSH is installed but not enabled by default in Raspbian. It could easily be enabled with the following steps;

  1. Open Raspberry Pi Software Configuration Tool (raspi-config) from the terminal.

    sudo raspi-config
  2. Select Interfacing Options from the main interface.
  3. Choose P2 SSH in the Interfacing Options menu
  4. Select Yes to enable SSH.
  5. SSH server is now enabled.

How to fix setlocale error in Raspbian

By  •  Raspbian

You’ll get the following error in Raspbian when locale is not properly set.

-bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

You can easily fix this via Raspberry Pi Software Configuration Tool (raspi-config) as in the following example;

  1. Run raspi-config from the command line.

    sudo raspi-config
  2. Choose Localisation Options from the main interface.
  3. Choose Change Locale from the menu.
  4. De-select locales that you don’t need (optional). en_GB.UTF-8 UTF-8 is installed by default and could be removed.
  5. Select en_US.UTF-8 UTF-8 from the list and press Ok.
  6. Select en_US.UTF-8 in the next screen
  7. The selected locales will be generated and you should no longer get the error.

    Generating locales (this might take a while)...
      en_US.UTF-8... done
    Generation complete.