Periodically, dhcp4 trashes my wifi adapter's IP address

A few times a day, I lose WiFi connectivity. When I have connectivity, the IP address of my wifi adaper is 192.168.0.93. When I don't have connectivity, the address is 172.20.20.20. syslog shows Network Manager dhcp4 setting this address.

I tried enabling manual adapter settings but my browser doesn't work, probably because I don't have a DNS server address entered.

How can I get dhcp4 to cooperate, or how can I properly do manual settings?

lspci says "Network Controller: Intel Wi-Fi 6 AX200 (rev 1a)


Solution 1:

I suggest that you set a static IP address outside of the DHCP pool in the router. You can either look in the administrative pages of the router or, if this is not feasible, by guesswork. What do other computers, phones, iPads, etc. get for addresses. For example, if devices on the network get addresses like 192.168.0.4, 192.168.0.5, 192.168.0.7, etc. then I'd suggest a static IP address of 192.168.0.225.

Also, as you've seen, a proper DNS nameserver address(es) is required. I suggest the following, as an example:

enter image description here