[opensuse-autoinstall] Download failed: /repotada/repomd.xml - [AbstractCommand.cc224]
Hello again, after the first reboot (stage2) I get the following message: Download failed: /repotada/repomd.xml [AbstractCommand.cc224] URI=http://download.opensuse.org/update/11.2/repodata/repomd.xml I found out that this happens because of the misconfigured network device. The network devive is always regogniced as "eth1" after the reboot instead of "eth0". My network config looks like this: <networking> <dhcp_options> <dhclient_client_id></dhclient_client_id> <dhclient_hostname_option>AUTO</dhclient_hostname_option> </dhcp_options> <dns> <dhcp_hostname config:type="boolean">true</dhcp_hostname> <domain>asta.tu-darmstadt.de</domain> <hostname>test</hostname> <resolv_conf_policy>auto</resolv_conf_policy> <searchlist config:type="list"> <search>asta.tu-darmstadt.de</search> </searchlist> </dns> <interfaces config:type="list"> <interface> <bootproto>dhcp4</bootproto> <device>eth0</device> <startmode>auto</startmode> </interface> </interfaces> <managed config:type="boolean">false</managed> <net-udev config:type="list"> <rule> <name>eth0</name> <rule>ATTR{address}</rule> <value></value> </rule> </net-udev> <routing> <ip_forward config:type="boolean">false</ip_forward> </routing> </networking> What's wrong with this? Thanks! Regards, Ivan -- AStA TU Darmstadt IT-Administration Hochschulstr. 1 64289 Darmstadt University of Technology Darmstadt Tel. +49-6151-162217 Fax. +49-6151-166026 -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Le 2010-08-11 08:17, Ivan De Masi a écrit :
I found out that this happens because of the misconfigured network device. The network devive is always regogniced as "eth1" after the reboot instead of "eth0".
I remember that in my initial tests of autoyast and 11.1 I had a similar problem. In my case what happened was that the machine had 2 network interfaces and only 1 was connected. In the initial installation, it was known as eth0 and after it was eth1 (or the other way around). What I ended up doing was to define eth0 and eth1 in my autoyast configuration so the network would be configured correctly either way. After the install, I just delete the interface that's not used. I haven't checked if i'd have the same problem in 11.2 and 11.3, i just assumed i would and did the same. -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Am 11.08.2010 14:33, schrieb Pierre Girard:
Le 2010-08-11 08:17, Ivan De Masi a écrit :
I found out that this happens because of the misconfigured network device. The network devive is always regogniced as "eth1" after the reboot instead of "eth0".
I remember that in my initial tests of autoyast and 11.1 I had a similar problem. In my case what happened was that the machine had 2 network interfaces and only 1 was connected. In the initial installation, it was known as eth0 and after it was eth1 (or the other way around).
I only have one interface on this machine (and also on the machine I created the autoyast.xml). I was wondering if my my config had some specific parameters (like mac-adress) so that autoyast could gess - "OK, this config is only for 'eth0' but I found this other network card so let's give it a new name"...
What I ended up doing was to define eth0 and eth1 in my autoyast configuration so the network would be configured correctly either way.
I will try this.
After the install, I just delete the interface that's not used.
That's what I'm doing actually and then start an update manually :-/ Regards, Ivan -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
On 08/11/2010 07:17 AM, Ivan De Masi wrote:
after the first reboot (stage2) I get the following message:
Download failed: /repotada/repomd.xml [AbstractCommand.cc224] URI=http://download.opensuse.org/update/11.2/repodata/repomd.xml
I found out that this happens because of the misconfigured network device. The network devive is always regogniced as "eth1" after the reboot instead of "eth0".
Long ago, the nvidia ethernet device on my desktop would load with a new MAC address on every boot. (The hardware reported an invalid MAC so the kernel made one up, iirc.) You need to override the auto-generated udev rules which use MAC addresses. For our vmware guest installs in openSUSE 11.1, we used these rules to pin the ethX number to the PCI slot: <networking> <net-udev config:type="list"> <rule> <name>eth0</name> <rule>KERNELS</rule> <value>0000:02:00.0</value> </rule> <rule> <name>eth1</name> <rule>KERNELS</rule> <value>0000:02:01.0</value> </rule> </net-udev> </networking> -- Chris -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
Am 11.08.2010 17:00, schrieb Chris Bandy:
On 08/11/2010 07:17 AM, Ivan De Masi wrote:
after the first reboot (stage2) I get the following message:
Download failed: /repotada/repomd.xml [AbstractCommand.cc224] URI=http://download.opensuse.org/update/11.2/repodata/repomd.xml
I found out that this happens because of the misconfigured network device. The network devive is always regogniced as "eth1" after the reboot instead of "eth0".
Long ago, the nvidia ethernet device on my desktop would load with a new MAC address on every boot. (The hardware reported an invalid MAC so the kernel made one up, iirc.) You need to override the auto-generated udev rules which use MAC addresses.
For our vmware guest installs in openSUSE 11.1, we used these rules to pin the ethX number to the PCI slot:
<networking> <net-udev config:type="list"> <rule> <name>eth0</name> <rule>KERNELS</rule> <value>0000:02:00.0</value> </rule> <rule> <name>eth1</name> <rule>KERNELS</rule> <value>0000:02:01.0</value> </rule> </net-udev> </networking>
-- Chris
Hello, thanks! I commented out / deleted this part <net-udev config:type="list"> <rule> <name>eth0</name> <rule>ATTR{address}</rule> <value></value> </rule> </net-udev> and now the interface is recogniced! Regards, Ivan -- To unsubscribe, e-mail: opensuse-autoinstall+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-autoinstall+help@opensuse.org
participants (3)
-
Chris Bandy
-
Ivan De Masi
-
Pierre Girard