Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Carrier status and network interface
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
yufw
n00b
n00b


Joined: 11 Nov 2013
Posts: 29

PostPosted: Wed Jan 29, 2014 3:36 am    Post subject: Carrier status and network interface Reply with quote

I have noticed that Gentoo will wait network carrier to be plugged at boot if the carrier is not present. If I later plug in the carrier, the network interface is not brought up automatically, this means I have to manually issue this command to enable network connection,
Code:
sudo /etc/init.d/net.eno1 start

What I want is more intelligent network management. When network carrier is not present during boot time, it will still boot smoothly, and the network interface(eno1) will be up and down according to the carrier status.

Could someone tell me how to do that?
Back to top
View user's profile Send private message
Logicien
l33t
l33t


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

PostPosted: Wed Jan 29, 2014 4:48 am    Post subject: Reply with quote

Emerge the ifplug package. Ifplug can take a specific action according to the state of the network interface, unplug or no carrier and plug or carrier.
_________________
Paul
Back to top
View user's profile Send private message
yufw
n00b
n00b


Joined: 11 Nov 2013
Posts: 29

PostPosted: Wed Jan 29, 2014 8:15 am    Post subject: Reply with quote

Logicien wrote:
Emerge the ifplug package. Ifplug can take a specific action according to the state of the network interface, unplug or no carrier and plug or carrier.

ifplugd is exactly what I want. Thanks.
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