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>
autoneg off speed 100 duplex full
</interface>
<interface>
<bootproto>static</bootproto>
<startmode>auto</startmode>
<device>eth0</device>
<usercontrol>no</usercontrol>
<ipaddr>ipdhcp</ipaddr>
<netmask>255.255.255.0</netmask>
autoneg off speed 100 duplex full
</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