Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Boot Up Hangs When LAN is unplugged
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
crayztechnique
n00b
n00b


Joined: 03 Apr 2016
Posts: 30

PostPosted: Thu Apr 21, 2016 3:39 pm    Post subject: Boot Up Hangs When LAN is unplugged Reply with quote

So LAN and wireless work just fine and of course I've set the LAN to start up on boot so Linux is doing it's job but now I have a small problem. Because it always tries to load the LAN on boot, if the network cable isn't plugged in the boot process hangs up when trying to load the network. It's not a huge problem but it makes boot up take a lot longer. What's the best way to tackle this problem? Would manually loading the network when I need it save the battery at all when it's not being used? If so I'd rather go that route as this laptops battery is on it's last leg. Otherwise how do I set the process of loading the LAN to happen only if it knows it's plugged in?? I understand this might be asking for a lot so even just pointing to a guide or something would be great here. Thanks in advance.
Back to top
View user's profile Send private message
Logicien
Veteran
Veteran


Joined: 16 Sep 2005
Posts: 1369
Location: Montréal

PostPosted: Thu Apr 21, 2016 3:45 pm    Post subject: Reply with quote

A suggestion of mine is to use the ifplugd daemon.
_________________
Paul
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2616

PostPosted: Thu Apr 21, 2016 4:51 pm    Post subject: Reply with quote

Try, as Logicien said, with ifplugd or netplug or go the other way, getting rid of netifrc and using dhcpcd instead.

As for so many things, Gentoo has several solutions for bringing networks up or down.
Back to top
View user's profile Send private message
khayyam
Watchman
Watchman


Joined: 07 Jun 2012
Posts: 6228
Location: Room 101

PostPosted: Thu Apr 21, 2016 5:02 pm    Post subject: Reply with quote

crayztechnique ...

most of the options are covered in the openrc notebook roaming howto.

I personally perfer runlevels as I'm often using ethernet for a link to a machine, and not internet connectivity, and ifplugd will interfere with that.

best ... khay
Back to top
View user's profile Send private message
crayztechnique
n00b
n00b


Joined: 03 Apr 2016
Posts: 30

PostPosted: Sat Apr 23, 2016 9:10 pm    Post subject: Reply with quote

Thank you all for the suggestions. It's actually the opportunities that Gentoo gives me to choose that makes me like it so much. That and the learning experiences involved each step of the way.
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