Expert Documentation: Difference between revisions

From GammaSphere DAQ
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
   sudo piserver &
   sudo piserver &


. To add another raspberry pi to be under the control of the piserver,
The piserver window will show up. In this window you can control the 'environment' of the RPs
 
. To add another raspberry pi to be under the control of the piserver, click on the clients on the piserver, then click add. Power off RP your want to add, take out the SD card and power it up again. It should show up with its mac address in the  window where you can enable it. now  cycle the power of the RP again and it should come up as a client of the piserver
 
. To modify the OS of the RPs, click on software in the piserver and then click on the OS. After that the 'shell' is awailable. E.g., to run raspi-config you would type
 
  SUDO_USER=dgs raspi-config
 
where the first part signifies that we change something in the OS for user rpdgs the default user we have on the network booted RPs. For reasons we don't understand, we cannot use the user name 'pi' for a user on these RPs

Revision as of 15:22, March 18, 2022

ANL Digitizer Firmware for Experts

This document presupposes that the reader is already familiar with the overall design of the firmware and associated terminology.

Go back to Advanced User Guides

Go back to Digital Gammasphere and the SBX Upgrade

piserver instructions

. The piserver runs on the Ubuntu machine called piserver1. To start the server: log in on piserver1 and check whether the server is already running (try ps ax | grep piserver| grep -v grep). If it is not and you want to start it, type

 sudo piserver &

The piserver window will show up. In this window you can control the 'environment' of the RPs

. To add another raspberry pi to be under the control of the piserver, click on the clients on the piserver, then click add. Power off RP your want to add, take out the SD card and power it up again. It should show up with its mac address in the window where you can enable it. now cycle the power of the RP again and it should come up as a client of the piserver

. To modify the OS of the RPs, click on software in the piserver and then click on the OS. After that the 'shell' is awailable. E.g., to run raspi-config you would type

 SUDO_USER=dgs raspi-config

where the first part signifies that we change something in the OS for user rpdgs the default user we have on the network booted RPs. For reasons we don't understand, we cannot use the user name 'pi' for a user on these RPs