Arm-Linux root file system network configuration Summary This article is divided into three points to record some network configuration tips for Embedded Linux root file: 1. Configure static IP for the Development Board: set the auto eth0iface eth0 inet dhcp pre-up/bin/grep-v-e "ip = [0-9] \ + \ in the/etc/network/interface file of the root file system \. [0-9] \ + \. [0-9] \ + \. [0-9] \ + "/proc/cmdline>/dev/null: Change the DHCP configuration of eth0 to static ip: auto eth0iface eth0 inet static address 192.168.1.100 netmask 255.255.255.0 network 192.168.1.0 gateway 192.168.1.1 can be started in static IP Mode. 2. Solution to eth0 change in the NIC name of the file system: (also suitable for copying virtual machine files) each time the root file system is copied, the NIC name suffix must be added with 1, for example, if you copy the root file system eth0 twice, it will become eth2. The reason is that Linux uses an automatic detection mechanism to prevent the same MAC address in the network and changes it to the NIC name. Solution: Modify/etc/udev/rules. d/70-persisten-net.rules file # PCI device 0x1022: 0x2000 (pcnet32) SUBSYSTEM = "net", ACTION = "add", DRIVERS = "? * ", ATTR {address} = "...... ",......, KERNEL = "eth *", NAME = "eth0" # PCI device 0x1022: 0x2000 (vmxnet) SUBSYSTEM = "net", ACTION = "add ", DRIVERS = "? * ", ATTR {address} = "...... ",......, KERNEL = "eth *", NAME = "eth1" # PCI device 0x1022: 0x2000 (vmxnet) SUBSYSTEM = "net", ACTION = "add ", DRIVERS = "? * ", ATTR {address} = "...... ",......, KERNEL = "eth *", NAME = "eth2": Comment out all three lines starting with SUBSYSTEM. # PCI device 0x1022: 0x2000 (pcnet32) # SUBSYSTEM = "net", ACTION = "add", DRIVERS = "? * ", ATTR {address} = "...... ",......, KERNEL = "eth *", NAME = "eth0" # PCI device 0x1022: 0x2000 (vmxnet) # SUBSYSTEM = "net ", ACTION = "add", DRIVERS = "? * ", ATTR {address} = "...... ",......, KERNEL = "eth *", NAME = "eth1" # PCI device 0x1022: 0x2000 (vmxnet) # SUBSYSTEM = "net ", ACTION = "add", DRIVERS = "? * ", ATTR {address} = "...... ",......, KERNEL = "eth *", NAME = "eth2" restart the system Nic and change it to eth0 again. 3. Set the DNS server for the root file system: you only need to go to/etc/resolv. add a line to the conf file (originally blank by default) nameserver DNS server address example: nameserver 202.106.196.115 start/restart/Stop network command:/net/init. d/networking start | restart | stop restart the network to access the Internet through telnet or a browser on the Development Board.