Okay, I have an update on this. Note that wlp3s0 is the WireLess adapter and enp0s2 is the wired Ethernet adapter.
Given the /etc/conf.d/net as shown below (i.e. only config_wlp3s0="dhcp") 1. If there is *no* /etc/init.d/net.enp0s2 link (or any adapter link), then the wireless connection comes up with a dhcp-derived address 2. if there *is* an /etc/init.d/net.enp0s2 link, and the same /etc/conf.d/net file: 1. the wireless comes up with no address (and no dhcp attempt in /var/log/syslog) 2. The wired adapter has a (dhcp-derived) zero-conf address or something, at 169. 3. if a fixed ip address is additionally specified for the wired adapter in /etc/conf.d/net 1. it is assigned as specified 2. No attempt is made to run dhcp on the wireless anymore (although dhcp *is* specified for it in /etc/conf.d/net) The thing is, before my root filesystem got crashed by a negligent ext4 recovery, the system came up multi-homed, with a static and a dhcp-derived address. Coming from 4.9.? to 4.19.72. Could it be that something changed? On 12/19/19 08:46, n952162 wrote:
I have this line in /etc/conf.d/net: config_wlp3s0="dhcp" given: $ifconfig wlp3s0 wlp3s0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx inet addr:192.168.178.42 Bcast:192.168.178.255 Mask:255.255.255.0 UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 RX packets:2008 errors:0 dropped:0 overruns:0 frame:0 TX packets:335 errors:0 dropped:0 overruns:0 carrier:0 collisions:0 txqueuelen:1000 RX bytes:619501 TX bytes:40551 but I still have to manually start dhcpcd (now, after installing kernel 4.19.72). Another problem - wpa_supplicant then defines a default gateway, even though one already existed for the wired connection: config_enp2s0="192.168.179.20 netmask 255.255.255.0 brd 192.168.179.255" routes_enp2s0="default via 192.168.179.24" I have to then manually delete that when I'm on wireless. That all happened automatically before. I wonder how I broke that all.