LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Wifi Keeps Cutting out (https://www.linuxquestions.org/questions/linux-newbie-8/wifi-keeps-cutting-out-4175572954/)

abourke 02-22-2016 04:54 PM

Wifi Keeps Cutting out
 
Hi,

Im running Fedora 23 with Gnome 3 on a brand new Lenovo laptop.

The wifi connects to the wireless access point. But after about an hour the connection dies.

NetworkManager shows a question mark in place of the wifi icon. So I turn off the wifi and then turn it back on. And the problem repeats itself.

Can somebody please help me troubleshoot the problem. I can upload the output of any commands that might be necessary.

Regards
Aubrey.

aus9 02-22-2016 05:23 PM

I don't use Fedora so until you get a better reply have a look at your lease time in a file likely to be called
/etc/dhcp/dhclient.conf

I am not sure what Fedora uses but if you use your package manager for installed software you will see what kind of client server dhcp you are using.
There a number of them, mine begins with isc-dhcp* while yours might start with dhcp*

frankbell 02-22-2016 08:30 PM

Is this a laptop? If so, try testing it at a different access point, maybe a library or work or a coffee shop, long enough to get an idea as to whether the issue is with the computer or with the wireless access point.

The first step in troubleshooting is to narrow the list of suspects.

JJJCR 02-22-2016 08:43 PM

Quote:

Originally Posted by frankbell (Post 5504563)
Is this a laptop? If so, try testing it at a different access point, maybe a library or work or a coffee shop, long enough to get an idea as to whether the issue is with the computer or with the wireless access point.

The first step in troubleshooting is to narrow the list of suspects.

Good idea, Frankbell yes it could be a wifi router issue or I assume the user has a smartphone so if the wifi on the phone doesn't disconnect then it goes down to the computer. If you have a wireless usb dongle try to use it and check whether issue persist.

abourke 02-23-2016 10:36 AM

Hi Okay thanks for the ideas guys.

Firstly I checked for the existance of dhclient.conf There is one file in Fedora:
Quote:

/usr/lib/dracut/modules.d/40network
[root@linux 40network]# cat dhclient.conf
request subnet-mask, broadcast-address, time-offset, routers,
domain-name, domain-name-servers, domain-search, host-name,
root-path, interface-mtu;
But no mention here of the lease info.

Also there also is a script file in:
Quote:

/etc/dhcp/dhclient.d
[root@linux dhclient.d]# ls
chrony.sh
I have disabled the chronyd daemon. As far as Im aware Chronyd has somthing to do with time keeping. So maybe that has a side effect on the lease? I really don't know!

Finally I just connected to another wireless access point. So let me get back to you about it...

Regards
Aubrey.

abourke 02-23-2016 10:51 AM

Just to follow up. Its not the router, because the wifi is cutting out on a different router now.
I will try and enable the chronyd deamon and get back.
If anyone has any ideas, please post a reply

HMW 02-23-2016 11:40 AM

Sounds like my previous problem with the iwlwifi driver.

What does:
Code:

$ lspci | grep Network
Say about your network (WiFi) card?

Best regards,
HMW

abourke 02-23-2016 05:08 PM

Hi

lspci | grep Network gives us:
Quote:

04:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8723BE PCIe Wireless Network Adapter
I renabled chronyd. But it didnt fix it. The connection keeps dropping.

Also as we thought it might be due to DHCP, I set my wireess connection with a static ip. But again it didnt fix it. Problem persists!

aus9 02-23-2016 05:23 PM

1) suggest add a lease time but the config may be /etc
https://fedoraproject.org/wiki/Admin...ide_Draft/DHCP

2) suggest look at a new kernel driver as per HMW post so
Code:

lsmod | grep iwlwifi
if you get a hit see if his config helps

3) but looking at your hw it appears another person has tried a diff kernel module as per
https://ask.fedoraproject.org/en/que...m-the-network/

frankbell 02-23-2016 09:26 PM

How old is this computer? Stuff does wear out.

I had a laptop which died, and one of the earliest symptoms was that the wireless (Broadcom in this case) started to drop connections. I got a USB adapter from ThinkPenguin.com which worked fine, but, six months later, the whole computer died.

That machine had served me well for almost eight years and, as my old auto mechanic used to say, it didn't owe me a dime.

HMW 02-24-2016 02:08 AM

Have you tried this:
http://ubuntuforums.org/showthread.p...7#post13120817

Seems to have worked for other users with the same card.

Best regards,
HMW

Blitzig 02-24-2016 03:41 AM

Is it by any chance a Lenovo E540 Thinkpad ? I had the same issue and ended up using a D-Link usb WiFi adapter which solved the issue for me.

I have tried multiple drivers and the issue still persisted.

abourke 02-25-2016 09:32 AM

Hi,

No its not a thinkpad. Its a Lenovo B50 Laptop. Sorry to hear you had to by an adapter.

But, from what I can tell that post from "HMW" seems to have fixed it:

Quote:

echo "options rtl8723be fwlps=N ips=N" | sudo tee /etc/modprobe.d/rtl8723be.conf
Its been running a day now, seems to be okay. Let me check back in another day just to confirm.

Thanks HMW,

HMW 02-25-2016 01:00 PM

Quote:

Originally Posted by abourke (Post 5505984)
Hi,

No its not a thinkpad. Its a Lenovo B50 Laptop. Sorry to hear you had to by an adapter.

But, from what I can tell that post from "HMW" seems to have fixed it:



Its been running a day now, seems to be okay. Let me check back in another day just to confirm.

Thanks HMW,

No problem. That's what we're here to do; help each other out. If this issue is indeed solved, please mark the thread as such later on.

Best regards,
HMW

abourke 02-25-2016 05:28 PM

Its been two days now working. So I can confirm it worked!

Just out of curiosity what exactly does that command do?
You are passing parameters to the driver right?

Thanks again,
Aubrey.


All times are GMT -5. The time now is 06:41 AM.