Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
netplug - what is required?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
philip
Guru
Guru


Joined: 10 Jun 2003
Posts: 535
Location: Sweden

PostPosted: Sat Nov 17, 2007 5:37 pm    Post subject: netplug - what is required? Reply with quote

I emerged netplug from a tip in /etc/conf.d/net (pretty much to the end) with the hope that my eth0 i/f would handled nicely, no matter if the ethernet cable is connected or not. The tip explains that netplug is just to emrge and no other configurations are neccessary.

Unfortunately, with netplug installed, my boot process fails when kde is initiated. An error message comes up: "DNS temporarily out of service" (or a similar wording).

Unfortunately there is no man page for netplug and not much info on the forums. Is there anything more required when netplug is installed, e.g. coldplug?

Another question: is netplug superfluous if the right config options are chosen in /etc/conf.d/net (i.e. can I make the system behave nicely, i.e. start without problems, eventhought the ethernet cable is disconnected)?
_________________
/Phil
Back to top
View user's profile Send private message
neiljw
Apprentice
Apprentice


Joined: 12 Nov 2007
Posts: 166
Location: Telford, UK

PostPosted: Sat Nov 17, 2007 6:38 pm    Post subject: Reply with quote

I've never used netplug but ifplugd works well for me on my laptop. :)
_________________
Be lucky,

Neil
Back to top
View user's profile Send private message
danomac
l33t
l33t


Joined: 06 Nov 2004
Posts: 881
Location: Vancouver, BC

PostPosted: Sat Nov 17, 2007 9:55 pm    Post subject: Reply with quote

philip, what's in your /etc/hosts file? Did you put your machine name next to localhost?
Back to top
View user's profile Send private message
philip
Guru
Guru


Joined: 10 Jun 2003
Posts: 535
Location: Sweden

PostPosted: Sun Nov 18, 2007 7:37 pm    Post subject: Reply with quote

My /etc/hosts looks like this:

Code:
phils_pc philip # cat /etc/hosts
127.0.0.1       localhost       phils_pc
# IPV6 versions of localhost and co
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02::3 ip6-allhosts
phils_pc philip #


Yes, machine name is next to localhost, with a few spaces in between.
_________________
/Phil
Back to top
View user's profile Send private message
danomac
l33t
l33t


Joined: 06 Nov 2004
Posts: 881
Location: Vancouver, BC

PostPosted: Mon Nov 19, 2007 1:21 am    Post subject: Reply with quote

I'd remove the extra spaces. Only have one space between localhost and phils_pc.

The only other thing you can do is prevent udev from starting the scripts and start them manually. Go to /etc/conf.d/rc and put '!net.*' in the RC_PLUG_SERVICES line.
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: Mon Nov 19, 2007 6:36 am    Post subject: Reply with quote

I use ifplugd and everything is fine on my laptop too :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware 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