Linux Commands On Pi

From OpenCircuits
Jump to navigation Jump to search

Make Sure You are Up to Date


# remember to use >>
sudo apt-get update

sudo apt-get upgrade 

sudo raspi-config     # still works as alternative to command line 




File Related

Config Files

or just edit file

/etc/default/keyboard

and make it

XKBLAYOUT="us"

sudo leafpad /etc/default/keyboard may be protected try with sudo no file is empty

wpa_supplicant.conf


# for info 

sudo iwlist wlan0 scan

then edit 

sudo leafpad /etc/wpa_supplicant/wpa_supplicant.conf

<pre>

Go to the bottom of the file and add the following:

<pre>
network={
    ssid="The_ESSID_from_earlier"
    psk="Your_wifi_password"
}