Skip to content
Clark Van Oyen edited this page Aug 18, 2015 · 15 revisions

Also see the Servicing Checklist

Administration

From the user interface, and hit ctrl-alt-f1 to enter the administration prompt. At any time, hit ctrl-alt-f2 to go back to the user interface.

The EM Command

The "em" command is an administration interface, documented [here](EM Command)

Stopping software

em stop

Inspecting disks

To see if all the disks are there with "fdisk -l". Each disk is identified by a device ID, such as /dev/sda, /dev/sdb, or /dev/sdc

Format a new disk

identify your disk first

em format /dev/sda 100

How To Update A Control Box Software Image

Download an image. For example: em-2.2.12.bz

In the office:

  • Format a USB drive to FAT32
  • Copy em-x.y.z file you downloaded to the USB (in this case em-2.2.5)
  • Safe eject

Then on the boat:

  • Insert USB into box
  • Open the shell (ctrl-alt-f1) and sign in
  • mkdir /tmp/usb
  • Determine the drive name of the USB. if data drive, USB is sdc1 if no data drive, USB is probably sdb1. You can run fdisk -l to see all the disk names.

mount /dev/sdc1 /tmp/usb

  • systemctl start boot.mount

  • Then, to install the new image : em upgrade /tmp/usb/em-2.2.5

  • For the Elog you need to add the harvester username and password to em.conf like so. The username can be anything. Password must be their EVTR password. This was done because it’s pretty insecure to store NOAA’s entire password database on every box.

  • then turn off box, pull USB, turn on box.

  • Select the new image : rapidly keep pressing down arrow key until you get GRUB menu, then pick the new version; this now becomes the default image

  • Navigate to the Elog and sign in using the creds you set above. Go to the settings page and enter the operator permit number, names, and vessel permit numbers. it’s good to also set the harvester’s gear presets for them. You can create a test trip for training, and delete it afterwards with the drop down at the top of the trip page.

Adjusting the Screen Resolution

ln -sf /etc/X11/monitor-eonon.conf /var/em/xorg-monitor.conf

How to Change IPs on a Running Box

ip route del default via 10.10.40.254
-or- ip route del default
ip addr del 10.10.40.87 dev eth0
ip addr add <ip address>/24 dev eth0
ip route add default via <gateway ip>/24

Setting the timezone

To list available zones:

timedatectl list-timezones

To set the timezone:

timedatectl set-timezone Zone/SubZone
timedatectl set-timezone America/New_York

Clone this wiki locally