No Name Resolution
New Sonya 18.2 install.
WiFi is connected, but Net names are not resolved to IP addresses! (e.g, Firefox, lynx, ping). Nameserver shown is 127.0.1.1, just like the 17.3 I am posting this from. I don't have a clue how to solve this problem. BTW, why the "odd" interface names? What happened to good old wlan0? |
Quote:
https://www.freedesktop.org/wiki/Sof...nterfaceNames/ |
I'm not a Mint user, but IIRC Ubuntu/Linux Mint is using dnsmasq...
https://community.linuxmint.com/tutorial/view/489 https://wiki.debian.org/HowTo/dnsmasq |
ferrari:
Quote:
Alas, the references following Quote:
Thanks again. |
Are you using NwtworkManager to manage your network connections? Or the traditional way with interfaces defined in /etc/network/interfaces?
If using NetworkManager, some users have found that dnsmasq is problematic disabled it as described here... https://mytechnicalthoughts.wordpres...linux-mint-18/ |
BTW, if you do that you'll also have to restart NetworkManager with
Code:
sudo systemctl restart network-manager Code:
sudo systemctl restart networking |
ferrari:
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:
Thanks for listening. |
This reads like you have more than one issue at play. You mentioned
Quote:
Code:
ping 8.8.8.8 Code:
dig google.com Quote:
Code:
sudo journalctl -fu NetworkManager |
Worthwhile suggestions all!
IIR ping fails. Alas, the return from sudo 'journalctl -fu NetworkManager' is "command not found." I'll have a fresh look when I boot into 18.2 again. |
Quote:
|
If you can't even ping by IP address, then you should post the following when connected:
Code:
ip address Code:
ip route |
Quote:
Code:
sudo 'journalctl -fu NetworkManager' Enter it as I gave it in post #8 ie Code:
sudo journalctl -fu NetworkManager |
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 Quote:
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. |
Looks like this was indeed a power management problem. Here are the 3 changes I made that fixed things:
Stopped WiFi power management by changing "wifi.powersave = 3" to "wifi.powersave = 2" in /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf Stopped dnsmasq by commenting out the line "dns = dnsmasq" in /etc/NetworkManager/NetworkManager.conf Added static DN Servers by adding the line "prepend domain-name-servers 8.8.8.8, 8.8.4.4;" to /etc/dhcp/dhclient.conf Items 2 and 3 were probably not necessary. Thanks again for all the suggestions, ideas, etc. |
All times are GMT -5. The time now is 04:15 PM. |