[gentoo-user] I copied a Gentoo VM and now networking doesn't work.

2007-05-09 Thread Daevid Vincent
I have a Gentoo VM that I've used for years (XP Host. Workstation 5.5.3). Works 
great. 
 
I copied the .vmdk and .vmx files to a new directory called LAMP. I edited 
the .vmx file changing the appropriate paths. Now when
I start the new VM, my networking fails. (I changed nothing inside the linux 
VM).
 
ifconfig eth0 says:
eth0: error fetching interface information: Device not found
 
dmesg | grep says:
pcnet32.c:v1.33.27 blah blah blah
pcnet32.c PCnet/PCI II . and my MAC address 00:0c:29:e8:fd:74
eth0: registered as PCnet/PCI II 79C970A
pcnet32: 1 cards_found.
 
lspci | grep net says:
00:11.0 Ethernet controller: [AMD] blah blah
 
pcnet-diag says it finds the card etc. too.
 
my kernel (2.6.19) is set to CONFIG_PCNET32=y, so I don't load it as a module. 
It seems that the driver is being loaded right? 
What could be the problem?
 
If I load the original Gentoo VM, it works fine. Both are set to NAT.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] I copied a Gentoo VM and now networking doesn't work.

2007-05-09 Thread Boyd Stephen Smith Jr.
On Wednesday 09 May 2007 02:55:42 Daevid Vincent wrote:
 I have a Gentoo VM that I've used for years (XP Host. Workstation 5.5.3).
 Works great.

 I copied the .vmdk and .vmx files to a new directory called LAMP. I
 edited the .vmx file changing the appropriate paths. Now when I start the
 new VM, my networking fails. (I changed nothing inside the linux VM).

 ifconfig eth0 says:
 eth0: error fetching interface information: Device not found

Check for other devices.  udev now establishes persistent network device names 
based on MAC address (unless you add some of your own rules).  It's very 
likely that the MAC address of the virtual device changed, and the new 
device is eth1 (or higher).

This isn't really Gentoo specific.  It's bit me on at least 2 other distros as 
well.  (Mainly due to the network cards in one of my systems being broken 
so that the MAC is randomized by the kernel on each boot.)

This new behavior is odd to me, but in the long run I think it'll improve 
usability of Linux in general.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


pgp7LzQ3nbOPL.pgp
Description: PGP signature


Re: [gentoo-user] I copied a Gentoo VM and now networking doesn't work.

2007-05-09 Thread Elias Probst
On Wednesday 09 May 2007 09:55:42 Daevid Vincent wrote:
 I have a Gentoo VM that I've used for years (XP Host. Workstation 5.5.3).
 Works great.

 I copied the .vmdk and .vmx files to a new directory called LAMP. I
 edited the .vmx file changing the appropriate paths. Now when I start the
 new VM, my networking fails. (I changed nothing inside the linux VM).
 .
 If I load the original Gentoo VM, it works fine. Both are set to NAT.

Take a look at
/etc/udev/rules.d/75-persistent-net-generator.rules
and
/etc/udev/rules.d/70-persistent-net.rules


Regards,
Elias P.

-- 
A really nice number:
09:F9:11:02:9D:74:E3:5B:D8:41:56:C5:63:56:88:C0


signature.asc
Description: This is a digitally signed message part.