This is an old revision of the document!
Table of Contents
update to Raspberry-Pi B+
some useful linux commands
einige nützliche Linux Befehle
#Zeit manuell einstellen
Monat_Tag_Stunden_Minuten_Jahr
sudo date "1510123016"
#serielle Schnittstelle für Benutzer öffnen
sudo usermod -a -G dialout stefan
#USB-Ports - Strom erhöhen
in der config.txt eine Wert max_usb_current=1 eintragen
#Daemon-Skript bearbeiten
su gedit
sudo gedit
sudo kate
#Daemon-Skript kopiern vom Stammverzeichnis
cd /home/
su
cp rocraild /etc/init.d/
#Dienst installieren und deinstallieren
#/etc/init.d/rocnetnoded
sudo update-rc.d rocnetnoded defaults
sudo update-rc.d rocnetnoded remove
#/etc/init.d/rocraild
sudo update-rc.d rocraild defaults
sudo update-rc.d rocraild remove
# Dienst manuell stoppen und starten
sudo service ………. stop
sudo service ………. start
modified file: rocraild
# — Start of options —
# Path to Rocrail working directory. Default path is the same as in $rocrail_DIR
WORKDIR=/home/stefan/rocrail/example_test
# alle Weichen inizialisieren
GRUNDSTWEICHEN=-f
# — End of options —
case "$1" in
………….
nohup $rocrail_DIR/rocrail $DEVCHECK -w $WORKDIR -l $LIBDIR -img $IMGDIR $GRUNDSTWEICHEN > $rocrail_DIR/nohup.out 2>&1 &