Re: [suse-autoinstall] Two type network adapters problem
Hi Georges, I have had some similar issues with several network cards in the server. And I did not find any autoyast option/function to solve it. The solution I found was a postscript, as you mentionned. Now, if you have only one network card to configure, to can proceed that way: 1- identify the Mac address of the used card 2- identify the module used by this card 3- configure "nameif" to create "your_eth" ... (man nameif :p ) 4- create the ifcfg-your_eth file 5- update /etc/modules.conf with "alias your_eth module" it should bypass your issue with the eth number that can depend on the other modules loaded. In case you are relunctant to use nameif... well.. your post script must be a bit more complex.. but it is still possible. :)) hope it will help. Regards, Damien. "george_king" <george_king@ustc.edu> ustc.edu To: 01/04/2004 13:56 "suse-autoinstall" <suse-autoinstall@suse.com> Please respond to cc: george_king Subject: [suse-autoinstall] Two type network adapters problem ------------------------------------------------------------------------------------------------------------------------------------------------- Hi, I encounter a problem when I use autoyast to install a machine with two type network adapters. The target machine have two types of network adapter. Since the number of network adapters is not fixed, I can not tell autoyast xml file how many network interface should be configured. I write a post-install script to config the network adapter used for network install. What I do is 1) add alias to modules.conf 2) add ifcfg-eth? files. The way can work in most of cases. But in follow case, it fail -- during installation, autoyast find three interface eth0 3c59x eth1 3c59x eth2 e100 -- It is for network install. My script will add "alias eth2 e100" to modules.conf. When the system reboot, it can not bring up e100 network adapter. I can make it work by change "eth2" to eth0 . It seems that kernel think e100 is "eth0" because 3c59x was not loaded. Since network type and network adapter number is not fixed, i can not make my script to config all found network adapters. Does autoyast xml can probe all found network adapter and make configuration for all of them? If so, what shall we do? -- USTC Alumni Email System
participants (1)
-
damien.selles@eu.effem.com