1 |
On 11/02/15 11:09, Neil Bothwick wrote: |
2 |
> On Wed, 11 Feb 2015 10:38:27 +0000, thegeezer wrote: |
3 |
> |
4 |
>> the confusing bits are that gentoo can use hotplug detection from udev |
5 |
>> to start/stop interfaces for you magically |
6 |
>> also netplug/ifplug will detect carrier changes and start/stop magically |
7 |
> ifplugd/netplug should not be configured to start interfaces. They just |
8 |
> need to be installed so openrc can use them. |
9 |
> |
10 |
> |
11 |
ah yeah quite right i should have been clearer re: netifrc start and |
12 |
interface start |
13 |
--- they add "inactive" to the status when there is no connection so |
14 |
the states go |
15 |
|
16 |
/etc/init.d/net.blah start |
17 |
stopped > inactive > started |
18 |
and only trigger the netifrc start process when going from inactive > |
19 |
started |
20 |
but they do stop from a netifrc perspective the interface when going |
21 |
started > inactive |
22 |
i.e. routes and IP addresses are added/removed, but the interface is |
23 |
still up (but unplugged) |
24 |
|
25 |
better to use hotplug imo but different use cases need different things |