Skip to content

Instantly share code, notes, and snippets.

@BenRoe
Last active August 29, 2015 14:08
Show Gist options
  • Save BenRoe/ae38df785867bce5c7bb to your computer and use it in GitHub Desktop.
Save BenRoe/ae38df785867bce5c7bb to your computer and use it in GitHub Desktop.
Raspberry Pi Terminal Snippets

Raspberry Config Programm öffnen

sudo raspi-config

Zeitzone einstellen

sudo dpkg-reconfigure tzdata

nach Updates für Raspbian suchen und installieren

sudo apt-get update && sudo apt-get -y upgrade

Firmware aktualisieren

sudo apt-get install rpi-update
sudo rpi-update

WLAN Verbindun einrichten

to prevent pre-shared key (PSK) disclosure

    sudo chmod 0600 /etc/network/interfaces

interface Datei öffnen

    sudo nano /etc/network/interfaces

in die Datei einfügen

    //auto wlan0
    allow-hotplug wlan0
    iface wlan0 inet dhcp
        wpa-ssid mynetworkname
        wpa-psk mysecretpassphrase

open Raspberry Config Programm

sudo raspi-config

change time zone

sudo dpkg-reconfigure tzdata

update and install all Raspbian packages

sudo apt-get update && sudo apt-get -y upgrade

update to latest Firmware Version

sudo apt-get install rpi-update
sudo rpi-update

setup wifi connection

to prevent pre-shared key (PSK) disclosure

    sudo chmod 0600 /etc/network/interfaces

open interface file

    sudo nano /etc/network/interfaces

add this to interfaces file

    //auto wlan0
    allow-hotplug wlan0
    iface wlan0 inet dhcp
        wpa-ssid mynetworkname
        wpa-psk mysecretpassphrase
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment