Difference between revisions of "Linux Commands On Pi"
Jump to navigation
Jump to search
Russ hensel (talk | contribs) |
Russ hensel (talk | contribs) |
||
Line 18: | Line 18: | ||
* editing in gui leafpad file_name, or if protected sudo leafpad file_name | * editing in gui leafpad file_name, or if protected sudo leafpad file_name | ||
* editing with no gui use nano same as above but a bit clunky, ctrl prefix to commands | * editing with no gui use nano same as above but a bit clunky, ctrl prefix to commands | ||
− | |||
− | |||
== Config Files == | == Config Files == | ||
− | == interfaces == | + | === interfaces === |
<pre> | <pre> | ||
Line 31: | Line 29: | ||
</pre> | </pre> | ||
− | == Keyboard == | + | === for Keyboard === |
<pre> | <pre> | ||
Line 39: | Line 37: | ||
</pre> | </pre> | ||
− | == wpa_supplicant.conf == | + | == for WiFi wpa_supplicant.conf == |
− | |||
<pre> | <pre> |
Revision as of 16:43, 8 December 2016
Contents
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
Editing
- editing in gui leafpad file_name, or if protected sudo leafpad file_name
- editing with no gui use nano same as above but a bit clunky, ctrl prefix to commands
Config Files
interfaces
# sudo leafpad /etc/network/interfaces
for Keyboard
# sudo leafpad /etc/default/keyboard XKBLAYOUT="us"
for WiFi wpa_supplicant.conf
# for info sudo iwlist wlan0 scan
Go to the bottom of the file and add the following:
# sudo leafpad /etc/wpa_supplicant/wpa_supplicant.conf # at bottom of file # ok to have 2 network={ ssid="The_ESSID_from_earlier" psk="Your_wifi_password" network={ ssid="The_ESSID_from_earlier" psk="Your_wifi_password" }