Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[SOLVED] ERROR: interface eth0 does not exist
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
guinness.stout
Apprentice
Apprentice


Joined: 26 Aug 2006
Posts: 237
Location: Maryland

PostPosted: Fri Jan 03, 2014 6:32 pm    Post subject: [SOLVED] ERROR: interface eth0 does not exist Reply with quote

I've been going through several other posts I found that had this error with no resolution. My problem started when I had 20+ blocked packages. I was attempting to upgrade QT and KDE to the latest in portage, I'd removed several packages when my system froze. I ended up having to power cycle and now net.lo and net.eth0 will not start.

I get the error:

Code:

Bringing up interface eth0
/etc/init.d/net.eth0: line 510: _exists: command not found
ERROR: interface eth0 does not exist
Ensure that you have loaded the correct kernel module for your hard ware
ERROR: net.eth0 failed to start


I get the exact same error for net.lo as well. My kernel drive for my NIC is sky2 which is properly loaded.

ifconfig -a shows eth0 and lo but both appear to be down.


Last edited by guinness.stout on Fri Jan 03, 2014 9:15 pm; edited 1 time in total
Back to top
View user's profile Send private message
patrix_neo
Guru
Guru


Joined: 08 Jan 2004
Posts: 380
Location: Svedala

PostPosted: Fri Jan 03, 2014 7:46 pm    Post subject: Re: ERROR: interface eth0 does not exist Reply with quote

guinness.stout wrote:
I've been going through several other posts I found that had this error with no resolution. My problem started when I had 20+ blocked packages. I was attempting to upgrade QT and KDE to the latest in portage, I'd removed several packages when my system froze. I ended up having to power cycle and now net.lo and net.eth0 will not start.

I get the error:

Code:

Bringing up interface eth0
/etc/init.d/net.eth0: line 510: _exists: command not found
ERROR: interface eth0 does not exist
Ensure that you have loaded the correct kernel module for your hard ware
ERROR: net.eth0 failed to start


I get the exact same error for net.lo as well. My kernel drive for my NIC is sky2 which is properly loaded.

ifconfig -a shows eth0 and lo but both appear to be down.


Hahaha. Sorry. net.lo? You cannot even ping your own machine?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32098
Location: 56N 3W

PostPosted: Fri Jan 03, 2014 8:03 pm    Post subject: Reply with quote

guinness.stout,

Looking in dmesg, can you see eth0 being renamed to something else?

Code:
/etc/init.d/net.eth0: line 510: _exists: command not found
suggests that baselayout, openrc or its splinter package that provides networking is damaged. You should have the sources on your system, so should be able to run
Code:
emerge -1  baselayout, openrc
without needing networking.
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
guinness.stout
Apprentice
Apprentice


Joined: 26 Aug 2006
Posts: 237
Location: Maryland

PostPosted: Fri Jan 03, 2014 8:43 pm    Post subject: Reply with quote

I can ping 127.0.0.1 just fine.

I tried emerge -1 baselayout openrc which seem to run just fine but that did not resolve the issue.
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 32098
Location: 56N 3W

PostPosted: Fri Jan 03, 2014 9:00 pm    Post subject: Reply with quote

guinness.stout,

Try
Code:
emerge netifrc -1av

If you don't already have it, do not emerge it.

The is the networking part of openrc, if your openrc is recent enough to be supplied in two parts.
etc-update may also be required
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
guinness.stout
Apprentice
Apprentice


Joined: 26 Aug 2006
Posts: 237
Location: Maryland

PostPosted: Fri Jan 03, 2014 9:15 pm    Post subject: Reply with quote

I tired etc-update first with -3 option, that fixed my problem. Both interfaces are up and working and I can communicate with the network. Thanks.
Back to top
View user's profile Send private message
patrix_neo
Guru
Guru


Joined: 08 Jan 2004
Posts: 380
Location: Svedala

PostPosted: Fri Jan 03, 2014 10:07 pm    Post subject: Reply with quote

guinness.stout wrote:
I tired etc-update first with -3 option, that fixed my problem. Both interfaces are up and working and I can communicate with the network. Thanks.

Bullocks!
Back to top
View user's profile Send private message
LeeJunFan
n00b
n00b


Joined: 19 Sep 2006
Posts: 18
Location: Holland

PostPosted: Mon Mar 17, 2014 9:56 pm    Post subject: Which files where updated by etc-update? Reply with quote

Does anybody know what exactly was the miracle-work of etc-update?
In other words: Which files were updated by etc-update?
Maybe that'll give me a clue where I have to look for solving this same issue. :(

Thanking you all in advance,

LeeJunFan
_________________
The great mistake is to anticipate the outcome of the engagement; Let nature take it's course, and your tools will strike at the right moment.
Back to top
View user's profile Send private message
krinn
Advocate
Advocate


Joined: 02 May 2003
Posts: 4294

PostPosted: Tue Mar 18, 2014 4:03 am    Post subject: Reply with quote

I think you are having issue with newer udev and the file to keep old scheme ; yep something etc-update won't help you.
But if it's that, answer is in the udev news item.
Back to top
View user's profile Send private message
LeeJunFan
n00b
n00b


Joined: 19 Sep 2006
Posts: 18
Location: Holland

PostPosted: Tue Mar 18, 2014 7:54 am    Post subject: Symlink to net.lo Reply with quote

Typically my bad.
My /etc/init.d/net.enp* were uniq files. (Just a copy of net.lo)
I deleted them and symlinked them to net.lo
Problem solved.
_________________
The great mistake is to anticipate the outcome of the engagement; Let nature take it's course, and your tools will strike at the right moment.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum