eth0 problem

Where Penguins and Daemons chill together in the warmth of the Sun.

Moderators: SecretSquirrel, notfred

eth0 problem

Postposted on Sat Jun 13, 2009 9:26 am

I'm using Virtual Box
Today, I moved my ubuntu virtual machine's disk off of my OS drive to my files drive. I deleted the old virtual machine and created a new one pointing to the relocated virtual disk.
Everything started up just fine. Except for eth0.

I tried a '/etc/init.d/networking restart' and it gives me this message:
Code: Select all
eth0: ERROR while getting interface flags: No such device
There is already a pid file /var/run/dhclient.eth0.pid with pid0
-----some irrelevant stuff omitted ----
SIOCSIFADDR: No such device
eth0: ERROR while getting interface flags: No such device
eth0: ERROR while getting interface flags: No such device
Bind socket to interface: No such device
Failed to bring up eth0.


I tried shutting down, removing the bridged adapter and using no adapter, starting up, the restarting and putting the bridged adapter back, but no dice, no change in behavior.

Should I try deleting that pid file?

Any thoughts on how to fix this?
flip-mode
Gerbil Khan
Silver subscriber
 
 
Posts: 9068
Joined: Thu May 08, 2003 11:42 am
Location: Cincinnati, OH

Re: eth0 problem

Postposted on Sat Jun 13, 2009 9:59 am

Did you try reinstalling the guest additions?
Think for yourself, schmuck!
i5-2500K@4.3|Asus P8P67-LE|8GB DDR3-1600|Powercolor R7850 2G|1.5TB 7200.11|1988 Model M|Saitek X-45 & P880|Logitech MX 518|Dell 2209WA|Sennheiser PC151|Asus Xonar DX
bthylafh
Grand Gerbil Poohbah
 
Posts: 3072
Joined: Mon Dec 29, 2003 10:55 pm
Location: Southwest Missouri, USA

Re: eth0 problem

Postposted on Sat Jun 13, 2009 10:38 am

remove the records from "/etc/udev/rules.d/70-persistent-net.rules" and power cycle your VM.
shank15217
Gerbil Team Leader
 
Posts: 236
Joined: Tue Sep 27, 2005 11:09 am

Re: eth0 problem

Postposted on Sat Jun 13, 2009 11:42 am

Dayum shank! Flawless victory.

bthylafh, thanks much for the response. I don't have guest additions installed yet. I don't even know what they do :oops:
flip-mode
Gerbil Khan
Silver subscriber
 
 
Posts: 9068
Joined: Thu May 08, 2003 11:42 am
Location: Cincinnati, OH

Re: eth0 problem

Postposted on Sat Jun 13, 2009 12:40 pm

Guest additions give you better integration with your host system. Automatic mouse capture/release when you move the mouse in/out of the VM window, better video performance, automatic resizing of the VM desktop if you resize the VM window, easier sharing of files between the host and guest system, and maybe a few other features I'm not remembering off the top of my head.
(this space intentionally left blank)
just brew it!
Administrator
Gold subscriber
 
 
Posts: 36917
Joined: Tue Aug 20, 2002 9:51 pm
Location: Somewhere, having a beer


Return to Linux, Unix, and Assorted Madness

Who is online

Users browsing this forum: No registered users and 4 guests