You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 9 Next »

TLDR:

  • From the FACET control server, first ssh onto mcclogin, e.g. (the -Y is for x-forwarding):
    ssh smeuren@mcclogin -Y
  • Log onto the pi:
     ssh e320@e320pi -Y
  • Start the GUI:
    python3 ./kim/kim.py

Generalities:

  • Made accessible on the SLAC network (IP assignment) through SLAC IT; this required to give them access and let them "manage" the device; we still have sudo rights. The software modifications ("chef" script") were carried out by E-320 (SLAC_IT_discussion.pdf)
  • The device is shielded from the internet, but we can do software updates and install packages via apt
  • Main purpose: access the Thorlabs motor controller KIM 101 (KIM101-APTManual.pdf), which is connected to the pi via USB

How to reach:

Hardware configuration:

  • cat /proc/meminfo: MemTotal:        3884332 kB
  • lscpu: 4 Cortex-A72, max 1.5 GHz (aarch64, ARM)

Software configuration:

  • lsb_release -a: Ubuntu 20.04.3 LTS

Thorlabs motor controller:

  • Connected via USB (actually, a USB to serial converter internally)
  • Run newport emulator: sudo python3 picoserver.py (need sudo rights to bind to telnet port 23)
  • Connect to telnet: telnet e320pi

Find the USB terminal:

find /sys/bus/usb/devices/usb*/ -name dev (idea taken from: https://unix.stackexchange.com/questions/144029/command-to-determine-ports-of-a-device-like-dev-ttyusb0)

Check status of UFW (firewall):

sudo ufw status verbose

  • ssh: port 22, should be "ALLOW IN"
  • telnet: "sudo ufw allow 23": opens telnet access

Allow access to USB terminal:

sudo usermod -a -G dialout e320





  • No labels