Personal computing discussed

Moderators: SecretSquirrel, notfred

 
flip-mode
Gerbil Khan
Topic Author
Posts: 9325
Joined: Thu May 08, 2003 12:42 pm
Location: Cincinnati, OH

eth0 problem

Sat Jun 13, 2009 10: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:
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?
 
bthylafh
Grand Gerbil Poohbah
Posts: 3692
Joined: Mon Dec 29, 2003 11:55 pm
Location: Southwest Missouri, USA

Re: eth0 problem

Sat Jun 13, 2009 10:59 am

Did you try reinstalling the guest additions?
Hakkaa päälle!
i5-2500K@4.3|Asus P8P67-LE|8GB DDR3-1600|Powercolor R7850 2G|SanDisk Ultra II 480GB|1988 Model M|Saitek X-45|Logitech MX 518 & F310|Dell 2209WA|Sennheiser PC151|Asus Xonar DX
 
shank15217
Gerbil Team Leader
Posts: 236
Joined: Tue Sep 27, 2005 12:09 pm

Re: eth0 problem

Sat Jun 13, 2009 11:38 am

remove the records from "/etc/udev/rules.d/70-persistent-net.rules" and power cycle your VM.
 
flip-mode
Gerbil Khan
Topic Author
Posts: 9325
Joined: Thu May 08, 2003 12:42 pm
Location: Cincinnati, OH

Re: eth0 problem

Sat Jun 13, 2009 12:42 pm

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:
 
just brew it!
Gold subscriber
Administrator
Posts: 44245
Joined: Tue Aug 20, 2002 10:51 pm
Location: Somewhere, having a beer

Re: eth0 problem

Sat Jun 13, 2009 1: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.
The years just pass like trains. I wave, but they don't slow down.
-- Steven Wilson

Who is online

Users browsing this forum: Yahoo [Bot] and 2 guests