-
Notifications
You must be signed in to change notification settings - Fork 3
Servicing
Also see the Servicing Checklist
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 is an administration interface, documented [here](EM Command)
em stop
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
identify your disk first
em format /dev/sda 100
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 -lto 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.
ln -sf /etc/X11/monitor-eonon.conf /var/em/xorg-monitor.conf
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
To view the current timezone:
date
To list available zones:
ls /usr/share/zoneinfo/
To set the timezone (use your timezone based on files in /usr/share/zoneinfo instead of Toronto):
cd /var/em
rm timezone
ln -s /usr/share/zoneinfo/America/Toronto timezone
then typing "ls -l" should show an active link like
timezone -> /usr/share/zoneinfo/America/Toronto
To replace an Amp, you'll need to unplug the box and splice the new one in by following the wire colors. There should be:
- Red - goes to the power terminal (all the yellow wires go there normally). Be careful when opening the power terminal since other wires can come out.
- Blue #1 (with resistor) - the wire which leads into the resistor on the Amp goes to the Arduino output. Splice this into the Wago on the resistor, or add a .1 '' female pin in order to attach to the Arduino.
- Blue #2 (no resistor) - the wire which leads directly into the board, and is blue, goes to the horn output (connector on the side of the box). Splice this one with a Wago probably.