* [gentoo-user] I copied a Gentoo VM and now networking doesn't work.
@ 2007-05-09 7:55 Daevid Vincent
2007-05-09 9:52 ` Boyd Stephen Smith Jr.
2007-05-09 10:37 ` [gentoo-user] " Elias Probst
0 siblings, 2 replies; 4+ messages in thread
From: Daevid Vincent @ 2007-05-09 7:55 UTC (permalink / raw
To: gentoo-user
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.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] I copied a Gentoo VM and now networking doesn't work.
2007-05-09 7:55 [gentoo-user] I copied a Gentoo VM and now networking doesn't work Daevid Vincent
@ 2007-05-09 9:52 ` Boyd Stephen Smith Jr.
[not found] ` <87odkpzufe.fsf@newsguy.com>
2007-05-09 10:37 ` [gentoo-user] " Elias Probst
1 sibling, 1 reply; 4+ messages in thread
From: Boyd Stephen Smith Jr. @ 2007-05-09 9:52 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1294 bytes --]
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. ,= ,-_-. =.
bss03@volumehost.net ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-'
http://iguanasuicide.org/ \_/
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [gentoo-user] I copied a Gentoo VM and now networking doesn't work.
2007-05-09 7:55 [gentoo-user] I copied a Gentoo VM and now networking doesn't work Daevid Vincent
2007-05-09 9:52 ` Boyd Stephen Smith Jr.
@ 2007-05-09 10:37 ` Elias Probst
1 sibling, 0 replies; 4+ messages in thread
From: Elias Probst @ 2007-05-09 10:37 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 682 bytes --]
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"
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: [gentoo-user] Re: I copied a Gentoo VM and now networking doesn't work.
[not found] ` <87odkpzufe.fsf@newsguy.com>
@ 2007-05-14 7:50 ` Daevid Vincent
0 siblings, 0 replies; 4+ messages in thread
From: Daevid Vincent @ 2007-05-14 7:50 UTC (permalink / raw
To: gentoo-user
It had nothing to do with the copying.
It's the annoying udev rules stuff, it freakin' figures out everything else in your system, but the MAC is "static" or something.
Edit this file:
/etc/udev/rules.d/70-persistent-net.rules
Change your MAC to the one that VMWare assigned the VM.
You can find this in the .vmx file (amongst other ways)
> -----Original Message-----
> From: news [mailto:news@sea.gmane.org] On Behalf Of reader@newsguy.com
> Sent: Saturday, May 12, 2007 12:58 PM
> To: gentoo-user@lists.gentoo.org
> Subject: [gentoo-user] Re: I copied a Gentoo VM and now
> networking doesn't work.
>
> "Boyd Stephen Smith Jr." <bss03@volumehost.net> writes:
>
> > 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).
>
> To original poster Daevid Vincent:
>
> I'm curious to know if Boyd's suggestion helped. I had the same
> problem a while back. But since I was experimenting and didn't really
> need the clone I'd made I ditched it. Wondering now if I just needed
> to look for eth1 or higher.
>
> --
> gentoo-user@gentoo.org mailing list
>
>
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2007-05-14 7:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-05-09 7:55 [gentoo-user] I copied a Gentoo VM and now networking doesn't work Daevid Vincent
2007-05-09 9:52 ` Boyd Stephen Smith Jr.
[not found] ` <87odkpzufe.fsf@newsguy.com>
2007-05-14 7:50 ` [gentoo-user] " Daevid Vincent
2007-05-09 10:37 ` [gentoo-user] " Elias Probst
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox