Not able to connect to internet over WIFI

Hi,

I am having strange situation where I am not able to connect to internet using WIFI
Everything was fine untill I was using using the following package version:

linux-firmware-20220310-130.fc36.noarch

But it doesn’t work on newer versions of the linux-firmware package. I just upgraded to fedora 37 and couldn’t downgrade to above package version.

Please help

Welcome Tushar to ask :fedora:

We need to know a little more about your system.
Please run lspci -nnv and send us the part that applies to your wifi adapter as preformatted text (the </> button on the tool bar).

Also send the output of inxi -Fzxx.

1 Like

lspci -nnv:

02:00.0 Network controller [0280]: Realtek Semiconductor Co., Ltd. RTL8822CE 802.11ac PCIe Wireless Network Adapter [10ec:c822]
	Subsystem: Hewlett-Packard Company Device [103c:85f7]
	Flags: bus master, fast devsel, latency 0, IRQ 161
	I/O ports at 4000 [size=256]
	Memory at 54200000 (64-bit, non-prefetchable) [size=64K]
	Capabilities: [40] Power Management version 3
	Capabilities: [50] MSI: Enable+ Count=1/1 Maskable- 64bit+
	Capabilities: [70] Express Endpoint, MSI 00
	Capabilities: [100] Advanced Error Reporting
	Capabilities: [148] Device Serial Number 00-e0-4c-ff-fe-c8-22-01
	Capabilities: [158] Latency Tolerance Reporting
	Capabilities: [160] L1 PM Substates
	Kernel driver in use: rtw_8822ce
	Kernel modules: rtw88_8822ce

inxi -Fzxx:

System:
  Kernel: 6.0.7-301.fc37.x86_64 arch: x86_64 bits: 64 compiler: gcc
    v: 2.38-24.fc37 Console: pty pts/1 wm: gnome-shell DM: GDM Distro: Fedora
    release 37 (Thirty Seven)
Machine:
  Type: Laptop System: HP product: HP ProBook 440 G8 Notebook PC v: N/A
    serial: <filter> Chassis: type: 10 serial: <filter>
  Mobo: HP model: 87E0 v: KBC Version 33.15.00 serial: <filter> UEFI: HP
    v: T70 Ver. 01.06.04 date: 10/08/2021
CPU:
  Info: quad core model: 11th Gen Intel Core i7-1185G7 bits: 64 type: MT MCP
    arch: Tiger Lake rev: 1 cache: L1: 320 KiB L2: 5 MiB L3: 12 MiB
  Speed (MHz): avg: 1963 high: 3000 min/max: 400/4800 cores: 1: 1032 2: 3000
    3: 3000 4: 3000 5: 706 6: 1126 7: 3000 8: 844 bogomips: 47923
  Flags: avx avx2 ht lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx
Network:
  Device-1: Realtek RTL8822CE 802.11ac PCIe Wireless Network Adapter
    vendor: Hewlett-Packard driver: rtw_8822ce v: N/A pcie: speed: 2.5 GT/s
    lanes: 1 port: 4000 bus-ID: 02:00.0 chip-ID: 10ec:c822
  IF: wlp2s0 state: up mac: <filter>
  Device-2: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet
    vendor: Hewlett-Packard driver: r8169 v: kernel pcie: speed: 2.5 GT/s
    lanes: 1 port: 3000 bus-ID: 03:00.0 chip-ID: 10ec:8168
  IF: enp3s0 state: down mac: <filter>
  IF-ID-1: enp0s20f0u6 state: unknown speed: -1 duplex: half mac: <filter>

The number 10ec:c822:103c:85f7 from that gives the specific chipset involved.
Both the lspci and the inxi output show the rtw-8822ce driver is loaded and inxi shows device wlp2s0 is active.

What is the output of ip address show and ip route show
If we see the expected addresses there then the issue may be dns.

You can verify internet with a ping.
If ping -c 4 8.8.8.8 gives a return but ping -c 4 google.com does not then it would appear to be a dns issue.

IP addresses are being allocated normally.

ip address show:

3: wlp2s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether 10:6f:d9:e5:cd:bd brd ff:ff:ff:ff:ff:ff
    inet 192.168.228.199/24 brd 192.168.228.255 scope global dynamic noprefixroute wlp2s0
       valid_lft 3514sec preferred_lft 3514sec
    inet6 2402:3a80:c9a:7a2:d36b:d183:a0c:6da9/64 scope global dynamic noprefixroute 
       valid_lft 3518sec preferred_lft 3518sec
    inet6 fe80::e307:e99c:7488:728e/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever

ip route show:

default via 192.168.228.82 dev wlp2s0 proto dhcp src 192.168.228.199 metric 600 
192.168.228.0/24 dev wlp2s0 proto kernel scope link src 192.168.228.199 metric 600 

But ping doesn’t work even on IP address.

ping -c 4 8.8.8.8:

PING 8.8.8.8 (8.8.8.8) 56(84) bytes of data.
From 192.168.228.199 icmp_seq=1 Destination Host Unreachable
From 192.168.228.199 icmp_seq=2 Destination Host Unreachable
From 192.168.228.199 icmp_seq=3 Destination Host Unreachable

--- 8.8.8.8 ping statistics ---
4 packets transmitted, 0 received, +3 errors, 100% packet loss, time 3057ms
pipe 3

ping -c 4 google.com:

ping: google.com: Name or service not known

Can you check if you have connectivity to your local network? Run nmap -sn 192.168.228.0/24 and post the output.

Also is 192.168.228.82 your router? Usually the router is the first host in a subnet, so it should be 192.168.228.1.

nmap -sn 192.168.228.0/24:

Starting Nmap 7.93 ( https://nmap.org ) at 2022-12-14 12:23 IST
Nmap scan report for 192.168.228.199
Host is up (0.00012s latency).
Nmap done: 256 IP addresses (1 host up) scanned in 21.39 seconds

Looks like the network configuration is broken. Do you have another device that is connected to this network so we could check its configuration (default gateway, dns…).