Determiningthe IPv4 Addressof the Sensor
1. Opena Terminalwindow onthe hostmachineby pressingCtrl+Alt+T.
2. Usethe ping command todetermine theIPv4 addressof thesensor
Command
ping -4 -c3 [sensor_hostname]
Example
username@ubuntu:~$ ping -4 -c3 os-991234567890.local
Note: If this command hangs you may need to go back and configure you interface to
link-localinthe sectionSetting the Interface to Link-Local Only
Response
PING os-991234567890.local (169.254.0.123) 56(84) bytes of data.
64 bytes from os-991234567890.local (169.254.0.123): icmp_seq=1 ttl=64 time=1.56 ms
64 bytes from os-991234567890.local (169.254.0.123): icmp_seq=2 ttl=64 time=0.893 ms
64 bytes from os-991234567890.local (169.254.0.123): icmp_seq=3 ttl=64
time=0.568 ms
--- os-991234567890.local ping statistics ---
3 packets transmitted, 3 received, 0% packet loss, time 2025ms
rtt min/avg/max/mdev = 0.568/1.008/1.565/0.416 ms
Note: Inthisexample,yoursensorIPv4addressisdeterminedtobe169.254.0.123. Ifyour
sensorIPv4 addressis ofthe form169.254.x.x itis connectedvia link-local.
3. YoucanalsobrowseforthesensorIPv4addressusingavahi-browse andthesensorservicetype,
whichis _roger._tcp. Learnmore aboutthis inFinding a Sensor with mDNS Service Discovery
Command
avahi-browse -lrt [service type]
Example
username@ubuntu:~$ avahi-browse -lrt _roger._tcp
Response
+ eth0 IPv6 Ouster Sensor 991234567890 _roger._tcp local
+ eth0 IPv4 Ouster Sensor 991234567890 _roger._tcp local
= eth0 IPv6 Ouster Sensor 991234567890 _roger._tcp local
hostname = [os-991234567890.local]
address = [fe80::be0f:a7ff:fe00:1852]
port = [7501]
txt = ["fw=ousteros-image-prod-aries-v2.0.0-20200417193957" "sn=99201000067
8" "pn=840-102145-B"]
75