LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?

Notices


Reply
  Search this Thread
Old 03-03-2021, 06:07 AM   #1
abh
Member
 
Registered: Aug 2009
Posts: 30

Rep: Reputation: 1
can't get PCIe wifi adaptor to work


After installing the firmware from the Debian buster repositories, I got no complaints after a restart:

# dmesg | grep firmware

rtl18192ee: Using firmware rtlwifi/rt18192eefw.bin
rtl18192ee 0000:02:00.0: firmware: direct-loading firmware rtlwifi/rtl8192eefw.bin
r8169 0000:03:00.0: firmware: direct-loading firmware rtl_nic/rtl8168d-1.fw

And all the drivers are loaded:

$ lsmod | grep rtl

rt18192ee 98304 0
btcoexist 143360 1 rtl8192ee
rtl_pci 32768 1 rtl8192ee
rtlwifi 65536 3 rtl8192ee,rtl_pci,btcoexist
mac80211 569344 3 rtl8192ee,rtl_pci,rtlwifi
cfg80211 499712 2 mac80211,rtlwifi

I have also checked using rfkill that the wlan interface is unblocked. Despite all this I get "No wireless networks found" from wicd and /proc/net/wireless is empty. There's a windows machine in here that picks up the wireless.

I'm at my wits end because I had the identical experience with a usb wifi adapter. What could I be missing?

By the way, the pci adapter is a tp-link TL-WN881ND (using Realtek firmware) and the usb adapter is tp-link TL-WN722N (using Atheros firmare).
 
Old 03-03-2021, 07:08 AM   #2
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 3,018

Rep: Reputation: 400Reputation: 400Reputation: 400Reputation: 400Reputation: 400
Please post the output of:
Code:
$ lspci -v | grep Wireless
That should give the exact chipset of your wireless card.
 
Old 03-03-2021, 06:50 PM   #3
abh
Member
 
Registered: Aug 2009
Posts: 30

Original Poster
Rep: Reputation: 1
Quote:
$ lspci -v | grep Wireless

02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192EE PCIe Wireless Network Adapter
Subsystem: Realtek Semiconductor Co., Ltd. RTL8192EE PCIe Wireless Network Adapter
This is why I installed the firmware-realtek_20190114-2_all.deb from the Debian buster depository.
I thought this would be enough.
And judging from the output of dmesg and lsmod I put in my first post it should be.
 
Old 03-03-2021, 07:06 PM   #4
abh
Member
 
Registered: Aug 2009
Posts: 30

Original Poster
Rep: Reputation: 1
O, I forgot

Quote:
$ uname -r

4.19.0-10-686-pae
 
Old 03-03-2021, 08:05 PM   #5
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
Despite all this I get "No wireless networks found" from wicd and /proc/net/wireless is empty
Maybe NetworkManager is down, try starting it and enabling if it appears it was not enabled.
Code:
systemctl start NetworkManager
systemctl enable NetworkManager
If you can see the wireless device (IE: wlp1so) when you run command ---> ip link
Try bringing it up with command ---> ip link set wlp1so up
 
Old 03-03-2021, 08:12 PM   #6
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Obviously since you're using wicd, NetworkManager is down.
Sometimes unloading the module and reloading it works.
 
Old 03-03-2021, 09:14 PM   #7
kilgoretrout
Senior Member
 
Registered: Oct 2003
Posts: 3,018

Rep: Reputation: 400Reputation: 400Reputation: 400Reputation: 400Reputation: 400
If you google "linux RTL8192EE PCIe Wireless Network Adapter" you'll see that you are not alone in getting this device to work. The general consensus seems to be that you need to install the vendor driver from:

https://github.com/lwfinger/rtl8192ee

See:

https://askubuntu.com/questions/1236...8192ee#1245978

https://bbs.archlinux.org/viewtopic.php?id=263714

Apparently, the kernel rt18192ee driver doesn't appear to work very well, if at all, with your card and that's on relatively recent kernels(ubuntu 20.04 and arch). The vendor driver on github seems to have some success.
 
Old 03-16-2021, 04:03 AM   #8
abh
Member
 
Registered: Aug 2009
Posts: 30

Original Poster
Rep: Reputation: 1
Thanks for your links suggesting the unreliability of Linux wifi adapter drivers.

I have side stepped the issue and bought a wifi repeater with an ethernet port.
So my pc can access the wifi from down the road without an adapter.
Works perfectly!
 
Old 03-16-2021, 04:01 PM   #9
tofino_surfer
Member
 
Registered: Aug 2007
Posts: 483

Rep: Reputation: 153Reputation: 153
Quote:
Try bringing it up with command ---> ip link set wlp1so up
This is the wrong PCIe address. From the OP's reply it is slot 2:

Code:
$ lspci -v | grep Wireless

02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8192EE PCIe Wireless Network Adapter
It should be

Code:
$ ip link set wlp2so up
 
Old 03-16-2021, 04:07 PM   #10
tofino_surfer
Member
 
Registered: Aug 2007
Posts: 483

Rep: Reputation: 153Reputation: 153
Quote:
Thanks for your links suggesting the unreliability of Linux wifi adapter drivers.
These links only suggest the unreliability of Realtek drivers for 8192. You seem to be substituting Linux for Realtek yourself and assuming if one make and model of chip gives Linux users problems then they all will. This is the wrong attitude.

As you are new to Linux let me tell you the secret. Get Intel wifi adapters or ones with Intel chips such as the Asus I have. Intel drivers come with the Linux kernel. Mine worked perfectly out of the box with Manjaro and Fedora.

https://www.canadacomputers.com/prod...28&language=en


Quote:
I have side stepped the issue and bought a wifi repeater with an ethernet port.
If you used Intel chip adapters there would have been no need for this.

Last edited by tofino_surfer; 03-16-2021 at 04:14 PM.
 
1 members found this post helpful.
Old 03-17-2021, 05:45 AM   #11
business_kid
LQ Guru
 
Registered: Jan 2006
Location: Ireland
Distribution: Slackware, Slarm64 & Android
Posts: 17,530

Rep: Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604Reputation: 2604
For future reference, Abh, you need to cross check your Realtek card number to see
  • if it is supported in the kernel
  • If it is supported on their site
  • If the website driver is any use

A programmer needs to be of a certain standard before he is allowed to contribute kernel code. So anything in the kernel is good. Many such programmers work for peripheral companies (e.g. Qualcomm) and contribute drivers and firmware. Realtek never bothered, but put drivers on their website. Some but not all of those got in the iwlwifi kernel module, presumably after validation. Realtek are not the only ones with driver issues.

The cheapest hardware is inclined to have the worst support. Another 'Rock below water' is Ralink. Pay an extra $1 or $2 and save yourself endless hours of pain and poor performance.
 
Old 03-17-2021, 11:36 PM   #12
abh
Member
 
Registered: Aug 2009
Posts: 30

Original Poster
Rep: Reputation: 1
Thanks for your suggestions everyone.

Ralink and Realtex have been mentioned as dubious, and Intel as one of the best.
Which chipset manufacurers are the best for Linux and which are the worst?
How many are there in total?
 
Old 03-18-2021, 02:56 AM   #13
pan64
LQ Addict
 
Registered: Mar 2012
Location: Hungary
Distribution: debian/ubuntu/suse ...
Posts: 24,220

Rep: Reputation: 7952Reputation: 7952Reputation: 7952Reputation: 7952Reputation: 7952Reputation: 7952Reputation: 7952Reputation: 7952Reputation: 7952Reputation: 7952Reputation: 7952
Quote:
Originally Posted by abh View Post
Ralink and Realtex have been mentioned as dubious, and Intel as one of the best.
no, that is not that simple
Quote:
Originally Posted by abh View Post
Which chipset manufacurers are the best for Linux and which are the worst?
I would rather say there are supported and not supported chipsets, that is not really manufacturer dependent. You always need to check if the given hardware is compatible with the distro.
Quote:
Originally Posted by abh View Post
How many are there in total?
the number of chipsets is growing, but we have only a few manufacturers.
 
Old 03-18-2021, 03:27 AM   #14
Brains
Senior Member
 
Registered: Apr 2009
Distribution: All OS except Apple
Posts: 1,591

Rep: Reputation: 389Reputation: 389Reputation: 389Reputation: 389
Quote:
Originally Posted by tofino_surfer View Post
This is the wrong PCIe address. From the OP's reply it is slot 2:
It should be

Code:
$ ip link set wlp2so up
Thanks, something I obviously overlooked. Sure wish I could edit the post...
 
Old 03-18-2021, 01:11 PM   #15
tofino_surfer
Member
 
Registered: Aug 2007
Posts: 483

Rep: Reputation: 153Reputation: 153
Quote:
Thanks, something I obviously overlooked. Sure wish I could edit the post...
It is very easy on LQ to edit your own posts after the fact. All of my own posts have a third icon 'Edit' in between 'Report' and 'Quote'.
 
  


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
LXer: Coffee Lake system can expand via M.2, mini-PCIe, PCIe, and Xpansion LXer Syndicated Linux News 0 10-23-2020 05:12 PM
Can PCIe device driver support to read a particlualr buffer in the PCIe device with mutiple buffers? cwang_sh Linux - Hardware 3 07-02-2018 09:17 AM
PCIe re-enumation in linux driver question (pcie hotplug doesn't work) blavo Programming 5 08-02-2012 02:12 PM
[SOLVED] Best PCIe 2.0 graphics card for for PCIe 1.1, Pentium Dual Core system. ags1 Linux - Hardware 12 04-27-2012 03:54 AM
usb to serial adaptor adaptor longwire Linux - Hardware 1 03-13-2009 06:35 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 07:09 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
Open Source Consulting | Domain Registration