View previous topic :: View next topic |
Author |
Message |
toralf Developer
Joined: 01 Feb 2004 Posts: 3922 Location: Hamburg
|
Posted: Sun Feb 12, 2023 2:30 pm Post subject: be relaxed if only 1 of 2 ethernet devices is up |
|
|
I do have an internel eth device and one in the USB-C docking station:
Code: | 2: enp1s0f0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 9c:2d:cd:dc:6f:e5 brd ff:ff:ff:ff:ff:ff
3: enp5s0f4u1u1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
| and do wonder how to let dhcpcd being relaxed if only one of both is up and running ? |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Sun Feb 12, 2023 4:10 pm Post subject: |
|
|
toralf,
Do you need to edit /etc/rc.conf ?
Code: | # Do we allow any started service in the runlevel to satisfy the dependency
# or do we want all of them regardless of state? For example, if net.eth0
# and net.eth1 are in the default runlevel then with rc_depend_strict="NO"
# both will be started, but services that depend on 'net' will work if either
# one comes up. With rc_depend_strict="YES" we would require them both to
# come up.
#rc_depend_strict="YES" |
_________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
szatox Advocate
Joined: 27 Aug 2013 Posts: 3137
|
Posted: Sun Feb 12, 2023 5:27 pm Post subject: |
|
|
dhcpcd can run as a service and AFAIR by default tries to be smart about it. |
|
Back to top |
|
|
toralf Developer
Joined: 01 Feb 2004 Posts: 3922 Location: Hamburg
|
Posted: Sun Feb 12, 2023 8:08 pm Post subject: |
|
|
szatox wrote: | dhcpcd can run as a service and AFAIR by default tries to be smart about it. | but it takes time (30sec or so) which I'd like to skip at boot. |
|
Back to top |
|
|
NeddySeagoon Administrator
Joined: 05 Jul 2003 Posts: 54237 Location: 56N 3W
|
Posted: Sun Feb 12, 2023 9:27 pm Post subject: |
|
|
toralf,
It used to have a parameter you can pass it. _________________ Regards,
NeddySeagoon
Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail. |
|
Back to top |
|
|
|