21.4 Linux
The following steps have been tested on Ubuntu 18.04. The sensor’s hostname is os-991234567890.
local,where991234567890 isthesensor serialnumber.
ConnectingtheSensor
1. Connectthe sensorto anavailableEthernet porton yourhost machineor router.
2. The sensorwill automatically obtain anIP address eitherthrough link-local or DHCP (if precon-
figured)dependingon yournetworkconfiguration.
3. If directly connectingto the hostmachine you mayneed to setyour Ethernet interfaceto Link-
Local Only mode. Thiscan bedone viathe commandline orGUI. Seeinstructions inSetting the
Interface to Link-Local Only
Note: It can take up to 60 seconds to obtain an IP address from the initial power-up of the
sensor.
SettingtheInterfacetoLink-LocalOnly
ViaCommandLine
Command
nmcli con modify [interface_name] ipv4.method link-local ipv4.addresses ""
Example withinterfacename eth0 andIPv4 address"".
username@ubuntu:~$ nmcli con modify eth0 ipv4.method link-local ipv4.addresses ""
Response blank,howeveryoucanverifythechangehasbeenmadewiththeip addr command.
The inet line for the interface eth0 will show the link-local IPv4 address automatically ne-
gotiatedoncethe sensorisreconnectedtothe interface. e.g. 169.254.0.1.
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen
,→1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UP group
,→default qlen 1000
link/ether 00:0c:29:2b:cc:48 brd ff:ff:ff:ff:ff:ff
inet 169.254.0.1/16 brd 169.254.255.255 scope link noprefixroute eth0
valid_lft forever preferred_lft forever
inet6 fe80::be9f:d2a4:4451:3dfe/64 scope link noprefixroute
valid_lft forever preferred_lft forever
73