Skip to content

Reset the Sampler via Backdoor

There are times, when the RockPi and the sampler can get out of sync and essentially the comms between the two can get into a state where you cannot recover the sampler with the web application and you need to get in and reset it manually. In order to do this:

  1. First you need to SSH to the RockPi that is connected to the sampler. If you are connected to the local FIDO WiFi Access Point, you can simply run ssh root@10.42.0.1 (you will need a password to do this). I you are not near the instrument, but it is connected to the cloud server, you can ssh to the cloud server first using ssh admin@prod.readinet.org, and then ssh to the instrument using ssh root@fido-00X where fido-00X is the name of the FIDO you are wanting to reset.
  2. Once you are on the RockPi, you want to shut down the web application so that it frees up the serial port. You do this by running systemctl stop readinet-web.
  3. Once the application is shutdown, then you can connect to the serial port and issue command by running picocom -b 115200 /dev/ttyUSB0. This will connect the command line to the serial port.
  4. To reset the sampler, run fido.safe(False,True).
  5. To exit picocom, use Cntl-a, then Cntl-x.
  6. Exit the RockPi by running exit
  7. If you are ssh'd into the cloud server, exit by running exit