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:
- 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 usingssh admin@prod.readinet.org, and then ssh to the instrument usingssh root@fido-00Xwhere fido-00X is the name of the FIDO you are wanting to reset. - 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. - 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. - To reset the sampler, run
fido.safe(False,True). - To exit picocom, use
Cntl-a, thenCntl-x. - Exit the RockPi by running
exit - If you are ssh'd into the cloud server, exit by running
exit