Gentoo Archives: gentoo-user

From: n952162 <n952162@×××.de>
To: gentoo-user@l.g.o
Subject: [gentoo-user] wpa_supplicant not starting dhcpcd
Date: Thu, 19 Dec 2019 07:46:49
Message-Id: 9755d4c1-3246-3403-299a-fc73b4d61be3@web.de
1 I have this line in /etc/conf.d/net:
2
3 config_wlp3s0="dhcp"
4
5 given:
6
7 $ifconfig wlp3s0
8 wlp3s0    Link encap:Ethernet  HWaddr xx:xx:xx:xx:xx:xx
9           inet addr:192.168.178.42 Bcast:192.168.178.255 
10 Mask:255.255.255.0
11           UP BROADCAST RUNNING MULTICAST  MTU:1500 Metric:1
12           RX packets:2008 errors:0 dropped:0 overruns:0 frame:0
13           TX packets:335 errors:0 dropped:0 overruns:0 carrier:0
14           collisions:0 txqueuelen:1000
15           RX bytes:619501  TX bytes:40551
16
17 but I still have to manually start dhcpcd (now, after installing kernel
18 4.19.72).
19
20 Another problem - wpa_supplicant then defines a default gateway, even
21 though one already existed for the wired connection:
22
23 config_enp2s0="192.168.179.20 netmask 255.255.255.0 brd 192.168.179.255"
24 routes_enp2s0="default via 192.168.179.24"
25
26 I have to then manually delete that when I'm on wireless.  That all
27 happened automatically before.  I wonder how I broke that all.

Replies

Subject Author
Re: [gentoo-user] wpa_supplicant not starting dhcpcd n952162 <n952162@×××.de>