Changing Network Hardware

Beginning with AstLinux 0.7, the network interface names (ex. eth0, eth1) are 'sticky' with respect the MAC address of the associated network interface. The system file that makes the associations is /etc/udev/rules.d/70-persistent-net.rules . If the file /etc/udev/rules.d/70-persistent-net.rules does not exist on first boot, it will be automatically generated, creating an association very similar to the way AstLinux 0.6 assigned network interfaces.

If you move the file storage (ex. Compact Flash card) to another computer, it is best to remove the /etc/udev/rules.d/70-persistent-net.rules file before moving the file storage.

If you replace a network PCI card, USB network device, etc., edit the /etc/udev/rules.d/70-persistent-net.rules file to reflect the new MAC address.

For example, a clear indication that the /etc/udev/rules.d/70-persistent-net.rules file is not what you expect is when your configuration was using eth0 and eth1, and now for some reason only eth2 and eth3 exist. Either removing or editing the /etc/udev/rules.d/70-persistent-net.rules file should fix the problem, followed by a reboot.

Note: The file is NOT created on some installations as Virtual Machine (e.g. VMWare).