[opensuse-autoinstall] sles11 and net persistent names
Hi List, i am trying to rename ethdevicesnames with AY while installing over pxe/dhcp/http. Sles11 on a HP DL380 G5 with to internal NIC´s and one additional PCI dual-port NIC. I have 2 cables pluged in, one for dhcplan and one for customerlan. I would have after boot of second stage the dhcplan on eth0 and the customerlan on eth2, because of some initscripts, routes and so on. These are the relevant parts of my networking section: <networking> <interfaces config:type="list"> <interface> <bootproto>static</bootproto> <startmode>auto</startmode> <device>eth2</device> <usercontrol>no</usercontrol> <ipaddr>ipcustom</ipaddr> <netmask>255.255.255.0</netmask> <ethtool_options>autoneg off speed 100 duplex full</ethtool_options> </interface> <interface> <bootproto>static</bootproto> <startmode>auto</startmode> <device>eth0</device> <usercontrol>no</usercontrol> <ipaddr>ipdhcp</ipaddr> <netmask>255.255.255.0</netmask> <ethtool_options>autoneg off speed 100 duplex full</ethtool_options> </interface> </interfaces> <net-udev config:type="list"> <rule> <rule>ATTR{address}</rule> <value>customermac</value> <name>eth2</name> </rule> <rule> <rule>ATTR{address}</rule> <value>dhcpmac</value> <name>eth0</name> </rule> </net-udev> </networking> When i boot up via dhcp i get the dhcprequest over eth2, Installation starts, everything looks good, but after first reboot it goes: Setting up (localfs) network interfaces: lo lo IP address: 127.0.0.1/8 IP address: 127.0.0.2/8 done eth0 device: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12) No configuration found for eth0 unused eth1 device: Broadcom Corporation NetXtreme II BCM5708 Gigabit Ethernet (rev 12) No configuration found for eth1 unused eth2 device: Broadcom Corporation NetXtreme II BCM5706 Gigabit Ethernet (rev 02) eth2 Starting DHCP4 client. . . . . . . . eth2 DHCP4 continues in background waiting eth3 device: Broadcom Corporation NetXtreme II BCM5706 Gigabit Ethernet (rev 02) No configuration found for eth3 unused Waiting for mandatory devices: eth2 __NSC__ 11 10 8 7 6 5 3 2 1 eth2 device: Broadcom Corporation NetXtreme II BCM5706 Gigabit Ethernet (rev 02) eth2 DHCP4 client (dhcpcd) is running eth2 . . . but is still waiting for data waiting eth2 interface could not be set up until now failed Setting up service (localfs) network . . . . . . . . . . failed *** Starting YaST2 *** So for second stage i get no network and yast fails with "cannot access installation media" In the logfile i can see save_network.ycp writes befor the reboot a file ifcfg-eth2 like this: BOOTPROTO='dhcp4' LLADDR=dhcpmac STARTMODE='oneboot' /etc/udev/rules.d/70-persistent-net.rules is configured right by AY. Iam doing something wrong? Or is it not possible to set persistent names with AT? Thanks for help, Stefan -- Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 - sicherer, schneller und einfacher! http://portal.gmx.net/de/go/chbrowser -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
on Monday 18 January 2010 Stefan.Dursch@gmx.de wrote:
These are the relevant parts of my networking section:
this is not relevant in your case. The <networking> configuration happens later. Yast2 ist configuring the network with the data of the XML file in stage2. You don't reach that point currently.
When i boot up via dhcp i get the dhcprequest over eth2, Installation starts, everything looks good, but after first reboot it goes:
so you get a networking config in stage1 but the same config does not work in stage2?
So for second stage i get no network and yast fails with "cannot access installation media" In the logfile i can see save_network.ycp writes befor the reboot a file ifcfg-eth2 like this: BOOTPROTO='dhcp4' LLADDR=dhcpmac STARTMODE='oneboot'
the <networking> section is read from the XML file and configured in the second stage. In your case the installation network can not be started for some reason (it worked in stage1) because the eth2 interface gets no IP address from the dhcp server. Can you see something in the log of the dhcp server? -- ciao, Uwe Gansert Uwe Gansert SUSE LINUX Products GmbH, GF: Markus Rex, HRB 16746 (AG Nürnberg) Business: http://www.suse.de/~ug -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (2)
-
Stefan.Dursch@gmx.de
-
Uwe Gansert