Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
SOLVD Network interface not recognised by runscript need net
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
Dr.Willy
Guru
Guru


Joined: 15 Jul 2007
Posts: 547
Location: NRW, Germany

PostPosted: Wed Feb 18, 2009 9:40 am    Post subject: SOLVD Network interface not recognised by runscript need net Reply with quote

On my laptop i've got two network interfaces net.eth0 and net.wlan0.
I recently noticed that I've got a problem with my net.eth0 interface. It's working just fine, however daemons depending on a network connection dont seem to recognise it is up and running. When I try to start, say, sshd it says
Code:
* WARNING: sshd is scheduled to start when net.wlan0 has started

I don't recall having these problems before, so I suspect my recent migraton to OpenRC to be part of the problem.
I used ifplugd on the wired interface, replaced it with netplug, but that didnt have any effect really.


Last edited by Dr.Willy on Wed Feb 18, 2009 11:25 am; edited 2 times in total
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Wed Feb 18, 2009 10:15 am    Post subject: Reply with quote

OpenRC treated dependencies slightly differently.
As you have both net.eth0 and net.wlan0 in the same runlevel, both need to be "up" for net to be considered "up".
To work around this, only have one in the runlevel or remove both from the runlevel and allow them to be hotplugged in /etc/rc.conf
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
Back to top
View user's profile Send private message
Dr.Willy
Guru
Guru


Joined: 15 Jul 2007
Posts: 547
Location: NRW, Germany

PostPosted: Wed Feb 18, 2009 10:45 am    Post subject: Reply with quote

Ok, removed both from the runlevel and added
Code:
rc_hotplug="net.eth* net.wlan0"
in /etc/rc.conf
Problem solved.

Do I even need ifplugd/netplug now?
Back to top
View user's profile Send private message
UberLord
Retired Dev
Retired Dev


Joined: 18 Sep 2003
Posts: 6835
Location: Blighty

PostPosted: Wed Feb 18, 2009 11:15 am    Post subject: Reply with quote

For the time being yes.
_________________
Use dhcpcd for all your automated network configuration needs
Use dhcpcd-ui (GTK+/Qt) as your System Tray Network tool
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