BoltGATE 20-25 User Manual Rev. 1-1
10 How to Access the Interfaces Under Linux
10.12 Ethernet
The BoltGATE 20-25 exposes the Ethernet ports as follows:
l
ETH 1:
enp4s0
(default configuration: DHCP client)
l
ETH 2:
enp3s0
(default configuration: 172.16.0.1 Static IP address)
To know the IP address of enp3s0, enter the following command:
#know the IP address of enp3s0
ifconfig
Example output:
enp3s0
Link encap:Ethernet HWaddr 00:e0:c7:09:ac:e5
inet6 addr: fe80::2e0:c7ff:fe09:ace5/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:80 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:9820 (9.5 KiB) TX bytes:648 (648.0 B)
10.13 Odometer
The odometer is a 16-bit counter.
You can read the odometer ticks in two ways, A or B:
A. Enter the following command:
cat /sys/bus/usb/devices/1-5.3:1.0/odometer_ticks
This command returns the the odometer ticks.
NOTE: Two consecutive readings may be not monotonous.
B. Enter the following command:
cat /sys/bus/usb/devices/1-5.3:1.0/odometer_clear
This command returns the the odometer ticks and sets the counter to 0.
81 / 102
Содержание BoltGATE 20-25
Страница 4: ...This page has been intentionally left blank...
Страница 12: ...This page has been intentionally left blank...
Страница 14: ...This page has been intentionally left blank...
Страница 16: ...This page has been intentionally left blank...
Страница 24: ...This page has been intentionally left blank...
Страница 48: ...This page has been intentionally left blank...
Страница 66: ...This page has been intentionally left blank...
Страница 86: ...This page has been intentionally left blank...
Страница 92: ...This page has been intentionally left blank...
Страница 94: ...This page has been intentionally left blank...
Страница 98: ...This page has been intentionally left blank...
Страница 101: ...BoltGATE 20 25 User Manual Rev 1 1 Notes NOTES 101 102...