Turning on WiFi in Buster is not possible [SOLVED!]

New to Debian (Or Linux in general)? Ask your questions here!

Turning on WiFi in Buster is not possible [SOLVED!]

Postby ravy » 2020-12-13 19:56

Hi. I just got here and I just installed Debian buster. I'm sort of new user to linux world. So.
The problem is I cannot turn on wifi in my Debian. In last 3 4 days, I tried any link I found in google, I removed and reinstalled the OS several times, and nothing helped to get wifi on. I even don't know how to start thrubleshooting the problem. But, I want to stay on Debian and learn it for sure. I'll be so thankfull if you help me to get through this very first problem I'm having. Thanks in advance.
Last edited by ravy on 2020-12-16 19:02, edited 1 time in total.
ravy
 
Posts: 7
Joined: 2020-12-13 19:49

Re: Turn on wifi in newly installed buster is not possible

Postby 4D696B65 » 2020-12-13 20:14

Almost all wireless cards require non-free firmware to be installed. First we need to know what chipset your wireless uses.
Open a terminal and run this
Code: Select all
lspci -nn | grep -i net

post the results here
User avatar
4D696B65
 
Posts: 2515
Joined: 2009-06-28 06:09

Re: Turn on wifi in newly installed buster is not possible

Postby ravy » 2020-12-13 20:22

Hi. It's nice to having you helping me. This is the result:
Code: Select all
07:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter [10ec:b822]
08:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
ravy
 
Posts: 7
Joined: 2020-12-13 19:49

Re: Turn on wifi in newly installed buster is not possible

Postby arochester » 2020-12-13 20:37

1) Change your sources list so it contains: contrib and non-free

2) TEMPORARILY connect by Ethernet

3) Install the package: firmware-realtek

4) Remove the Ethernet

5) Reboot

https://medium.com/@authmane512/how-to- ... c0a9213c56
arochester
 
Posts: 1826
Joined: 2010-12-07 19:55

Re: Turn on wifi in newly installed buster is not possible

Postby stevepusser » 2020-12-13 20:52

It appears to be still a staging driver in the stock Buster 4.19 kernel, but graduated to a different "ready for prime time" driver by at least 5.8--at least in the third-party Liquorix kernel. Any help from those running a backports kernel?

Code: Select all
/usr/lib/modules/4.19.0-13-amd64/kernel/drivers/staging/rtlwifi/r8822be.ko
/usr/lib/modules/5.8.0-10.1-liquorix-amd64/kernel/drivers/net/wireless/realtek/rtw88/rtw88_8822be.ko


Edit: Maybe at least a 5.2 backported kernel, according to this, if Debian's staging driver doesn't work well enough. https://wikidevi.wi-cat.ru/Realtek_RTL8 ... mbo_Module
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12186
Joined: 2009-10-06 05:53

Re: Turn on wifi in newly installed buster is not possible

Postby ravy » 2020-12-13 21:00

I did all of these. Nothing changed ):

The output of
Code: Select all
lspci -knn |grep -i net -A2
is:

Code: Select all
07:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter [10ec:b822]
        Subsystem: Lenovo RTL8822BE 802.11a/b/g/n/ac WiFi adapter [17aa:b023]
        Kernel driver in use: r8822be
--
08:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 15)
        Subsystem: Lenovo RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [17aa:38c2]
        Kernel driver in use: r8169
        Kernel modules: r8169
ravy
 
Posts: 7
Joined: 2020-12-13 19:49

Re: Turn on wifi in newly installed buster is not possible

Postby arochester » 2020-12-13 21:09

Have you got a Network Interface e.g. NetworkManager?
arochester
 
Posts: 1826
Joined: 2010-12-07 19:55

Re: Turn on wifi in newly installed buster is not possible

Postby ravy » 2020-12-13 21:15

stevepusser wrote:It appears to be still a staging driver in the stock Buster 4.19 kernel, but graduated to a different "ready for prime time" driver by at least 5.8--at least in the third-party Liquorix kernel. Any help from those running a backports kernel?

Code: Select all
/usr/lib/modules/4.19.0-13-amd64/kernel/drivers/staging/rtlwifi/r8822be.ko
/usr/lib/modules/5.8.0-10.1-liquorix-amd64/kernel/drivers/net/wireless/realtek/rtw88/rtw88_8822be.ko


Edit: Maybe at least a 5.2 backported kernel, according to this, if Debian's staging driver doesn't work well enough. https://wikidevi.wi-cat.ru/Realtek_RTL8 ... mbo_Module


Sorry, I don't know what to do with these commands. I execute theme in terminal and get error (command not found).

Yes i have nmcli installed.
ravy
 
Posts: 7
Joined: 2020-12-13 19:49

Re: Turn on wifi in newly installed buster is not possible

Postby Bulkley » 2020-12-13 23:04

ravy wrote:I removed and reinstalled the OS several times, and . . .


ravy, I wonder if you might like to do one more install. This time try MX Linux which might be easier. It is based on Debian but is well configured. I think the non-free firmware is included. MX is easier than pure Debian for someone new to Linux.
Bulkley
 
Posts: 6031
Joined: 2006-02-11 18:35

Re: Turn on wifi in newly installed buster is not possible

Postby ravy » 2020-12-14 06:56

Bulkley wrote:
ravy wrote:I removed and reinstalled the OS several times, and . . .


ravy, I wonder if you might like to do one more install. This time try MX Linux which might be easier. It is based on Debian but is well configured. I think the non-free firmware is included. MX is easier than pure Debian for someone new to Linux.


Thanks to the advice. I actually did try MX, Ubuntu, Fedora, and some other distros for a few last months. But I decided to move on to the grand father's and learn how to live with. This is a problem that need to be solved; and I don't want to clear the problem itself. Thank yu again.
ravy
 
Posts: 7
Joined: 2020-12-13 19:49

Re: Turn on wifi in newly installed buster is not possible

Postby arochester » 2020-12-14 10:20

This is a problem that need to be solved; and I don't want to clear the problem itself.


Then what is your problem now? Did you managed to install firmware-realtek?

As a Network Interface I find Ceni, available from Repository, simpler.
arochester
 
Posts: 1826
Joined: 2010-12-07 19:55

Re: Turn on wifi in newly installed buster is not possible

Postby reinob » 2020-12-14 12:31

@ravy,

It would be nice if you could check the logs ("journalctl -b", as root, will show the log since the last reboot).
If you're not comfortable with reading the log, you can "journalctl -b > output.txt" (as root), and then post the contents of output.txt here (or paste it to some online service).

Please also check that your wireless card is actually enabled, using the "rfkill" command (as root).
Like

Code: Select all
# rfkill list
0: phy0: Wireless LAN
   Soft blocked: no
   Hard blocked: no
reinob
 
Posts: 870
Joined: 2014-06-30 11:42

Re: Turn on wifi in newly installed buster is not possible

Postby Bulkley » 2020-12-14 20:53

ravy wrote:This is a problem that need to be solved; and I don't want to clear the problem itself.


Understood.

When I was new to Debian I moved my machine (tower, screen, keyboard, wires, etc) down the hall to the router and connected it with Ethernet cable. There I installed the necessary non-free blobs. Basic but it worked.

Other than that, the other guys that posted know their stuff. I'll get out of the way and leave them to it.
Bulkley
 
Posts: 6031
Joined: 2006-02-11 18:35

Re: Turn on wifi in newly installed buster is not possible

Postby stevepusser » 2020-12-14 23:49

If you still have MX on a USB drive, try starting a live session of it, then running Quick System Info from the menu. Pay attention to the first line that tells you what kernel MX is running, then the Network section below. Print or otherwise save that information. If the wi-fi is working on MX as you implied, then we'll know what kernel and driver is being used, and that can be duplicated on standard Buster.
MX Linux packager and developer
User avatar
stevepusser
 
Posts: 12186
Joined: 2009-10-06 05:53

Re: Turn on wifi in newly installed buster is not possible

Postby ravy » 2020-12-16 08:46

stevepusser wrote:If you still have MX on a USB drive, try starting a live session of it


OK. Thanks to all you friends trying to help me. And sorry to not being around for a couple of days and answering too late.
And thanks to @stevepusser, I wondered what is the major different between Debian Buster and other distributions that I have tried and wifi was working perfectly on them. Bingo! The Kernel!
So, thanks to this post, I upgraded the kernel, and then I installed the backported realtek firmware and the problem was gone! Here is the complete solution for how to upgrade the Debian Buster kernel and how to fix WiFi problem on Debian Buster if anyone needed later.
Thank you all again. Cheers.
ravy
 
Posts: 7
Joined: 2020-12-13 19:49

Next

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 11 guests

fashionable