LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook
User Name
Password
Linux - Laptop and Netbook Having a problem installing or configuring Linux on your laptop? Need help running Linux on your netbook? This forum is for you. This forum is for any topics relating to Linux and either traditional laptops or netbooks (such as the Asus EEE PC, Everex CloudBook or MSI Wind).

Notices


Reply
  Search this Thread
Old 09-05-2017, 09:58 PM   #1
cfmg
LQ Newbie
 
Registered: Sep 2017
Posts: 5

Rep: Reputation: Disabled
Wireless Issues


I've installed Ubuntu 17.04 on my laptop and have been having issues with my wireless connection. My wireless card is an Intel AC 8260.

The biggest issue I'm having is the connection will randomly stop working. It will happen sometimes when I come back to my computer or even while I'm actively using it. The internet will stop working and I'll need to disconnect and reconnect to my network. The process takes a long time and will often fail to reconnect until I try a few times.

The other problem is it will often stop recognizing my local DNS server. For example I've mapped router.home.network to my router's IP address. This address will work right after connecting to my network but many times it will stop working until I disconnect and reconnect.

Any ideas on how I can troubleshoot these issues?
 
Old 09-05-2017, 10:19 PM   #2
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 2,360

Rep: Reputation: 372Reputation: 372Reputation: 372Reputation: 372
First, welcome to LinuxQuestions.org.

Have you updated since installing? There was an apparent DNS issue for this release (since been fixed)...
https://www.hecticgeek.com/2017/04/ubuntu-17-04-review/

Regarding the wireless issue, it would be good to know the chipset annd driver details. It may well be a power management issue.
Code:
sudo lshw -C network
Are you using NetworkManager to control your wireless networking? If so, perhaps you need to check /etc/NetworkManager/conf.d/default-wifi-powersave-on.conf for an entry like
Code:
wifi.powersave = 3
and change the value to 2 to disable it if applicable.

Reference
https://unix.stackexchange.com/quest...nt-permanently
 
Old 09-06-2017, 06:49 AM   #3
cfmg
LQ Newbie
 
Registered: Sep 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
Thanks for the welcome as well as your help.

I've just run updates to be sure but that looks like a different issue. In my case it was only ignoring my local DNS sever for internal addresses but would still resolve external web addresses just fine.

My chipset and driver info:

Quote:
description: Wireless interface
product: Wireless 8260
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlp3s0
version: 3a
serial: a4:34:d9:13:c1:3a
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=4.10.0-33-generic firmware=21.302800.0 ip=192.168.0.17 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:289 memory:d2a00000-d2a01fff
I also changed the value of wifi.powersave in that file from 3 to 2
 
Old 09-06-2017, 04:00 PM   #4
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 2,360

Rep: Reputation: 372Reputation: 372Reputation: 372Reputation: 372
Quote:
I also changed the value of wifi.powersave in that file from 3 to 2
Ok, and did that help with the disconnection issues you reported in your opening post?
 
Old 09-06-2017, 04:21 PM   #5
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 2,360

Rep: Reputation: 372Reputation: 372Reputation: 372Reputation: 372
Quote:
For example I've mapped router.home.network to my router's IP address. This address will work right after connecting to my network but many times it will stop working until I disconnect and reconnect.
How exactly did you do the mapping? Some more clarification may be helpful here.

I'm not an Ubuntu user, but AFAIU they moved from using dnsmasq to systemd-resolved with Ubuntu 17? Anyway, perhaps worth reviewing the advice given in these threads in case they help clarify/solve the issue you're experiencing...


https://superuser.com/questions/8351...rnal-hostnames
https://askubuntu.com/questions/8986...s-with-dnsmasq
 
Old 09-06-2017, 07:05 PM   #6
cfmg
LQ Newbie
 
Registered: Sep 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
Ok, and did that help with the disconnection issues you reported in your opening post?
So far so good, however my use has been limited. If it doesn't disconnect by the weekend I would say the problem is solved.

Quote:
How exactly did you do the mapping? Some more clarification may be helpful here.
I have a DNS server setup on my Synology Diskstation. My laptop will still report the Diskstation's IP as it's DNS server but won't resolve any of my local assignments.
 
Old 09-06-2017, 08:05 PM   #7
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 2,360

Rep: Reputation: 372Reputation: 372Reputation: 372Reputation: 372
Are these local assignments in /etc/hosts? You still didn't mention if you're using dnsmasq or something else.
 
Old 09-06-2017, 08:35 PM   #8
cfmg
LQ Newbie
 
Registered: Sep 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
No, they're assigned on the DNS server and my router points to the DNS server. There's nothing being done on the laptop other than using the server the router points it towards so I don't believe dnsmasq is coming into play but I don't know enough to say for sure.

Quote:
So far so good, however my use has been limited. If it doesn't disconnect by the weekend I would say the problem is solved.
Looks like I may have spoke too soon. I moved to my bedroom and the connection dropped again. I'm not sure what did it, I was using the laptop fine in the living room next to the router then moved to my desk, plugged in the power cord, HDMI cable, and mouse/keyboard (through USB hub). I then tried to open a page and wasn't able to. I was unable to ping google.com or my router.

I don't think it has anything to do with the distance from the router because once I disconnected then reconnected my connection works perfectly and speed tests run around 90 Mbit/s
 
Old 09-06-2017, 09:02 PM   #9
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 2,360

Rep: Reputation: 372Reputation: 372Reputation: 372Reputation: 372
Quote:
Looks like I may have spoke too soon. I moved to my bedroom and the connection dropped again. I'm not sure what did it, I was using the laptop fine in the living room next to the router then moved to my desk, plugged in the power cord, HDMI cable, and mouse/keyboard (through USB hub). I then tried to open a page and wasn't able to. I was unable to ping google.com or my router.

I don't think it has anything to do with the distance from the router because once I disconnected then reconnected my connection works perfectly and speed tests run around 90 Mbit/s
Ok, maybe treat it as a one-off event until it happens again. You were getting disconnected regularly and frequently previously I assume?

Quote:
No, they're assigned on the DNS server and my router points to the DNS server. There's nothing being done on the laptop other than using the server the router points it towards so I don't believe dnsmasq is coming into play but I don't know enough to say for sure.
Ok, so your router is configured with the primary DNS address assigned as your Synolgy device. I assume that the Synology device is not going to sleep for any reason? When you next have a problem resolving a local hostname, check /etc/resolv.conf to make sure that it has the primary DNS (as provided by the router) pointing to the Synology device, and that you can ping the Synology device by its IP address.
 
Old 09-06-2017, 09:05 PM   #10
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 2,360

Rep: Reputation: 372Reputation: 372Reputation: 372Reputation: 372
You could watch the wireless connection in a terminal window using
Code:
sudo journalctl -fu NetworkManager
then just carry on with other tasks. When it next drops, note what has been reported at that time.

Last edited by ferrari; 09-06-2017 at 09:13 PM.
 
Old 09-06-2017, 10:46 PM   #11
cfmg
LQ Newbie
 
Registered: Sep 2017
Posts: 5

Original Poster
Rep: Reputation: Disabled
Quote:
You were getting disconnected regularly and frequently previously I assume?
Correct, and I don't typically take the computer off the desk so it wasn't associated with hooking the computer back up as described above.

Quote:
I assume that the Synology device is not going to sleep for any reason?
I don't believe so, I'm pretty sure that when it's happening I've connected to my desktop using it's IP address and then tested pinging configured hostnames and confirming the work on that computer but not my laptop.

Quote:
When you next have a problem resolving a local hostname, check /etc/resolv.conf to make sure that it has the primary DNS (as provided by the router) pointing to the Synology device, and that you can ping the Synology device by its IP address.
I think I've done this but am not certain. I'll be sure to double check if it happens again.

Quote:
You could watch the wireless connection in a terminal window using
Perfect, I'll leave that running and take a look next time there's an issue.

Thanks so much for all of your advice so far!
 
Old 09-07-2017, 12:12 AM   #12
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 2,360

Rep: Reputation: 372Reputation: 372Reputation: 372Reputation: 372
In post #5 I mentioned that Ubuntu 17 started using systemd-resolved by default, but some users have found that it doesn't work for them. From what I've been reading about its behaviour in this bug report, systemd-resolved will cycle through available nameservers when it doesn't get a response from the current one. This seems to have impacted users who have deliberately specified a primary nameserver for local DNS, and secondary nameservers for internet name resolution.

You can observe systemd-resolved logging to see if DNS switching is occurring with your system (I suspect it is impacting here)...
Code:
sudo journalctl -fu systemd-resolved
The simple way out is to disable systemd-resolved.service, and go back to using dnsmasq, or even NetworkManager's default (dns=default) as outlined in one of the threads I linked to...

https://askubuntu.com/questions/8986...s-with-dnsmasq

...and you'll probably find things work as expected again.
 
Old 10-26-2017, 09:05 AM   #13
pravin007
LQ Newbie
 
Registered: Oct 2017
Posts: 1

Rep: Reputation: Disabled
Hi,
I have got a wireless connection problem on Dell Inspiron N5010 windows7 laptop. My laptop has an extremely unstable connection and I can't seem to find a way to fix it. The connection speed will constantly drop to near zero or just completely disconnect.if you know the answer please tell
 
Old 10-26-2017, 04:14 PM   #14
ferrari
Senior Member
 
Registered: Sep 2003
Location: Auckland, NZ
Distribution: openSUSE Leap
Posts: 2,360

Rep: Reputation: 372Reputation: 372Reputation: 372Reputation: 372
@pravin007: I suggest starting your own new thread for this.
 
  


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
Linux Mint 17.1 , Wireless Connection Issues , Lenovo-ideapad-100-15IBD , on Internal Wireless RTL8723BE PCIe Wireless Network Adapter rtoney5 Linux - Laptop and Netbook 2 11-10-2016 02:52 PM
Wireless issues on Lubuntu 12.10, with RTL8187/RTL8187B USB wireless driver, 2wire 2701hgv-e modem. luslec Linux - Newbie 3 08-04-2012 11:58 AM
Wireless G or N Router Networking, Ethernet, Wireless Adaptor and Connection Issues. RenCat General 1 02-06-2010 11:27 AM
Wireless Issues kc3 Slackware 9 11-28-2009 01:17 AM
Wireless issues............ rech Slackware 1 11-04-2003 09:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Laptop and Netbook

All times are GMT -5. The time now is 06:33 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration