1

I switched to Linux today from Windows 11 and completely erased Windows from my PC, but when I started my system, I noticed there was no Wi-Fi option in Ubuntu. I searched YouTube for fixes — nothing worked. Then I asked ChatGPT and spent hours trying every possible solution, but in the end, it still didn’t work. Even ChatGPT eventually recommended using a separate Wi-Fi adapter.

Output of sudo lshw -class network:

*-network UNCLAIMED       
    description: Network controller
    product: MEDIATEK Corp.
    vendor: MEDIATEK Corp.
    physical id: 0     bus info: pci@0000:02:00.0
    version: 00
    width: 64 bits
    clock: 33MHz
    capabilities: pciexpress msi pm bus_master cap_list
    configuration: latency=0
    resources: iomemory:600-5ff memory:6000000000-60000fffff memory:84000000-84007fff   *-network
    description: Ethernet interface
    physical id: a
    bus info: usb@1:4
    logical name: enx3e2cf73cd983
    serial: 3e:2c:f7:3c:d9:83
    capabilities: ethernet physical
    configuration: autonegotiation=off broadcast=yes driver=rndis_host driverversion=6.11.0-17-generic duplex=half firmware=RNDIS device ip=192.168.153.249 link=yes multicast=yes port=twisted pair

Output of lspci -nnk | grep -iA3 net:

0000:02:00.0 Network controller [0280]: MEDIATEK Согр. Device [14c3:7902]
             DeviceName: WLAN
             Subsystem: AzureWave Device [1a3b:5520]
10000:00:06.0 PCI bridge [0604]: Intel Corporation 12th Gen Core Processor PCI Express x4 Controller #8 [8686:464d] (rev 04)
David DE
  • 2,385

1 Answers1

0

I used the following commands to check the Wireless and Ethernet interfaces.

$> lspci -nnk | grep Wireless*
03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188EE Wireless Network Adapter [10ec:8179] (rev 01)
        >>>Subsystem: Hewlett-Packard Company RTL8188EE Wireless Network Adapter [103c:804b]

$> lspci -nnk | grep Ethernet 02:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller [10ec:8168] (rev 0c) Subsystem: Hewlett-Packard Company RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller [103c:2b5b]

I see both of the interfaces.

They also showed up on lshw -C network command.

IMPORTANT NOTE: Please use lspcie -nnk command instead of lspci -nnk because your ethernet device is on the PCIe bus. It is likely that your WiFi device is also on the PCIe bus.

WARNING: you should run this program as a super-user.
  *-network                 
       description: Ethernet interface
       product: RTL8111/8168/8211/8411 PCI Express Gigabit Ethernet Controller
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:02:00.0
       logical name: eno1
       version: 0c
       serial: dc:fe:07:12:86:92
       size: 1Gbit/s
       capacity: 1Gbit/s
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd 1000bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=r8169 driverversion=6.8.0-62-generic duplex=full firmware=rtl8168g-2_0.0.1 02/06/13 ip=192.168.0.4 latency=0 link=yes multicast=yes port=twisted pair speed=1Gbit/s
       resources: irq:18 ioport:e000(size=256) memory:f7d00000-f7d00fff memory:f0000000-f0003fff
  *-network DISABLED
       description: Wireless interface
       product: RTL8188EE Wireless Network Adapter
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 0
       bus info: pci@0000:03:00.0
       logical name: wlp3s0
       version: 01
       serial: 44:1c:a8:64:48:68
       width: 64 bits
       clock: 33MHz
       capabilities: bus_master cap_list ethernet physical wireless
       configuration: broadcast=yes driver=rtl8188ee driverversion=6.8.0-62-generic firmware=N/A latency=0 link=no multicast=yes wireless=IEEE 802.11
       resources: irq:33 ioport:d000(size=256) memory:f7c00000-f7c03fff
WARNING: output may be incomplete or inaccurate; you should run this program as a super-user.
ali@HPLinux(14:34){~}%<223> lspci -nnk | grep Wireless
03:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8188EE Wireless Network Adapter [10ec:8179] (rev 01)
        Subsystem: Hewlett-Packard Company RTL8188EE Wireless Network Adapter [103c:804b]

In my case, I have the WiFi device reported but DISABLED because I disabled it by ip link set <link-interface> down]

Your image above shows only the Ethernet device because it says port=twisted pair. Also it says *-network UNCLAIMED

Would you try lspcie -nnk | grep Wireless* to check if the WiFi device exists but is disabled?

If that doesn't say anything, then please check if both network devices are working properly, with the command lsmod or lsmod | grep pcie or lsmod | grep rtl8188ee NOTE: I have PCI bus, not PCIe bus; old machine ;)

In my case, they show up as

rtl8188ee             176128  0
rtl_pci                40960  1 rtl8188ee
rtlwifi               139264  2 rtl_pci,rtl8188ee
mac80211             1744896  3 rtl_pci,rtl8188ee,rtlwifi

Please also note that it is recommended to run the commands in super-user mode: as "sudo' to see all the results.

AliTan
  • 31