On 19 August 2019 22:11:04 CEST, n952162 <n952...@web.de> wrote: >My eth0/enp2s0 network adapter is configured so: > > $ cat /etc/conf.d/net > > config_enp2s0="192.168.179.20/24" > >but on boot, I get a bonjour address: > > enp2s0 Link encap:Ethernet HWaddr 48:BA:4E:29:99:9E > inet addr:*169.254.71.117 * Bcast:169.254.255.255 > Mask:255.255.0.0 > >if I restart the service immediately after boot, nothing much happens, >I >still get the bonjour address. > > sudo rc-service net.enp2s0 restart > >Incidently, dhcpcd is still running at this point. > >But after a couple of tries: > > sudo rc-service net.enp2s0 restart > >and then I get my connection: > > $ ifconfig > enp2s0 Link encap:Ethernet HWaddr 48:BA:4E:29:99:9E > inet addr:*192.168.179.20* Bcast:192.168.179.255 > Mask:255.255.255.0 > >And: > > $ sudo rc-service dhcpcd status > * status: *crashed* > > From /var/log/syslog: >**** > > [ 260.895907] dhcpcd[6664]: segfault at 400a00000000 ip > 0000560edbf464bd sp 00007ffe06bf4f10 error 4 in > dhcpcd[560edbf23000+46000]* > > * > >Why does dhcpcd think it can configure my interface and what's the >connection between /etc/conf.d/net and dhcpcd?
Do you have net.enp2s0 in your default runlevel? If not, dhcp is used by default. -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity.