View previous topic :: View next topic |
Author |
Message |
yufw n00b
Joined: 11 Nov 2013 Posts: 57
|
Posted: Wed Jan 29, 2014 3:36 am Post subject: Carrier status and network interface |
|
|
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 |
|
|
Logicien Veteran
Joined: 16 Sep 2005 Posts: 1555 Location: Montréal
|
Posted: Wed Jan 29, 2014 4:48 am Post subject: |
|
|
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 |
|
|
yufw n00b
Joined: 11 Nov 2013 Posts: 57
|
Posted: Wed Jan 29, 2014 8:15 am Post subject: |
|
|
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 |
|
|
|