LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 01-14-2017, 10:10 PM   #1
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,509

Rep: Reputation: 177Reputation: 177
Wireless card losing connection


I have a new Slackware64 14.2, KDE system and have just bought a new D-Link AC1200 Wireless Dual Band PCI_E wireless card. iwconfig info is:
Code:
06:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8812AE 802.11ac PCIe Wireless Network Adapter (rev 01)
        Subsystem: D-Link System Inc RTL8812AE 802.11ac PCIe Wireless Network Adapter
        Flags: bus master, fast devsel, latency 0, IRQ 39
        I/O ports at d000 [size=256]
        Memory at fbb00000 (64-bit, non-prefetchable) [size=16K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
        Capabilities: [70] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Device Serial Number 00-12-88-fe-ff-4c-e0-00
        Capabilities: [150] Latency Tolerance Reporting
        Capabilities: [158] L1 PM Substates
        Kernel driver in use: rtl8821ae
        Kernel modules: rtl8821ae, wl
I plugged the card in, configured the SSID and passkey in KDE and it appeared to work just fine ... for a while.

It periodically (10 minutes to less than an hour) disconnects so the Internet cannot be reached and and any connections to the computer are lost (e.g. ssh/putty).

I notices this same behavior with my ThinkPenguin Atheros AR9271 - which is why I bought the T-Link in the first place.

Any idea what is going on? Why won't my wireless connection stay up?
 
Old 01-14-2017, 10:25 PM   #2
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
have you tried another method of connecting to the internet?
 
Old 01-15-2017, 12:16 AM   #3
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,509

Original Poster
Rep: Reputation: 177Reputation: 177
Yes, wired works OK. Wireless also works, but connection is lost after +/- 20 minutes or so.
 
Old 01-15-2017, 01:10 AM   #4
agillator
Member
 
Registered: Aug 2016
Distribution: Mint 19.1
Posts: 419

Rep: Reputation: Disabled
You might try looking at https://sites.google.com/site/easyli...ject/reserve-7 and see if that helps. There is a reference to the 8812AU, the AE may be similar. There is also the possibility that conflicting wireless drivers have been loaded. You might make sure that the one for your card and the ones it depends on are the only one loaded.
 
Old 01-15-2017, 01:25 AM   #5
TheEzekielProject
Member
 
Registered: Dec 2016
Distribution: arch
Posts: 668

Rep: Reputation: 190Reputation: 190
By "method of connecting" I meant another way of connecting to your wireless network. Assuming you used the kde builtin network manager, you might try connecting via command line. First disable network manager though, as utilities can interfere with each other
 
Old 01-15-2017, 06:15 AM   #6
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Sounds like there is an "disconnect if inactive for set period of time" setting either within Slack or the wireless router. Operating systems and routers have varying definitions of what constitutes inactivity.
 
Old 01-15-2017, 04:24 PM   #7
rob.rice
Senior Member
 
Registered: Apr 2004
Distribution: slack what ever
Posts: 1,076

Rep: Reputation: 205Reputation: 205Reputation: 205
you did'nt say wether this is a private or public wifi connection

public connection you could have some joker disconnecting you for fun
private connection you could have a cracker trying to crack your wifi
ether way there is nothing you can do about being disconnected
except reconnect

in the slackware iso there is a extra directory in it you will find a package called wicd that will give you a workable user interface to wifi tools
once the password is setup reconnecting is one button press
or one mouse click

Last edited by rob.rice; 01-15-2017 at 04:25 PM.
 
Old 01-16-2017, 12:48 AM   #8
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,509

Original Poster
Rep: Reputation: 177Reputation: 177
This system was setup privately, in my home in fact. I'm doing a similar test with a different target computer, same OS to see if the problem persists -- thus meaning a router issue. I've been connected "remotely" to the target system for 12+ hours, running various jobs with no droppage.

Unfortunately, I built the other computer for a friend and he and the computer have now disappeared North. I'll have to get feeback from him later to see if the problem followed him.
 
Old 01-16-2017, 02:05 AM   #9
agillator
Member
 
Registered: Aug 2016
Distribution: Mint 19.1
Posts: 419

Rep: Reputation: Disabled
I once had the same problem with RealTek chips. I believe I solved it by removing network manager and installing wicd. It was some time ago so I am not positive, but I used wicd for a long time and I believe that was the reason. I know I never had the problem while using wicd. Removing network manager and installing wicd are simple processes, so if it doesn't help you can always go back.
 
Old 01-18-2017, 03:07 AM   #10
ondoho
LQ Addict
 
Registered: Dec 2013
Posts: 19,872
Blog Entries: 12

Rep: Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052Reputation: 6052
^ i would like to believe that newtworkmanager has gotten better since.
but i guess wicd is still a good tool and probably the saner choice.

mfoley, any info about connection strength? is the connection dropping because the signal is too weak?
 
Old 01-18-2017, 08:57 AM   #11
petelq
Member
 
Registered: Aug 2008
Location: Yorkshire
Distribution: openSUSE(Leap and Tumbleweed) and a (not so) regularly changing third and fourth
Posts: 627

Rep: Reputation: Disabled
I've had problems on various distros with the built-in kernel drivers for realtek. I've used two different chipsets and they both regularly dropped connection.
There are quite a few fixed drivers on git for these, some with built-in dkms conf arrangements. Try googling "git rtl8812ae". I'd be surprised if someone hasn't fixed this.

I should add that I still have 2 different rtl chipsets on 2 machines , both working perfectly (with a fix from git).
 
Old 05-23-2017, 09:10 PM   #12
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,509

Original Poster
Rep: Reputation: 177Reputation: 177
When 5GHz is enabled on the router, the D-Link cannot connect at all.

petelq: yes, there are LOTS of posts returned from your suggested search "git rtl8812ae". But, first of all I'd rather not read through and try them each in turn. Secondly, this is a computer set up for a Linux virgin with automated software updates scheduled. I'd really rather not have some non-standard driver (to the distro) installed that might get clobbered by a kernel upgrade.

So, can any of you recommend a wireless card that will DEFINITELY work, out of the box with standard Slackware64 14.2? This is the 2nd card I've tried in this computer. Not very good odds so far.
 
Old 05-26-2017, 01:43 AM   #13
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,509

Original Poster
Rep: Reputation: 177Reputation: 177
Solution is to replace network card. Actually, the side of the box it came in said, not recommended for Mac or Linux (funny, I didn't think Mac had PCIe slots!). Have ordered a new card from Think Penguin.
 
Old 06-02-2017, 04:25 AM   #14
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,509

Original Poster
Rep: Reputation: 177Reputation: 177
OK, NOT solved. I've got a brand new Atheros wireless PCIe card from ThinkPenguin (guarenteed! to work with Linux). Same exact thing. after +/-5 minutes I am disconnected.

I'm pretty sure it must not be the card. I've experienced this behavior with 3 wireless cards at this point. I'm thinking either there is something mis-firing with NetworkManager (which I've never used before), or there is some setting in the AT&T router that auto-disconnects.

I've not seen any such setting in the router and I'm disinclined toward that theory. Possibly NetworkManager? I seen complaints. Thoughts?

New network card:
Code:
06:00.0 Network controller: Qualcomm Atheros AR928X Wireless Network Adapter (PCI-Express) (rev 01)
        Subsystem: Lenovo AR928X Wireless Network Adapter (PCI-Express)
        Flags: bus master, fast devsel, latency 0, IRQ 19
        Memory at fbb00000 (64-bit, non-prefetchable) [size=64K]
        Capabilities: [40] Power Management version 2
        Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
        Capabilities: [60] Express Legacy Endpoint, MSI 00
        Capabilities: [90] MSI-X: Enable- Count=1 Masked-
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [140] Virtual Channel
        Capabilities: [160] Device Serial Number 00-00-00-00-00-00-00-00
        Kernel driver in use: ath9k
        Kernel modules: ath9k
 
Old 06-03-2017, 11:44 PM   #15
mfoley
Senior Member
 
Registered: Oct 2008
Location: Columbus, Ohio USA
Distribution: Slackware
Posts: 2,509

Original Poster
Rep: Reputation: 177Reputation: 177
No one has any suggestions on how to configure wireless in KDE other than NetworkManager? rob.rice mentioned wicd, which is not listed in netconfig. Is wicd it's own thing or does it use NetworkManager? If I use netconfig I basically get 2 choices: DHCP (rc.inet*) and NetworkManager. Are those my choices?
 
  


Reply

Tags
disconnection, wireless


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
Keep losing wireless connection Woodsman Slackware 31 08-07-2013 12:03 AM
[SOLVED] Losing Wireless Connection After Logout/Sleep RJwen Slackware 10 10-20-2012 11:12 PM
Lucid Not losing wireless connection snif123 Linux - Networking 0 08-14-2010 08:39 PM
Keep losing connection on ethernet card with public IP's hendrixx Linux - Networking 7 03-15-2009 10:00 AM
losing wireless connection merchtemeagle Linux - Wireless Networking 5 07-10-2006 04:25 PM

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

All times are GMT -5. The time now is 08:45 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