Linux MintThis forum is for the discussion of Linux Mint.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
BTW, why the "odd" interface names? What happened to good old wlan0?
The is due to the move predictable network interface naming with systemd/udev. (It is possible to revert back to the traditional naming though if desired.)
The is due to the move predictable network interface naming with systemd/udev...
OK, that clears up the odd interface names. Thanks.
Alas, the references following
Quote:
I'm not a Mint user, but IIRC Ubuntu/Linux Mint is using dnsmasq...
were interesting, but didn't quite fit the details of my Mint installation. Both 'dhclient' and 'dnsmasq' seem to be started at bootup (or via initram) so I have no control over their startup parameters. Bottom line: I'm still stumped for a diagnosis and a fix.
The '#dns=dnsmasq' approach looks interesting. I was referred to another source for the same approach, as well as a 'how-to' on using static nameserver addresses; e.g.8.8.8.8
Even though no data can be sent or received, ifconfig and iwconfig shows that the WiFi is up:
Quote:
wlp4s0 IEEE 802.11 ESSID:"XXXX"
Mode:Managed Frequency:2.437 GHz Access Point: XXXX
Bit Rate=12 Mb/s Tx-Power=30 dBm
Retry short limit:7 RTS thrff Fragment thrff
Power Managementn
Link Quality=60/70 Signal level=-50 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:1396 Invalid misc:168 Missed beacon:0
Eventually the WiFi just goes down. And all at an unpredictable interval after boot! If '#dns=dnsmasq' etc can't fix this I'm going to have to give up on 18.2--too undependable.
This reads like you have more than one issue at play. You mentioned
Quote:
Even though no data can be sent or received, ifconfig and iwconfig shows that the WiFi is up:
What do you mean that no data can be sent of received? If you can ping an internet address (by IP address) eg
Code:
ping 8.8.8.8
then this implies that your internet gatway is working, and likely that only name resolution is not working eg
Code:
dig google.com
If only the latter fails, then it is a name resolution problem.
Quote:
Eventually the WiFi just goes down. And all at an unpredictable interval after boot! If '#dns=dnsmasq' etc can't fix this I'm going to have to give up on 18.2--too undependable.
This is a different issue, and has nothing to do with DNS, but could well be due to power management. It needs to be investigated separately, but a good approach is to watch NetworkManager logging in a terminal window, and capture the event where the wifi drops out...
I must have mistyped the journalctl command last time. When the connection drops, output from journalctl is like drinking from a firehose :-). Connection seems to be reestablished (after a delay) following
Code:
sudo systemctl restart wpa_supplicant
. Then the journalctl command just waits after
Quote:
Activation: successful, device activated.
I disabled dnsmasq as suggested. I tried using a static /etc/resolv.conf, but NetworkManager still supplies its own DNS IP addresses. Things seem to work OK, but clearly my dropout problem isn't solved yet.
Your 'power management' comment led me to /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf! I'm going to set wifi.powersave = 3 to wifi.powersave = 0.
Again, sincere thanks for all your insights, and for staying with me on this.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.