Ethx

From XApple
Jump to: navigation, search

How to fix the eth number

In general speaking, the eth(x) should be fixed if the network interface card (chip) is pre-defined associated MAC address. The network functions will be enabled with corresponding MAC address and run networking applications such as Internet browsing, FTP and so on.

In the case of the board without any pre-defined associated MAC address, the eth(x) may change everytime you reboot the system. You can refer one kind of workaround actions here to this problem.

Howto avoid dynamic Ethernet interface name eth(x)

Issue description': While system is rebooted, the Ethernet interface name will be changed, e.g. from eth0 to eth1, eth2, etc. because system does not get one fixed MAC address. That is annoying because the network connection will not be functioning properly.

Here is a workaround to fix the address and the interface name even after the system has been rebooted.

	mkdir -p /config
	ifconfig eth | awk '{ print $5 }' | head -1 > /config/mac_address.bin

Then, reboot the system.

Ethernet Connection and NTP

Meanwhile, for the Debian or Ubuntu images, you can launch Ethernet connection with the following procedures.

Make sure the IP address is properly set. A simple method for this purpose is to apply the network setting from a DHCP server as below. (Eth0 is assumed here.)

$ sudo su
# dhclient eth0

Install the network manger package.

# apt-get install network-manager-gnome  

For web browser, you will need to install NTP for security check purpose.

# apt-get install ntp
Personal tools
Namespaces

Variants
Actions
Navigation
Tools