MaaXBoard-Linux-Debian-UM-V1.2
15
3.8 Gigabit Ethernet Interface
Connect the network cable to J13, enter the following instructions to set the IP address:
(The below IP address are example, replace it with your real network environment)
3.8.1 Network Test
After connecting the network cable, MaaXBoard will automatically obtain the IP by default. You can use
the
ifconfig
command to view the IP information and use the following command to perform the network
test:
root@maaxboard:~# ifconfig eth0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.22.126 netmask 255.255.255.0 broadcast 192.168.22.255
inet6 fe80::b093:522a:7bd4:5c15 prefixlen 64 scopeid 0x20<link>
ether 4a:e0:a6:6f:e9:06 txqueuelen 1000 (Ethernet)
RX packets 924 bytes 259139 (253.0 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 928 bytes 74715 (72.9 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
root@maaxboard:~# ping www.baidu.com
3.8.2 Configure IP Via Command Line
To Configure IP address, we can modify the parameter in command line or modify it from the desktop
environment.
3.8.2.1 CONFIGURE STATIC IP
If you need to set a static IP, use
nano
command to modify
/etc/network/interfaces
, add following info
in The primary network interface segment.
auto eth0
iface eth0 inet static
address 192.168.1.139
gateway 192.168.1.1
netmask 255.255.255.0
Execute
sync
after the modification, then reboot the system to make it effect.