Ubuntu 18.04.1 Realtek Wireless Adaptor not recognized

Michael C Hellyer

New Member
Joined
Dec 21, 2018
Messages
10
Reaction score
4
Credits
0
I am trying to use Linux instead of Windows for the first time. I tried 11 (Eleven) installations of Debian 9.6 and had no success connecting to WiFi. I used the Firmware that was not included due to open source issues. It said the driver was installed already but needed the firmware. I accomplished nothing except wiping out my hard drive trying to partition it using Debian. I purchased a DVD/CD from OSD for this.

Then I thought, let me try Ubuntu as it is supposed to include newest drivers - WRONG. lol

I installed (many times) Ubuntu 18.04.1 LTS. It still did not recognize my PCI card. Next, I purchased a USB wifi adapter known to work with LINUX. WRONG AGAIN. I have tried every "Ask Ubuntu" post as well as Google search. Either it doesn't work, or the post has NO IDEA what it's like to be a Noob. I have no idea what they are talking about.

Facts: Computer Desktop Lenovo ideacentre 300 - 20ish, 8GB Ram, 1 TB HD, was Windows 10, no longer. PCI Wireless Network Adapter - realtek RTL8821AE 802.11ac USB Wifi - tp-link AC1300 High Gain Archer T4U OS - Linux 18.04.1 LTS

Under Software & Updates shows Additional Drivers - Using dkms source for the r8821au network driver from rtl8812au-dkms (open source).

I entered lspci -nnk | grep 0280 -A3 and nothing happened. I then tried it as two separate commands and this happened after entering lspci -nnk:

michael@michael-ideacentre-300-20ISH:~$ lspci -nnk | grep 0280 -A3
michael@michael-ideacentre-300-20ISH:~$ lspci -nnk | grep 0280 -A3
michael@michael-ideacentre-300-20ISH:~$ lspci -nnk
00:00.0 Host bridge [0600]: Intel Corporation Skylake Host Bridge/DRAM Registers [8086:190f] (rev 07)
Subsystem: Lenovo Xeon E3-1200 v5/E3-1500 v5/6th Gen Core Processor Host Bridge/DRAM Registers [17aa:30c7]
Kernel driver in use: skl_uncore
00:02.0 VGA compatible controller [0300]: Intel Corporation HD Graphics 530 [8086:1912] (rev 06)
Subsystem: Lenovo HD Graphics 530 [17aa:30c7]
Kernel driver in use: i915
Kernel modules: i915
00:14.0 USB controller [0c03]: Intel Corporation Sunrise Point-H USB 3.0 xHCI Controller [8086:a12f] (rev 31)
Subsystem: Lenovo Sunrise Point-H USB 3.0 xHCI Controller [17aa:30c7]
Kernel driver in use: xhci_hcd
00:16.0 Communication controller [0780]: Intel Corporation Sunrise Point-H CSME HECI #1 [8086:a13a] (rev 31)
Subsystem: Lenovo Sunrise Point-H CSME HECI [17aa:30c7]
Kernel driver in use: mei_me
Kernel modules: mei_me
00:17.0 SATA controller [0106]: Intel Corporation Sunrise Point-H SATA controller [AHCI mode] [8086:a102] (rev 31)
Subsystem: Lenovo Sunrise Point-H SATA controller [AHCI mode] [17aa:30c7]
Kernel driver in use: ahci
Kernel modules: ahci
00:1c.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #6 [8086:a115] (rev f1)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1d.0 PCI bridge [0604]: Intel Corporation Sunrise Point-H PCI Express Root Port #9 [8086:a118] (rev f1)
Kernel driver in use: pcieport
Kernel modules: shpchp
00:1f.0 ISA bridge [0601]: Intel Corporation Sunrise Point-H LPC Controller [8086:a143] (rev 31)
Subsystem: Lenovo Sunrise Point-H LPC Controller [17aa:30c7]
00:1f.2 Memory controller [0580]: Intel Corporation Sunrise Point-H PMC [8086:a121] (rev 31)
Subsystem: Lenovo Sunrise Point-H PMC [17aa:30c7]
00:1f.3 Audio device [0403]: Intel Corporation Sunrise Point-H HD Audio [8086:a170] (rev 31)
Subsystem: Lenovo Sunrise Point-H HD Audio [17aa:30c7]
Kernel driver in use: snd_hda_intel
Kernel modules: snd_hda_intel
00:1f.4 SMBus [0c05]: Intel Corporation Sunrise Point-H SMBus [8086:a123] (rev 31)
Subsystem: Lenovo Sunrise Point-H SMBus [17aa:30c7]
Kernel driver in use: i801_smbus
Kernel modules: i2c_i801
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)
Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:30c7]
Kernel driver in use: r8169
Kernel modules: r8169
michael@michael-ideacentre-300-20ISH:~$ grep 0280 -A3

I then entered just grep 0280 -A3 and got the new prompt above.

I entered lsusb and got this: Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 009: ID 2357:0115
Bus 001 Device 005: ID 05e3:0745 Genesys Logic, Inc. Logilink CR0012 Bus 001 Device 004: ID 17ef:602e Lenovo Bus 001 Device 003: ID 1130:1620 Tenx Technology, Inc. Bus 001 Device 007: ID 0bda:0821 Realtek Semiconductor Corp. Bus 001 Device 002: ID 17ef:602d Lenovo Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

I entered rfkill list all and got:

0: hci0: Bluetooth Soft blocked: no Hard blocked: no
 


G'day Michael, and Welcome to Linux.org

If you have access to an Ethernet cable pop it in the machine then open terminal and type in: sudo apt-get install bcmwl-kernel-source
 
G'day Michael - I'm another Aussie, like Brian, above, welcome also :). I'm September 27 1957. We won't say how old Brian is, dog years or other.

My goodness you have been in the wars, haven't you?

Points for perseverance :), and thanks for all the output, we can always use it.

See how you go with Brian's suggestion, and if no go, we'll see what magic we can rustle up.

Friday here in Oz, so

Avagudweegend, all ;)

Chris Turner
wizardfromoz
 
G'day Michael - I'm another Aussie, like Brian, above, welcome also :). I'm September 27 1957. We won't say how old Brian is, dog years or other.

My goodness you have been in the wars, haven't you?

Points for perseverance :), and thanks for all the output, we can always use it.

See how you go with Brian's suggestion, and if no go, we'll see what magic we can rustle up.

Friday here in Oz, so

Avagudweegend, all ;)

Chris Turner
wizardfromoz


Aussie aussie aussie. Thanks.
 
Aussie ... oi ...Aussie .... oi .... Aussie ....oi .... Aussie Aussie Aussie oi oi oi oi :D:rolleyes:

Morning all, now what have I missed?

Michael - Mate either or both of those two (2) links @arochester has provided may well provide a working solution, they appear at face value to be right on the money, as I would expect of him :)

Install "Firmware-iwlwifi"

... was not a bad call, @Peer :), given what Michael had told us, but does not apply here.

I am guessing Michael has found an article such as this , where that User has those circumstances.

In Michael's extensive output, he included

Code:
lspci -nnk | grep 0280 -A3

... and that would provide an output, were he in need of iwlwifi.

In fact, better would have been

Code:
lspci -nnk | grep 0280

... which in my case provides the following

Code:
[chris@MJRO-Xfce ~]$ lspci -nnk | grep 0280
03:00.0 Network controller [0280]: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter [168c:0042] (rev 31)

As you can see from my prompt, I am in Manjaro at the moment, but I can swing over to an Ubuntu if need be.

So see how you go with arochester's offerings, and I'll be around during my day ;)

Cheers

Wiz
 
I checked BIOS and wifi is enabled. I ran the following:
michael@michael-ideacentre-300-20ISH:~$ git clone https://github.com/lwfinger/rtlwifi_new.git
fatal: destination path 'rtlwifi_new' already exists and is not an empty directory.
michael@michael-ideacentre-300-20ISH:~$

lspci | grep Wireless Nothing

sudo apt-get install linux-headers-generic build-essential git
git clone http://github.com/lwfinger/rtlwifi_new.git
cd rtlwifi_new
make
sudo make install Nothing changed

sudo modprobe rtl8821ae Rebooted and nothing changed.

sudo apt-get install linux-headers-generic build-essential git

Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version (12.4ubuntu1).
git is already the newest version (1:2.17.1-1ubuntu0.4).
linux-headers-generic is already the newest version (4.15.0.43.45).
The following packages were automatically installed and are no longer required:
linux-headers-4.15.0-29 linux-headers-4.15.0-29-generic
linux-image-4.15.0-29-generic linux-modules-4.15.0-29-generic
linux-modules-extra-4.15.0-29-generic
Use 'sudo apt autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 7 not upgraded.
michael@michael-ideacentre-300-20ISH:~$

sudo make install

make: *** No rule to make target 'install'. Stop.
michael@michael-ideacentre-300-20ISH:~$

I did not try to remove and blacklist the broadcom drivers



Thanks for all the help so far. Response is amazing.
 
G'day Michael.

1st up, can you give me the output of

Code:
lspci -nnk | grep -iA2 net

Mine looks like this

Code:
chris@Tara-Cinnamon-SSD:~$ lspci -nnk | grep -iA2 net
02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8101/2/6E PCI Express Fast/Gigabit Ethernet controller [10ec:8136] (rev 07)
    Subsystem: Dell RTL810xE PCI Express Fast Ethernet controller [1028:0811]
    Kernel driver in use: r8169
    Kernel modules: r8169
03:00.0 Network controller [0280]: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter [168c:0042] (rev 31)
    Subsystem: Dell QCA9377 802.11ac Wireless Network Adapter [1028:1810]
    Kernel driver in use: ath10k_pci
    Kernel modules: ath10k_pci

... Highlighting is mine.

If you don't have output on the Network Controller, don't be disappointed ... yet :(:eek::D

I may be onto something, not sure yet.

Ta (pron. "tar" Aussie for thanks) for your patience.

Thanks for all the help so far. Response is amazing.

We''ll share the kudos if we get you a good result ;)

Kind words, though, and always appreciated.

Wiz
 
G'day,

michael@michael-ideacentre-300-20ISH:~$ Code:
Code:: command not found
michael@michael-ideacentre-300-20ISH:~$
michael@michael-ideacentre-300-20ISH:~$ lspci -nnk | grep -iA2 net
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)
Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:30c7]
Kernel driver in use: r8169
Kernel modules: r8169
 
michael@michael-ideacentre-300-20ISH:~$ Code:
Code:: command not found

:oops: Oops, you are new to this :)

It's on my list to do up a Thread on Posting here.

On your Reply Pane toolbar 4th from right is an icon with a plus sign + in a square/oblong.

Clicking that reveals options including "Code".

With it, we can put the commands we suggest to you, and you, the output you give us back, in a neat format that is easy for us to cut and paste and respond.

If we put a #, it is a comment or remark, and not a command to be typed.

So with your above:

Code:
michael@michael-ideacentre-300-20ISH:~$ Code:
Code:: command not found

# Not really a command to be typed, it is just the code field

michael@michael-ideacentre-300-20ISH:~$
michael@michael-ideacentre-300-20ISH:~$ lspci -nnk | grep -iA2 net
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)
Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:30c7]
Kernel driver in use: r8169
Kernel modules: r8169

You'll pick it up quickly, I am sure :p

When you give us the output, you can include in the copy and paste your prompt (user id ending in ~$) and the command too, just as I have in mine, above, then we can see that you got the syntax of the command correctly.

Thanks for that output.

So Ubuntu is definitely not getting your Network Controller info, just the Ethernet cable stuff, and I expect the same applied to Debian.

Sweet, we'll go from there.

I have to scoot for my Saturday evening and I'll be back on deck tomorrow. But I do not have a mortgage on knowledge at this site, so if someone else comes along with a good idea in the interim, don't wait for me :D

Cheers

Wiz

We'll make an honourary Aussie out of this bloke :rolleyes:
 
:oops: Oops, you are new to this :)

It's on my list to do up a Thread on Posting here.

On your Reply Pane toolbar 4th from right is an icon with a plus sign + in a square/oblong.

Clicking that reveals options including "Code".

With it, we can put the commands we suggest to you, and you, the output you give us back, in a neat format that is easy for us to cut and paste and respond.

If we put a #, it is a comment or remark, and not a command to be typed.

So with your above:

Code:
michael@michael-ideacentre-300-20ISH:~$ Code:
Code:: command not found

# Not really a command to be typed, it is just the code field

or just stupid. lmao

michael@michael-ideacentre-300-20ISH:~$
michael@michael-ideacentre-300-20ISH:~$ lspci -nnk | grep -iA2 net
01:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c)
Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:30c7]
Kernel driver in use: r8169
Kernel modules: r8169

You'll pick it up quickly, I am sure :p

When you give us the output, you can include in the copy and paste your prompt (user id ending in ~$) and the command too, just as I have in mine, above, then we can see that you got the syntax of the command correctly.

Thanks for that output.

So Ubuntu is definitely not getting your Network Controller info, just the Ethernet cable stuff, and I expect the same applied to Debian.

Sweet, we'll go from there.

I have to scoot for my Saturday evening and I'll be back on deck tomorrow. But I do not have a mortgage on knowledge at this site, so if someone else comes along with a good idea in the interim, don't wait for me :D

Cheers

Wiz


We'll make an honourary Aussie out of this bloke :rolleyes:
 
Ubuntu 18.04.1 LTS

Morning all :)

Michael when you get a chance, did you install the GNOME desktop version or the MATE?

If you are not sure

Code:
echo $DESKTOP_SESSION

... will reveal "ubuntu" or "mate".

Cheers

Wiz
 
Morning all :)

Michael when you get a chance, did you install the GNOME desktop version or the MATE?

If you are not sure

Code:
echo $DESKTOP_SESSION

... will reveal "ubuntu" or "mate".

Cheers

Wiz

It says Ubuntu, which is what I installed - Gnome.
 
Thanks for your help.

I ran the lsusb command and got back:
0bda:0821 which says the chipset is for "Realtek Bluetooth 4.0 Adapter"
I checked that the bluetooth is disabled in case they shared the connection(?) and rebooted but still no wifi adaptor found. The rest of the article did not cover 8812ae.
 
Attempted all fixes with no change. It shows my chip set to be a Realtek 4.0 Bluetooth adaptor. I disabled bluetooth to see if they were both trying to connect(?). No luck. It did show a soft block but it made no difference.

michael@michael-ideacentre-300-20ISH:~$ iwconfig
lo no wireless extensions.

eno1 no wireless extensions.

michael@michael-ideacentre-300-20ISH:~$ rfkill list all
0: hci0: Bluetooth
Soft blocked: yes
Hard blocked: no
michael@michael-ideacentre-300-20ISH:~$ rfkill unblock all
michael@michael-ideacentre-300-20ISH:~$
 
Hi Michael.

Earlier in this Thread, you had in part

linux-headers-generic is already the newest version (4.15.0.43.45).
The following packages were automatically installed and are no longer required:
linux-headers-4.15.0-29 linux-headers-4.15.0-29-generic
linux-image-4.15.0-29-generic linux-modules-4.15.0-29-generic
linux-modules-extra-4.15.0-29-generic
Use 'sudo apt autoremove' to remove them.

Did you autoremove the old kernels, or leave them in place? If you didn't ... don't :)

I have a feeling that this is a combination of :

  • Linux kernel in use
  • Lenovo (we get many problems from them) and
  • Realtek
... as a combined issue.

Since your Windows got wiped, do you still have a Grub Menu at startup, or does it boot straight in to Ubuntu?

If the latter, I would like to make your Grub Menu visible at all startups.

When I am responding to this Thread, I am using your 'buntu GNOME, hence my asking before which DE. That way I can better direct you if we need to do something with the GUI side of things.

Cheers

Wiz
 


Top