Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
be relaxed if only 1 of 2 ethernet devices is up
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
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3922
Location: Hamburg

PostPosted: Sun Feb 12, 2023 2:30 pm    Post subject: be relaxed if only 1 of 2 ethernet devices is up Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Sun Feb 12, 2023 4:10 pm    Post subject: Reply with quote

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
View user's profile Send private message
szatox
Advocate
Advocate


Joined: 27 Aug 2013
Posts: 3136

PostPosted: Sun Feb 12, 2023 5:27 pm    Post subject: Reply with quote

dhcpcd can run as a service and AFAIR by default tries to be smart about it.
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3922
Location: Hamburg

PostPosted: Sun Feb 12, 2023 8:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 54237
Location: 56N 3W

PostPosted: Sun Feb 12, 2023 9:27 pm    Post subject: Reply with quote

toralf,

It used to have a
Code:
--timeout seconds
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
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