Hi Dale,

On Sunday, 21 April 2024 03:32:32 BST Dale wrote:

> OK.  I did my weekend OS updates on my main rig, fireball.  That
> involves me switching to boot runlevel and back again.  When the network
> started, no message about going to default.  It just showed it starting
> up and using DHCP.   Looks like this: 
> 
> 
>  * Bringing up interface enp3s0
>  *   dhcp ...
>  *     Running dhcpcd ...
> 
> 
> 
> I thought of something.  My NAS box is shutdown right now so can't
> check.  I bet DHCP is set to start in the default runlevel.  On my main
> rig it is not set to start the DHCP service at all.  I suspect the NAS
> box finds the DHCP service first and starts the network and then finds
> the network service but it is already started.  When it starts the
> network with the DHCP service, it does the default thing.  I'll test
> that next time I boot up the NAS box. 

On one box here I have neither netifrc configured, nor dhcpcd, although both 
are installed.  I have also made sure networkmanager is not installed.

However, netmount is in the default runlevel and netmount has the default net 
dependency enabled:

$ grep -v "^#" /etc/conf.d/netmount
rc_need="net"

$ rc-update show -v | grep -i net
                local |      default nonetwork                 
           net-online |                                        
               net.lo |                                        
             netmount |      default

I believe this is what kicks in on my system first and brings up dhcpcd, which 
in turn obtains an IP address from my router.  I mostly configure static IP 
addresses for known devices in my LAN on the router.

You can compare which network services are configured to come up on your NAS 
Vs your main PC and also check any differences in /etc/rc.conf.  Finally 
search for "rc_need=" dependencies defined in your /etc/conf.d/*.

https://wiki.gentoo.org/wiki/OpenRC#Dependency_behavior


> I guess no one else found a way to get the install handbook on a single
> page.  I'll have to copy and paste I guess.  That's gonna take a while. 
> O_O 
> 
> Dale
> 
> :-)  :-) 

To save you copying:

https://wiki.gentoo.org/wiki/Handbook:AMD64/Full/Installation

but note the warning about links redirecting to individual pages:

https://wiki.gentoo.org/wiki/Handbook:AMD64/Full

Attachment: signature.asc
Description: This is a digitally signed message part.

Reply via email to