Sunday, March 16, 2008

SLES 10 SP1 Network interface configuration "peculiarity"

The network interface configuration files in SLES 10 SP1 is located in /etc/sysconfig/network directory. For every interface, there exist a ifcfg-XXX configuration file, where the XXX denotes the interface name as seen by the system from /sys file system. This is where the problem comes. Because I've upgraded my kernel and udev manually, the system cannot initialize the eth0 (RTL8189) interface correctly because its configuration file is written as ifcfg-eth-bus-pci-0000:05:00.0 whereas it's seen as eth0 by the system. Therefore I have to:

cp -v /etc/sysconfig/network/ifcfg-eth-bus-pci-0000:05:00.0 /etc/sysconfig/network/ifcfg-eth0

to make eth0 configuration activated upon boot. This is quite annoying because I have to look for it for about a day or so.
Post a Comment