LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 04-12-2019, 12:42 PM   #1
channelz28
LQ Newbie
 
Registered: Jul 2010
Posts: 12

Rep: Reputation: 0
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!
 
Old 04-12-2019, 05:16 PM   #2
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,307
Blog Entries: 28

Rep: Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136
The first thing I would do is some tests to try to narrow down the problem.

Code:
ping google.com
ping 8.8.8.8
traceroute google.com
traceroute 8.8.8.8
If you can reach the ip address and not the domain name, it's likely a DNS problem of some sort. Traceroute can give you some indication of where the root to the host the connection is going awry.

Here's an article from Ubuntu that looks as if if will be helpful: https://help.ubuntu.com/community/Wi...eShootingGuide
 
Old 04-12-2019, 10:49 PM   #3
channelz28
LQ Newbie
 
Registered: Jul 2010
Posts: 12

Original Poster
Rep: Reputation: 0
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?
Attached Thumbnails
Click image for larger version

Name:	linux questions info (1).jpeg
Views:	116
Size:	18.9 KB
ID:	30334  
 
Old 04-13-2019, 07:25 PM   #4
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,307
Blog Entries: 28

Rep: Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136
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.
 
Old 04-14-2019, 02:06 AM   #5
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by frankbell View Post
It looks like you have a DNS problem. The domain name is not resolving, but the ip address is.
op's ping output paints a slightly different picture.
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.

Last edited by ondoho; 04-14-2019 at 02:08 AM.
 
Old 04-14-2019, 02:56 PM   #6
channelz28
LQ Newbie
 
Registered: Jul 2010
Posts: 12

Original Poster
Rep: Reputation: 0
Hi, thanks for the help. Screenshots attached again. Let me know if there's a better way to display the results.
Attached Thumbnails
Click image for larger version

Name:	ip addr.jpeg
Views:	44
Size:	55.8 KB
ID:	30350   Click image for larger version

Name:	resolv.conf.jpeg
Views:	38
Size:	26.9 KB
ID:	30351  
 
Old 04-14-2019, 08:08 PM   #7
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,307
Blog Entries: 28

Rep: Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136
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.
 
Old 04-14-2019, 08:51 PM   #8
channelz28
LQ Newbie
 
Registered: Jul 2010
Posts: 12

Original Poster
Rep: Reputation: 0
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.
 
Old 04-14-2019, 08:51 PM   #9
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,669

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
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
 
Old 04-14-2019, 08:55 PM   #10
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,307
Blog Entries: 28

Rep: Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136
Thanks for stepping in, michaelk. I will be following this thread with interest.
 
Old 04-14-2019, 09:01 PM   #11
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,669

Rep: Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892Reputation: 5892
I'm not trying to take over the thread...
 
1 members found this post helpful.
Old 04-14-2019, 09:03 PM   #12
frankbell
LQ Guru
 
Registered: Jan 2006
Location: Virginia, USA
Distribution: Slackware, Ubuntu MATE, Mageia, and whatever VMs I happen to be playing with
Posts: 19,307
Blog Entries: 28

Rep: Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136Reputation: 6136
I didn't think you were. I reached the limits of my knowledge and am looking forward to learning stuff!
 
Old 04-15-2019, 01:48 AM   #13
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
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
find /etc -iname '*dnsmasq*'
 
Old 04-15-2019, 12:37 PM   #14
channelz28
LQ Newbie
 
Registered: Jul 2010
Posts: 12

Original Poster
Rep: Reputation: 0
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
Attached Thumbnails
Click image for larger version

Name:	route.jpeg
Views:	39
Size:	16.1 KB
ID:	30357  
 
Old 04-15-2019, 01:39 PM   #15
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053Reputation: 6053
Quote:
Originally Posted by channelz28 View Post
Is there a way to get that privilege?
repeat the command with "sudo" prepended?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Can connect to cellphone through WIFI HOTSPOT, but cannot connect to my own WIFI network diegoandresalvarez Linux - Networking 7 10-22-2016 11:54 AM
LXer: Elementary Studio GTK Theme - Fusion of Elementary and Ubuntu Studio Themes LXer Syndicated Linux News 0 01-18-2011 08:21 PM
LXer: What is Nautilus Elementary And How to Install Nautilus Elementary in Ubuntu Lu LXer Syndicated Linux News 0 05-21-2010 01:10 AM
can't connect wifi at home, but can connect everywhere else Javi2 SUSE / openSUSE 1 08-25-2005 06:49 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 12:14 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration