Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No network since update
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
Salem
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2002
Posts: 103
Location: Bayreuth, Germany

PostPosted: Mon May 09, 2011 1:25 pm    Post subject: No network since update Reply with quote

Hello,

since my update yesterday, my network don't work.

Here are the errors:
Code:

./net.eth0 start
* Starting eth0
/etc/init.d/net.eth0: line 253: cd: /net: No such file or directory
ls: cannot access *.sh: No such file or directory
/etc/init.d/net.eth0: line 329: bash_variable: command not found
* no interface module has been loaded
* ERROR: net.eth0 failed to start


The config is still in /etc/conf.d/net

There was a net.fix file in it, i tried it, but didn't help.

./network start does nothing, just "Starting network".

Thanks
_________________
Salem
Back to top
View user's profile Send private message
cyberjun
Apprentice
Apprentice


Joined: 06 Nov 2005
Posts: 293

PostPosted: Mon May 09, 2011 1:31 pm    Post subject: Reply with quote

Hi,
I think this might be related to the baselayout/openrc update. Please refer http://www.gentoo.org/doc/en/openrc-migration.xml

--cyberjun
Back to top
View user's profile Send private message
krinn
Watchman
Watchman


Joined: 02 May 2003
Posts: 7447

PostPosted: Mon May 09, 2011 1:41 pm    Post subject: Reply with quote

openrc migration wrote:
It is critical that you run dispatch-conf and ensure your /etc is up to date before rebooting.
Back to top
View user's profile Send private message
v_andal
Guru
Guru


Joined: 26 Aug 2008
Posts: 529
Location: Germany

PostPosted: Mon May 09, 2011 2:38 pm    Post subject: Reply with quote

In case of network, it is more important to update /etc/conf.d/net file and restore net.eth0 int /etc/init.d directory. All of it is
described in the openrc-migration guide.
Back to top
View user's profile Send private message
d2_racing
Bodhisattva
Bodhisattva


Joined: 25 Apr 2005
Posts: 13047
Location: Ste-Foy,Canada

PostPosted: Tue May 10, 2011 1:11 am    Post subject: Reply with quote

What do you have here :

Code:

# cd /etc/init.d
# ls -la


Do you see any net.eth0 file ?
Back to top
View user's profile Send private message
DNAspark99
Guru
Guru


Joined: 03 Sep 2004
Posts: 321

PostPosted: Tue May 10, 2011 2:13 am    Post subject: Reply with quote

my eth0 disappeared as well.

I had to set the following in /etc/rc.conf to get net.eth0 to actually start at boot (despite net.eth0 being correctly configured otherwise):

rc_depend_strict=YES"
Back to top
View user's profile Send private message
carpenterguy
Tux's lil' helper
Tux's lil' helper


Joined: 12 Oct 2009
Posts: 132

PostPosted: Tue May 10, 2011 1:06 pm    Post subject: Reply with quote

same here, After last nights updates, uNDva world and I ran etc-update
What I found was rc-update show -v has no eth0 listed .... it is just gone from rc-update.
I do not know if this is expected behavior, but seems wrong to me.

Quote:
dhcpcd eth0


This starts network fine for me, question I have .... Is this a bug?

[edit]
I now see that the world update switched me to baselayout2 automagicaly. I expected to do this manually later.
I will read the guide.
Back to top
View user's profile Send private message
Salem
Tux's lil' helper
Tux's lil' helper


Joined: 10 Nov 2002
Posts: 103
Location: Bayreuth, Germany

PostPosted: Tue May 10, 2011 4:55 pm    Post subject: Reply with quote

Thanks for the help. I used etc-update after emerge. Not sure what i did wrong, but my net.eth0 was gone =)

My conf.d/net was wrong too, i removed the () and created a new link and now it is working again :-)
_________________
Salem
Back to top
View user's profile Send private message
saturday
Apprentice
Apprentice


Joined: 20 Dec 2004
Posts: 246
Location: de/munich/home

PostPosted: Tue May 10, 2011 5:36 pm    Post subject: Reply with quote

I did etc-update after the latest update, but had to do
Code:
# cd /etc/init.d
# ln -s net.lo net.eth0
as well.

Although I had been warned about the baselayout update before, I did not know that the openrc update was the thing to watch out for. That was not a smart way of updating... :roll:
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