-
Notifications
You must be signed in to change notification settings - Fork 3
EM Command
Clark Van Oyen edited this page May 2, 2015
·
7 revisions
Please note, despite GitHub formatting all commands are actually a single line entered into the terminal.
| Command | Description |
|---|---|
| em –help | gives all commands. |
| fdisk -l | finds a disk |
| sfdisk | lists all disks (including boot disk) eg /dev/sda and /dev/sdb |
| em installem /dev/sdb 2.2.2 | Boots from install disk. Sdb needs to be os disk, will be 30gb. 2.2.2 needs to be most recent version of software. |
| em stop | stops em processors, do this before updating software. |
| em resetgps | command for setting up GPS after first time plugged in. |
| em format /dev/sda 111 | Formatting a new disk for use. 111 is number to give to disk |
| Command | Description |
|---|---|
| systemct1 restart em-rec.service | reboots system without turning off. |
| Ctrl alt f1 | closes the user interface |
| Ctrl alt f2 | opens user interface |
| Ctrl alt backspace | RESETS EM sensors from inside user interface |
| Command | Description |
|---|---|
| vi /var/em/em.conf | opens setup file for boat name etc.. Use i to edit. |
| :wq | saves changes to above file |
| cd /mnt | Change directory |
| mkdir usb | make a directory (in this case called usb) |
| mount /dev/sdc1 usb | make the new directory link to usb |
| cd usb | change directory to usb. |
| em flashard 5V | to update the Arduino, where 5V is the arduino type. |
| ping 1.1.1.1 | checks cam connection to network (change IP address as necessary). |
| ls /var/em/data/video | Shows which video is been recorded. Need to get into correct directory, starts in root. |
| cd /var | changes directory to, var = raw data, been recorded to this. Mnt = removable drive, may take a little longer for data to be recorded here. |
| ls –l | Brings up list of files. |
| Type command + head –n 10 | brings up first 10 lines of list. |