User Tools

Site Tools


atmos:citation:instruments:raspberrypi_setup:home

This is an old revision of the document!


Intial Raspberry Pi Setup Instructions

1. Change the hostname to TIMMS-SN00XXX.

Example for TIMMS with a serial number SN00200 in the command line use “sudo vi /etc/hostname TIMMS-SN00200” without parentheses “sudo vi etc/hostname TIMMS-SN00200”.

  1. Alternate Method:
    1. use command “sudo raspi-config”
    2. select “System Options”
    3. select “Hostname”
    4. Follow prompts and reboot (You will be prompted to do so.)
    5. After reboot, you can check that the hostname changed with the command “hostname” , which will return the hostname of your Raspberry Pi

2. Update the base raspberry pi software

- Use the command “sudo apt-get update” to check available updates then “sudo apt upgrade” to perform the updates. Example: sudo apt-get update

  1. Uninstall:
    1. type command “sudo apt-get remove anydesk” into command line to uninstall
    2. type command “sudo apt-get purge anydesk”
    3. type command “sudo apt-get autoremove
    4. type command “sudo apt-get clean”
  2. Reinstall: go to link and download for Raspberry Pi, then go to your file directory under “Downloads” and right click on the anydesk zip file to install
    1. Note: It may ask you for a password. If it does, reset your password in command line using command “sudo passwd” and then reboot with “sudo reboot”. Then, try to install again.
  3. When you first try to open a session of this desktop on another device, you may get a message saying “remote display server is not supported.” If this occurs, you will have to switch from running your session on Wayland to X11.
    1. sudo raspi-config
    2. select “Advanced Options”
    3. select “Wayland”
    4. switch to X11
    5. select finish
    6. reboot when prompted
  4. There is a small chance that the AnyDesk ID Address your computer is assigned is the same as another computer, which will cause it not to work. You can check at the Computer Access Google Sheet (Ask Dr. Delene for access). If this occurs, type the command:
    1. sudo apt-get remove anydesk
    2. Next, open your file tree and go to /etc/anydesk.
    3. Copy the file path of the file labeled “service.conf”
    4. Back in the terminal, enter “sudo rm XXX” and paste the file path you just copied in place of XXX.
    5. Reinstall as stated above; there should now be a new AnyDesk ID Address.

4. Set Password to standard password (if you don't know the standard password ask Dr. Delene). 5. Add the sourceforge ADPAA repository to the raspberry pi home directory.

6. Set up the DAQ HATS (If applicable) 7. Setup crontab to reboot each day. See https://forums.raspberrypi.com/viewtopic.php?t=126106

  1. sudo su (Become Root)
  2. put in crontab using crontab -e
    1. 0 0 * * * /sbin/reboot
  3. Reboot should set to 00:00Z.
  4. Daily rsync should be set to 00:01Z

If setting up USB connections to raspberry pi that will be rebooting daily make sure to assign specific names to the USB's so they don't swap names after reboot. To do this follow the steps in the provided link https://www.freva.com/assign-fixed-usb-port-names-to-your-raspberry-pi/

After these steps are done move onto setting up the camera depending on which type of camera is being used back on the main tripod page

atmos/citation/instruments/raspberrypi_setup/home.1764633068.txt.gz · Last modified: 2025/12/01 23:51 by ashley.vos