Why does eth0 disappear (on VMware) ?
I have made a fresh (slim) installation of Slackware 12.0 with VMware on my Windows XP notebook. I use only one network interface card on my VMware host (eth0). Everything works fine as expected, but I have a problem when I create a VMware clone from my VMware image.
When I boot the cloned image I have lost the eth0 interface. Restarting with "rc.inet1 start" results in "SIOCADDRT: no such process". ifconfig -a shows the eth0 interface but ifconfig does not because eth0 it is not active. I have seen another thread on this issue (why does eth0 disappear, by nyloc) but could not find any solution. Are there any news or ideas? I now compared the log-files (/var/log/dmesg and /var/log/messages) of both boot processes (original host and cloned host). The only difference is at starting the interfaces in /var/log/messages. In the original host /var/log/messages I find the two lines: - sip logger: /etc/rc.d/rc.inet1: /sbin/ifconfig eth0 192.168.0.5 broadcast 192.168.0.255 netmask 255.255.255.0 - sip kernel: eth0: link up In the cloned hosts /var/log/messages the above two lines are missing, and there is a line instead - sip logger: SIOCADDRT: No such process Why does this process not start from a cloned image? Does anyone have an idea? Or how to repair the situation on the cloned host? Any help highly appreciated! regards Franz |
additional info: kernel 2.6.21.5-smp
I used the default kernel (2.6.21.5-smp).
|
I know this is WAY late, but I had a similar problem with ubuntu and debian, and I found the solution.
I'll post the url in my next post. |
Here's the url:
http://www.twoideas.org/wordpress/category/ubuntu/ |
an even more simple solution
Meanwhile I already use a more simple solution:
Delete delete the file “/etc/udev/rules.d/z25_persistent-net.rules” and reboot the VM. |
Oh yeah that's the instructions in that url. This problem really had me for a while!
|
I removed the /etc/udev/rules.d/70_persistent-net.rules, but it is being created every time I start the VM, and the eth0 is still not visible in ifconfig.
Any hints? I'm using slackware 12.1 on vmware. |
Hi,
Try 'ifconfig -a' to see what is recognized. 'man ifconfig' to get a better understanding. |
ifconfig -a gives:
Code:
eth0 Link encap:Ethernet HWaddr 00:0c:29:1b:50:bb |
Hi,
If that is after the vm boot then the eth0 device is known to the kernel but does not have a IP assigned. What does your '/etc/rc.d/rc.inet1.conf show for the eth0 device. You did run 'netconfig' or physically setup the eth0 in the 'etc/rc.d/rc.inet1.conf' file? |
/etc/rc.d/rc.inet1.conf
Polling for DHCP server on interface eth0: dhcpd: MAC address = 00:0c:29:1b:50:bb and I have to wait half minute until prompt appears. I did a netconfig during the install, and I selected dhcp from the list. |
Solved. I changed bridged to nat in vmware network configuration, and now it works.
|
I wonder what would happen if you switched back.
|
All times are GMT -5. The time now is 05:05 AM. |