Sophos UTM 110/120 rev.5: Install debian linux for checking hardware etc.

# Sophos UTM 110/120 rev.5: Install debian linux for checking hardware etc.

- Sophos UTM 110/120 (rev.5)
  - https://www.sophosutmsupport.com/images/pdfs/Sophos_UTM110_120_oien.pdf

![EOgWZdFVUAAK3vP.jpeg](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/67892/3a788fc9-8937-7fb2-e5ce-2e0cbd70eb5d.jpeg)

![EOZ766kU0AIL0CA.jpeg](https://qiita-image-store.s3.ap-northeast-1.amazonaws.com/0/67892/0089c755-df22-43a7-9aa8-8fb86c41c38a.jpeg)

## equipment for operating this device

- VGA & USB keyboard are available

## refs

- https://www.fastvue.co/sophos/blog/re-imagine-sophos-hardware/

## hardware features

- amd64 architecture
- 4 x Gbit ethernet and 1 RS-232 console port
- VGA
- HDD storage (320GB)
- 2GB RAM
- USB is configured as a boot device rather than HDD

## install direction

### 1. download debian netinstall iso and write to USB mem stick

- https://cdimage.debian.org/debian-cd/10.2.0/amd64/iso-cd/

```:exaple
sudo dd if=debian-10.2.0-amd64-netinst.iso of=/dev/rdisk3
```

### 2. connect VGA & USB K/B and power on

- connection for internet, LAN cable to eth3
    - debian detects eth3 port as a lower number of NIC "enp2s0".
- attach USB mem stick

### 3. Follow the install instructions as usual :)

## several checks for device

```
hirofumi@debian:~$ uname -a
Linux debian 4.19.0-6-amd64 #1 SMP Debian 4.19.67-2+deb10u2 (2019-11-11) x86_64 GNU/Linux
```
```
hirofumi@debian:~$ df -h
Filesystem      Size  Used Avail Use% Mounted on
udev            978M     0  978M   0% /dev
tmpfs           199M  3.0M  196M   2% /run
/dev/sda1       291G  1.3G  275G   1% /
tmpfs           993M     0  993M   0% /dev/shm
tmpfs           5.0M     0  5.0M   0% /run/lock
tmpfs           993M     0  993M   0% /sys/fs/cgroup
tmpfs           199M     0  199M   0% /run/user/1000
```
```
hirofumi@debian:~$ lsblk
NAME   MAJ:MIN RM   SIZE RO TYPE MOUNTPOINT
sda      8:0    0 298.1G  0 disk
├─sda1   8:1    0 296.1G  0 part /
├─sda2   8:2    0     1K  0 part
└─sda5   8:5    0     2G  0 part [SWAP]
```
```
hirofumi@debian:~$ lspci
00:00.0 Host bridge: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx DMI Bridge
00:02.0 VGA compatible controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller
00:02.1 Display controller: Intel Corporation Atom Processor D4xx/D5xx/N4xx/N5xx Integrated Graphics Controller
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.1 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 2 (rev 03)
00:1c.2 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 3 (rev 03)
00:1c.3 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 4 (rev 03)
00:1d.0 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.7 USB controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation 82801HM (ICH8M) LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) IDE Controller (rev 03)
00:1f.2 SATA controller: Intel Corporation 82801HM/HEM (ICH8M/ICH8M-E) SATA Controller [AHCI mode] (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
02:00.0 Ethernet controller: Intel Corporation 82583V Gigabit Network Connection
03:00.0 Ethernet controller: Intel Corporation 82583V Gigabit Network Connection
04:00.0 Ethernet controller: Intel Corporation 82583V Gigabit Network Connection
05:00.0 Ethernet controller: Intel Corporation 82583V Gigabit Network Connection
```
```
hirofumi@debian:~$ lsusb
Bus 003 Device 003: ID 0853:0100 Topre Corporation HHKB Professional
Bus 003 Device 002: ID 0409:005a NEC Corp. HighSpeed Hub
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
```
```
hirofumi@debian:~$ ip a | grep ^[0-9]
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
2: enp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
3: enp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
4: enp4s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
5: enp5s0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
```
```
processor       : 0
vendor_id       : GenuineIntel
cpu family      : 6
model           : 28
model name      : Intel(R) Atom(TM) CPU N450   @ 1.66GHz
stepping        : 10
cpu MHz         : 1106.062
cache size      : 512 KB
physical id     : 0
siblings        : 2
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 10
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe syscall nx lm constant_tsc arch_perfmon pebs bts rep_good nopl cpuid aperfmperf pni dtes64 monitor ds_cpl est tm2 ssse3 cx16 xtpr pdcm movbe lahf_lm dtherm
bugs            :
bogomips        : 3333.07
clflush size    : 64
cache_alignment : 64
address sizes   : 32 bits physical, 48 bits virtual
power management:
```
```
hirofumi@debian:~$ cat /proc/cpuinfo | grep ^processor
processor	: 0
processor	: 1
```
```
root@debian:~# sensors -u
coretemp-isa-0000
Adapter: ISA adapter
Core 0:
  temp2_input: 54.000
  temp2_crit: 100.000
  temp2_crit_alarm: 0.000
```
```
root@debian:~# hddtemp /dev/sda
/dev/sda: HGST HTE725032A7E630: 39°C
```
```
root@debian:~# smartctl --info /dev/sda
smartctl 6.6 2017-11-05 r4594 [x86_64-linux-4.19.0-6-amd64] (local build)
Copyright (C) 2002-17, Bruce Allen, Christian Franke, www.smartmontools.org

=== START OF INFORMATION SECTION ===
Model Family:     Hitachi/HGST Travelstar Z7K500
Device Model:     HGST HTE725032A7E630
Serial Number:    TF640MYR3B3HXM
LU WWN Device Id: 5 000cca 76aef53c8
Firmware Version: GHBOA510
User Capacity:    320,072,933,376 bytes [320 GB]
Sector Sizes:     512 bytes logical, 4096 bytes physical
Rotation Rate:    7200 rpm
Form Factor:      2.5 inches
Device is:        In smartctl database [for details use: -P show]
ATA Version is:   ATA8-ACS T13/1699-D revision 6
SATA Version is:  SATA 2.6, 6.0 Gb/s (current: 3.0 Gb/s)
Local Time is:    Sat Jan 18 04:58:06 2020 JST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
```
```
root@debian:~# cat /proc/meminfo | head -2
MemTotal:        2031668 kB
MemFree:         1586136 kB
```