1 |
sorry..... |
2 |
|
3 |
I am totally stupid. I got you now. |
4 |
|
5 |
Check if the networkmanager of systemd or "DEFINETLY" openrc is used. |
6 |
More I cannot tell you.... |
7 |
|
8 |
|
9 |
best, Tamer |
10 |
|
11 |
On 2019-12-21 18:15, n952162 wrote: |
12 |
> |
13 |
> Okay, I have an update on this. |
14 |
> |
15 |
> Note that wlp3s0 is the WireLess adapter and enp0s2 is the wired |
16 |
> Ethernet adapter. |
17 |
> |
18 |
> Given the /etc/conf.d/net as shown below (i.e. only config_wlp3s0="dhcp") |
19 |
> |
20 |
> 1. If there is *no* /etc/init.d/net.enp0s2 link (or any adapter |
21 |
> link), then the wireless connection comes up with a dhcp-derived |
22 |
> address |
23 |
> 2. if there *is* an /etc/init.d/net.enp0s2 link, and the same |
24 |
> /etc/conf.d/net file: |
25 |
> 1. the wireless comes up with no address (and no dhcp attempt in |
26 |
> /var/log/syslog) |
27 |
> 2. The wired adapter has a (dhcp-derived) zero-conf address or |
28 |
> something, at 169. |
29 |
> 3. if a fixed ip address is additionally specified for the wired |
30 |
> adapter in /etc/conf.d/net |
31 |
> 1. it is assigned as specified |
32 |
> 2. No attempt is made to run dhcp on the wireless anymore |
33 |
> (although dhcp *is* specified for it in /etc/conf.d/net) |
34 |
> |
35 |
> The thing is, before my root filesystem got crashed by a negligent |
36 |
> ext4 recovery, the system came up multi-homed, with a static and a |
37 |
> dhcp-derived address. |
38 |
> Coming from 4.9.? to 4.19.72. |
39 |
> |
40 |
> Could it be that something changed? |
41 |
> |
42 |
> |
43 |
> On 12/19/19 08:46, n952162 wrote: |
44 |
>> I have this line in /etc/conf.d/net: |
45 |
>> |
46 |
>> config_wlp3s0="dhcp" |
47 |
>> |
48 |
>> given: |
49 |
>> |
50 |
>> $ifconfig wlp3s0 |
51 |
>> wlp3s0 Link encap:Ethernet HWaddr xx:xx:xx:xx:xx:xx |
52 |
>> inet addr:192.168.178.42 Bcast:192.168.178.255 |
53 |
>> Mask:255.255.255.0 |
54 |
>> UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1 |
55 |
>> RX packets:2008 errors:0 dropped:0 overruns:0 frame:0 |
56 |
>> TX packets:335 errors:0 dropped:0 overruns:0 carrier:0 |
57 |
>> collisions:0 txqueuelen:1000 |
58 |
>> RX bytes:619501 TX bytes:40551 |
59 |
>> |
60 |
>> but I still have to manually start dhcpcd (now, after installing kernel |
61 |
>> 4.19.72). |
62 |
>> |
63 |
>> Another problem - wpa_supplicant then defines a default gateway, even |
64 |
>> though one already existed for the wired connection: |
65 |
>> |
66 |
>> config_enp2s0="192.168.179.20 netmask 255.255.255.0 brd 192.168.179.255" |
67 |
>> routes_enp2s0="default via 192.168.179.24" |
68 |
>> |
69 |
>> I have to then manually delete that when I'm on wireless. That all |
70 |
>> happened automatically before. I wonder how I broke that all. |
71 |
>> |
72 |
>> |
73 |
> |