Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: Realtek RTL8822BE device disconnected

Hybrid View

  1. #1
    Join Date
    Jul 2014
    Location
    Cluj-Napoca, RO
    Posts
    34

    Default Realtek RTL8822BE device disconnected

    It has been years since my last issue with wireless drivers and cards on linux but after an July upgrade, my pci wireless card stopped working.
    The card is seen, it has the correct drivers but nmcli says that the device is 'disconnected'. In journalctl there are wifi-scan entries but the nm-applet displays no available wireless networks to connect to.

    I am aware of this bug - but no workarounds from there work ( I don't have a r8822be module). I have deleted the connections but I did not find how to delete the devices (nmcli does not allow it).

    Any ideeas are higly appreciated.

    Thank you.

    simona@devrog:~> uname -a
    Linux devrog 5.2.5-1-default #1 SMP Wed Jul 31 10:41:36 UTC 2019 (79b6a9c) x86_64 x86_64 x86_64 GNU/Linux

    simona@devrog:~> sudo hwinfo
    111: None 00.0: 10700 Loopback
    [Created at net.126]
    Unique ID: ZsBS.GQNx7L4uPNA
    SysFS ID: /class/net/lo
    Hardware Class: network interface
    Model: "Loopback network interface"
    Device File: lo
    Link detected: yes
    Config Status: cfg=no, avail=yes, need=no, active=unknown

    112: None 08.0: 10701 Ethernet
    [Created at net.126]
    Unique ID: pWv0.ndpeucax6V1
    SysFS ID: /class/net/vmnet8
    Hardware Class: network interface
    Model: "Ethernet network interface"
    Device File: vmnet8
    HW Address: 00:50:56:c0:00:08
    Permanent HW Address: 00:50:56:c0:00:08
    Link detected: yes
    Config Status: cfg=no, avail=yes, need=no, active=unknown

    113: None 00.0: 10701 Ethernet
    [Created at net.126]
    Unique ID: l02Y.ndpeucax6V1
    Parent ID: 4Nnf.5vrjS2pudX9
    SysFS ID: /class/net/enp6s0
    SysFS Device Link: /devices/pci0000:00/0000:00:01.3/0000:03:00.2/0000:04:01.0/0000:06:00.0
    Hardware Class: network interface
    Model: "Ethernet network interface"
    Driver: "r8169"
    Driver Modules: "r8169"
    Device File: enp6s0
    HW Address: 2c:fd:a1:24:4a:0b
    Permanent HW Address: 2c:fd:a1:24:4a:0b
    Link detected: no
    Config Status: cfg=no, avail=yes, need=no, active=unknown
    Attached to: #50 (Ethernet controller)

    114: None 00.0: 10701 Ethernet
    [Created at net.126]
    Unique ID: J6JA.ndpeucax6V1
    Parent ID: eS2I.ajJKAwjeCaC
    SysFS ID: /class/net/wlp7s0
    SysFS Device Link: /devices/pci0000:00/0000:00:01.3/0000:03:00.2/0000:04:04.0/0000:07:00.0
    Hardware Class: network interface
    Model: "Ethernet network interface"
    Driver: "rtw_pci"
    Driver Modules: "rtwpci"
    Device File: wlp7s0
    HW Address: 40:9f:38:55:64:55
    Permanent HW Address: 40:9f:38:55:64:55
    Link detected: no
    Config Status: cfg=no, avail=yes, need=no, active=unknown
    Attached to: #38 (WLAN controller)

    115: None 01.0: 10701 Ethernet
    [Created at net.126]
    Unique ID: O+C8.ndpeucax6V1
    SysFS ID: /class/net/vmnet1
    Hardware Class: network interface
    Model: "Ethernet network interface"
    Device File: vmnet1
    HW Address: 00:50:56:c0:00:01
    Permanent HW Address: 00:50:56:c0:00:01
    Link detected: yes
    Config Status: cfg=no, avail=yes, need=no, active=unknown


    simona@devrog:~> sudo lspci | grep Realtek
    06:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 10)
    07:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter

    simona@devrog:~> inxi -N
    Network: Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet driver: r8169
    Device-2: Realtek RTL8822BE 802.11a/b/g/n/ac WiFi adapter driver: rtw_pci

    simona@devrog:~> sudo iwconfig
    enp6s0 no wireless extensions.

    lo no wireless extensions.

    wlp7s0 IEEE 802.11 ESSIDff/any
    Mode:Managed Access Point: Not-Associated Tx-Power=20 dBm
    Retry short limit:7 RTS thrff Fragment thrff
    Encryption keyff
    Power Managementn

    vmnet1 no wireless extensions.

    vmnet8 no wireless extensions.

    simona@devrog:~> sudo iwlist scan
    enp6s0 Interface doesn't support scanning.

    lo Interface doesn't support scanning.

    wlp7s0 No scan results

    vmnet1 Interface doesn't support scanning.

    vmnet8 Interface doesn't support scanning.

    simona@devrog:~> nmcli general status
    STATE CONNECTIVITY WIFI-HW WIFI WWAN-HW WWAN
    disconnected none enabled enabled enabled enabled

    simona@devrog:~> nmcli networking connectivity check
    none

    simona@devrog:~> nmcli radio
    WIFI-HW WIFI WWAN-HW WWAN
    enabled enabled enabled enabled

    simona@devrog:~> nmcli connection show
    NAME UUID TYPE DEVICE
    ShivaLaboratory f7ed70b4-2e4c-46e1-8190-9b57c2e5af9b wifi --

    simona@devrog:~> nmcli device
    DEVICE TYPE STATE CONNECTION
    wlp7s0 wifi disconnected --
    enp6s0 ethernet unavailable --
    vmnet1 ethernet unmanaged --
    vmnet8 ethernet unmanaged --
    lo loopback unmanaged --
    (more details)
    Joy, frustration, excitement, madness, aha's, headaches ... codito ergo sum!
    My software never has bugs. It just develops random features.

  2. #2
    Join Date
    Mar 2011
    Location
    Sauerland
    Posts
    3,977

    Default AW: Realtek RTL8822BE device disconnected

    Please post:
    Code:
    rfkill list all

  3. #3
    Join Date
    Jul 2014
    Location
    Cluj-Napoca, RO
    Posts
    34

    Default Re: Realtek RTL8822BE device disconnected

    simona@devrog:~> sudo rfkill list all
    0: phy0: Wireless LAN
    Soft blocked: no
    Hard blocked: no
    1: hci0: Bluetooth
    Soft blocked: no
    Hard blocked: no
    and iif I want to connect using nmcli:
    simona@devrog:~> sudo nmcli device connect wlp7s0
    Error: Failed to add/activate new connection: A 'wireless' setting is required if no AP path was given.
    Thank you.
    Joy, frustration, excitement, madness, aha's, headaches ... codito ergo sum!
    My software never has bugs. It just develops random features.

  4. #4
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,375
    Blog Entries
    1

    Default Re: Realtek RTL8822BE device disconnected

    Please show us output from
    Code:
    nmcli g
    Code:
    nmcli c
    Edit: Sorry, ignore this post. I didn't notice that this information has already been posted.
    Last edited by deano_ferrari; 09-Aug-2019 at 15:52.
    openSUSE Leap 15.0; KDE Plasma 5

  5. #5
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,375
    Blog Entries
    1

    Default Re: Realtek RTL8822BE device disconnected

    Also do
    Code:
    /usr/sbin/iw dev
    to check which mode the wifi device is in.
    openSUSE Leap 15.0; KDE Plasma 5

  6. #6
    Join Date
    Jul 2014
    Location
    Cluj-Napoca, RO
    Posts
    34

    Default Re: Realtek RTL8822BE device disconnected

    iw command displays
    Usage: /usr/sbin/iw [options] command
    Options:
    --debug enable netlink debugging
    --version show version (5.0.1)
    Commands:

    Commands that use the netdev ('dev') can also be given the
    'wdev' instead to identify the device.

    You can omit the 'phy' or 'dev' if the identification is unique,
    e.g. "iw wlan0 info" or "iw phy0 info". (Don't when scripting.)

    Do NOT screenscrape this tool, we don't consider its output stable.
    I've tried
    Code:
    /usr/sbin/iw dev wlp7s0
    /usr/sbin/iw dev
    sudo dev wlp7s0
    /usr/sbin/iw wdev
    Joy, frustration, excitement, madness, aha's, headaches ... codito ergo sum!
    My software never has bugs. It just develops random features.

  7. #7
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,375
    Blog Entries
    1

    Default Re: Realtek RTL8822BE device disconnected

    Quote Originally Posted by savornicesei View Post
    iw command displays


    I've tried
    Code:
    /usr/sbin/iw dev wlp7s0
    /usr/sbin/iw dev
    sudo dev wlp7s0
    /usr/sbin/iw wdev
    Rather than guessing, always good to refer to the man pages
    Code:
    man iw
    Anyway, the command as I gave it should have returned something like this
    Code:
    ~> /usr/sbin/iw dev
    phy#0
            Interface wlan0
                    ifindex 3
                    wdev 0x1
                    addr 20:68:9d:8b:3c:2e
                    type managed
                    txpower 20.00 dB
    Similarly
    Code:
    /usr/sbin/iw dev wlp7s0 info
    If it doesn't then the problem is with the driver.
    openSUSE Leap 15.0; KDE Plasma 5

  8. #8
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,375
    Blog Entries
    1

    Default Re: Realtek RTL8822BE device disconnected

    I note that your wifi device is using the rtwpci driver with the new kernel
    Code:
    Model: "Ethernet network interface" 
    Driver: "rtw_pci" 
    Driver Modules: "rtwpci" 
    Device File: wlp7s0
    and similar to this archlinux thread where it was found that chipset wasn't supported by the driver. It may be necessary to blacklist that driver in favour of the rtl8822be driver. You may need to build this module for your current kernel (or rollback perhaps).
    openSUSE Leap 15.0; KDE Plasma 5

  9. #9
    Join Date
    Jul 2014
    Location
    Cluj-Napoca, RO
    Posts
    34

    Default Re: Realtek RTL8822BE device disconnected

    Got my wireless back!

    The rtl8822be driver is actually available in the https://github.com/lwfinger/rtlwifi_new repository but on the extended branch (but finding this information required intensive internet searches - hint1, hint2)
    After that
    Code:
    git clone https://github.com/lwfinger/rtlwifi_new.git
    cd rtlwifi_new
    git checkout extended
    make
    sudo make install
    sudo modprobe -r rtl8822
    sudo modprobe rtl8822
    There are 2 drivers that need to be blacklisted: rtwpci and rtw88:
    • blacklist at boot: add as kernel parameter module_blacklist=rtw88,rtwpci
    • permanently blacklist: add them to /etc/modprobe.d/blacklist.conf

    Code:
    blacklist rtw88
    blacklist rtwpci
    Btw, there are 2 OBS repositories building this project but they don't seem to be up2date.
    Joy, frustration, excitement, madness, aha's, headaches ... codito ergo sum!
    My software never has bugs. It just develops random features.

  10. #10
    Join Date
    Jun 2008
    Location
    Auckland, NZ
    Posts
    20,375
    Blog Entries
    1

    Default Re: Realtek RTL8822BE device disconnected

    Quote Originally Posted by savornicesei View Post
    Got my wireless back!
    Yes, using the rtl8822be driver is the way to go. Good to read of your success with this.
    openSUSE Leap 15.0; KDE Plasma 5

Page 1 of 2 12 LastLast

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •