Slackware This Forum is for the discussion of Slackware Linux.
|
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
08-21-2007, 02:24 AM
|
#1
|
|
LQ Newbie
Registered: Apr 2006
Posts: 4
Rep:
|
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
Last edited by efranz; 08-22-2007 at 02:36 PM.
Reason: Further analysis of boot process
|
|
|
|
08-21-2007, 02:32 AM
|
#2
|
|
LQ Newbie
Registered: Apr 2006
Posts: 4
Original Poster
Rep:
|
additional info: kernel 2.6.21.5-smp
I used the default kernel (2.6.21.5-smp).
|
|
|
|
05-29-2008, 12:51 AM
|
#3
|
|
LQ Newbie
Registered: May 2008
Posts: 9
Rep:
|
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.
|
|
|
|
05-29-2008, 12:51 AM
|
#4
|
|
LQ Newbie
Registered: May 2008
Posts: 9
Rep:
|
|
|
|
|
05-29-2008, 11:22 PM
|
#5
|
|
LQ Newbie
Registered: Apr 2006
Posts: 4
Original Poster
Rep:
|
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.
|
|
|
|
05-31-2008, 01:17 AM
|
#6
|
|
LQ Newbie
Registered: May 2008
Posts: 9
Rep:
|
Oh yeah that's the instructions in that url. This problem really had me for a while!
|
|
|
|
09-08-2008, 06:28 AM
|
#7
|
|
Member
Registered: Aug 2008
Location: Serbia
Distribution: Slackware64-current
Posts: 34
Rep:
|
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.
Last edited by zeroberto; 09-08-2008 at 06:36 AM.
|
|
|
|
09-08-2008, 10:58 AM
|
#8
|
|
Moderator
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: Slackware®
Posts: 10,349
|
Hi,
Try 'ifconfig -a' to see what is recognized. 'man ifconfig' to get a better understanding.
|
|
|
|
09-08-2008, 11:12 AM
|
#9
|
|
Member
Registered: Aug 2008
Location: Serbia
Distribution: Slackware64-current
Posts: 34
Rep:
|
ifconfig -a gives:
Code:
eth0 Link encap:Ethernet HWaddr 00:0c:29:1b:50:bb
BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:3 errors:0 dropped:0 overruns:0 frame:0
TX packets:7 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:1041 (1.0 KiB) TX bytes:4130 (4.0 KiB)
Interrupt:16 Base address:0x2000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
Last edited by zeroberto; 09-08-2008 at 11:14 AM.
|
|
|
|
09-09-2008, 05:16 AM
|
#10
|
|
Moderator
Registered: Jan 2005
Location: Midwest USA, Central Illinois
Distribution: Slackware®
Posts: 10,349
|
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?
|
|
|
|
09-09-2008, 08:23 AM
|
#11
|
|
Member
Registered: Aug 2008
Location: Serbia
Distribution: Slackware64-current
Posts: 34
Rep:
|
/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.
|
|
|
|
09-10-2008, 01:58 AM
|
#12
|
|
Member
Registered: Aug 2008
Location: Serbia
Distribution: Slackware64-current
Posts: 34
Rep:
|
Solved. I changed bridged to nat in vmware network configuration, and now it works.
|
|
|
|
09-11-2008, 12:10 AM
|
#13
|
|
LQ Newbie
Registered: May 2008
Posts: 9
Rep:
|
I wonder what would happen if you switched back.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 01:52 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|