Can't connect to home wifi with Elementary OS, I can with Windows
I have a dual-boot with Windows 10 and Elementary OS Loki. No issues with Windows, but Elementary has no Wifi. The signal shows up fine and the icon at the top shows a full connection, but nothing will load.
Everything has worked fine for the last 2 years, this only just happened. No changes that I know of. Wifi has always been slower with Elementary, but it suddenly stopped working completely. What can I check? I'm not a Linux beginner, but I don't know much more than the basics...thanks! |
The first thing I would do is some tests to try to narrow down the problem.
Code:
ping google.com Here's an article from Ubuntu that looks as if if will be helpful: https://help.ubuntu.com/community/Wi...eShootingGuide |
1 Attachment(s)
Thanks. I don't know how to save command line so I took a screenshot and attached it. It's also difficult since I have to switch back to windows to connect to the internet
That link looks pretty out of date. From my research, the Network Manager tool was removed from distros a long time ago. It looks like there is a replacement but I don't know how to use it. Is there an updated version of Wifi troubleshooting? |
It looks like you have a DNS problem. The domain name is not resolving, but the ip address is.
What is the contents of /etc/resolv.conf and what is the output of the command ip addr? (if the ip command is not presents, you can use ifconfig -a) You may have to run the commands as root. You can see man resolv.conf for more. |
Quote:
may i ask why you requested the traceroute output and what additional info it gives to the simple ping? edit: oops, i now see what op did there: they started typing traceroute commands before ping was done. in fact, there's no traceroute output at all. ping 8.8.8.8 takes extremely long to get an answer (5s per ping). I wonder what that signifies. |
2 Attachment(s)
Hi, thanks for the help. Screenshots attached again. Let me know if there's a better way to display the results.
|
According to the bit from resolv.conf, the nameserver is 127.0.1.1. That is not a valid entry. That address is a computer within the "localhost" configuration and is not out there on the WWW where nameservers are located (unless you have configured your own, which I am certain you haven't).
If your wireless is DHCP, is should be getting the nameserver setting via your router. Perhaps something has worked its way into your local settings to override that. I do not know enough about the rest of Elementary OS to know how to correct this situation and do not have a way of experimenting with that right now. However, a web search for "troubleshoot name server ubuntu" (Elementary OS is based on Ubuntu) turns up a number of articles. Also, one hopes that someone more familiar with this sort of problem will join this thread. This article looks like a good introduction to the concept of a nameserver: https://kerneltalks.com/howto/how-to...rver-in-linux/ I wish I could help more, but hopefully for my part I've been able to point you in the right direction. |
Thanks very much for info! I do know that Elementary is based on the previous Ubuntu LTS, I've used Ubuntu info to fix issues with Elementary before. I'll check out that link and see what I can make of it.
|
Not necessarily an invalid entry, Elementary is Ubuntu based which uses dnsmasq as a local DNS cache.
Looks like the wireless adapter is being assigned an IP address and several IPV6 addresses. We also need to know the output of the route command. /sbin/route |
Thanks for stepping in, michaelk. I will be following this thread with interest.
|
I'm not trying to take over the thread...
|
I didn't think you were. I reached the limits of my knowledge and am looking forward to learning stuff!
|
channelz28, you can try to (temporarily) replace the 127.0.0.1 entry with 8.8.8.8 - one of google's dns servers.
not as a solution, but as a troubleshooting step. if you have internet then (ping google.com etc.), we are at least one step closer to finding out what's going on. i don't know how to troubleshoot dnsmasq issues. let's start with Code:
systemctl|grep -i dnsmasq |
1 Attachment(s)
I couldn't replace the 127.0.0.1 entry as it won't let me modify anything in the etc folder. Is there a way to get that privilege?
Screenshot of /sbin/route |
Quote:
|
All times are GMT -5. The time now is 06:18 PM. |