Personal computing discussed

Moderators: renee, SecretSquirrel, notfred

 
flip-mode
Grand Admiral Gerbil
Topic Author
Posts: 10218
Joined: Thu May 08, 2003 12:42 pm

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
Maximum Gerbil
Posts: 4320
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!
i7-8700K|Asus Z-370 Pro|32GB DDR4|Asus Radeon RX-580|Samsung 960 EVO 1TB|1988 Model M||Logitech MX 518 & F310|Samsung C24FG70|Dell 2209WA|ATH-M50x
 
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
Grand Admiral Gerbil
Topic Author
Posts: 10218
Joined: Thu May 08, 2003 12:42 pm

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!
Administrator
Posts: 54500
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.
Nostalgia isn't what it used to be.

Who is online

Users browsing this forum: No registered users and 1 guest
GZIP: On