User Tools

Site Tools


stfraspi-en

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

#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 &

2.th update (CTC/ZBL on raspberry)

3.th update (CTC/ZBL on raspberry)

In Entwicklung
under construction




stfraspi-en.txt · Last modified: 2018/11/12 08:56 (external edit)