SSH Commands for ORxPi and Lighthouse Software


#1

Over the last year there have been a number of useful Linux commands used to look at various features in ORxPi and Lighthouse software through SSH. I’m sure the PuTTY Windows and Android applications that downloads in the data stream have been available for awhile, but I’ve just discovered them and find them very useful.

Has anyone compiled a command list with explanations? Ken


#2

Not really, but we could start in this thread if you want.

Here’s a few:

Stop/start/restart ONDD process:

sudo /etc/init.d/S90ondd stop
sudo /etc/init.d/S90ondd start
sudo /etc/init.d/S90ondd restart

Stop/start/restart Librarian:

sudo /etc/init.d/S91librarian stop
sudo /etc/init.d/S91librarian start
sudo /etc/init.d/S91librarian restart

Query ONDD internal state: https://wiki.outernet.is/wiki/ONDD_IPC_calls

Get Librarian configuration as it sees it:

# ORxPi
sudo python -m librarian.app --conf /opt/orx/librarian.ini --debug-conf

# Lighthouse
sudo python -m librarian.app --conf /etc/librarian.ini --debug-conf

#3

There is also tjanos useful commands of lsusb (to see the devices connected to the RaspberryPi) and lsmod (to see its Kernels). Ken


#4

Those are generic linux commands. You could write a book on those. And many have. :smile: