LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 10-27-2017, 05:14 PM   #1
iceman81
Member
 
Registered: Jan 2013
Location: New Jersey
Distribution: CentOS, Arch
Posts: 181

Rep: Reputation: Disabled
wifi card issue


Hey guys, i have a fairly new lenovo laptop(510-15ikb) and there seems to be some issues with they type of wifi card that is it. Its a realtek(RTL8821AE).

I installed fedora 26, and notice it drops constantly. Found no real resolution but that its a bug, so i tried a live usb version of linux mint, and I'm encountering the same issue.

on the mint forums i found someone saying to edit the NetworkManager.conf to comment out

#dns=dnsmasq

this keeps me connected it seems, but speed tests are showing 25/3. where when the win10 hdd is in, i steadly get 50/25.

I think the issue is the link is showing 72.2 Mb/s

Is there anything that can do to fix this?
 
Old 10-27-2017, 06:41 PM   #2
agillator
Member
 
Registered: Aug 2016
Distribution: Mint 19.1
Posts: 419

Rep: Reputation: Disabled
What you describe is often a matter of the driver. Broadcom is well known for problems but Realtek seems to have been more reliable. However, check to make sure you have the most current driver from realtek. Then you might check the modules loaded and remove all wifi card drivers except the correct one. Sometimes there are conflicts. If none of that works then try ndiswrapper with a windows driver. That will often work when nothing else will.
 
Old 10-27-2017, 09:56 PM   #3
iceman81
Member
 
Registered: Jan 2013
Location: New Jersey
Distribution: CentOS, Arch
Posts: 181

Original Poster
Rep: Reputation: Disabled
i have installed an up to date driver. Seems like this wifi card is not very compatible with linux. Such a bummer, every time i try to use linux there is always some type of brickwall it seems. I have no issues with the learning curve, but at the end of the day, sometimes you just want things to work. I guess this laptop will just have to run linux on a VM.
 
Old 10-28-2017, 02:14 AM   #4
agillator
Member
 
Registered: Aug 2016
Distribution: Mint 19.1
Posts: 419

Rep: Reputation: Disabled
Try ndiswrapper with a windows driver. Sometimes a bit of a pain to install, but once installed it seems to work ok. I've had to use it a time or two.
 
Old 10-28-2017, 05:53 AM   #5
Shadow_7
Senior Member
 
Registered: Feb 2003
Distribution: debian
Posts: 4,137
Blog Entries: 1

Rep: Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873Reputation: 873
Dropped connections for me have traditionally been bad/old driver and firmware issues. Although on my most recent laptop there's an antennae quirk. The hardware has connection points for 2 antennae but only 1 is connected to an antennae, and NOT the default one. So I have to pass ant_sel=# to the module/driver. If when you scan for networks and the signal strength is never > 50%, that is probably why. Quality 32/70 is the best I saw before applying the solution resulting in Quality 70/70. Although the module for your chipset doesn't seem to have that option.

$ sudo modinfo rtl8821ae
Code:
filename:       /lib/modules/4.12.0-2-amd64/kernel/drivers/net/wireless/realtek/rtlwifi/rtl8821ae/rtl8821ae.ko
firmware:       rtlwifi/rtl8821aefw_29.bin
firmware:       rtlwifi/rtl8821aefw.bin
description:    Realtek 8821ae 802.11ac PCI wireless
license:        GPL
author:         Realtek WlanFAE	<wlanfae@realtek.com>
alias:          pci:v000010ECd00008821sv*sd*bc*sc*i*
alias:          pci:v000010ECd00008812sv*sd*bc*sc*i*
depends:        rtlwifi,rtl_pci,btcoexist,mac80211
intree:         Y
vermagic:       4.12.0-2-amd64 SMP mod_unload modversions 
parm:           swenc:Set to 1 for software crypto (default 0) (bool)
parm:           ips:Set to 0 to not use link power save (default 1) (bool)
parm:           swlps:Set to 1 to use SW control power save (default 0) (bool)
parm:           fwlps:Set to 1 to use FW control power save (default 1) (bool)
parm:           msi:Set to 1 to use MSI interrupts mode (default 1) (bool)
parm:           debug_level:Set debug level (0-5) (default 0) (int)
parm:           debug_mask:Set debug mask (default 0) (ullong)
parm:           disable_watchdog:Set to 1 to disable the watchdog (default 0) (bool)
parm:           int_clear:Set to 0 to disable interrupt clear before set (default 1) (bool)
$ sudo ip link set wlo1 up
$ sudo iw dev wlo1 scan

$ sudo iwlist wlo1 scanning

In my case $(sudo dmesg) results in these lines when my driver is loaded (rtl8723be).

$ sudo dmesg
Code:
[1461427.473007] rtl8723be: Using firmware rtlwifi/rtl8723befw_36.bin
[1461427.473229] rtl8723be 0000:02:00.0: firmware: direct-loading firmware rtlwifi/rtl8723befw_36.bin
[1461427.474401] ieee80211 phy0: Selected rate control algorithm 'rtl_rc'
[1461427.475397] rtlwifi: rtlwifi: wireless switch is on
[1461427.479690] rtl8723be 0000:02:00.0 wlo1: renamed from wlan0
[1461437.711735] IPv6: ADDRCONF(NETDEV_UP): wlo1: link is not ready
Take note of the firmware and it's location /lib/firmware/rtlwifi/rtl8723befw.bin and make sure that you have the newest version available. Yours will obviously differ in name. Various git methods from kernel.org to get the latest firmware, but you'll need to manually move it to the location that the driver pulls it from.
 
  


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
double wifi card driver issue microcircuit Linux - Hardware 13 08-02-2017 10:23 AM
Mint8: BCM4312 wifi card, restricted drivers issue caffemisto Linux Mint 0 01-07-2010 11:02 AM
Forwarding wifi connectivity from one router through a single-card Wifi computer CJ Chitwood Linux - Networking 3 11-01-2008 08:56 PM
Best WiFi PCI (or else) card in general for Linux and WiFi network experimentation? ICEMANII Linux - Wireless Networking 2 09-21-2006 04:50 PM
Kubuntu install dwl-650+ wifi card issue esteeven Ubuntu 6 11-27-2005 02:45 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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