Connected to Wifi but internet not available
by sp12 from LinuxQuestions.org on (#5SEMM)
I recently downloaded the ubuntu 20.04 distribution. When i connect to my home wifi, it shows connected but I am not able to use internet i.e the pages keep loading forever.
Note : This happens only for my home wifi. When I use my mobile wifi hotspot it works just fine so I figured my wireless adapter is fine. The wired connections to the network, however, works. The only problem is wireless connection to my home wifi only.
I am even able to ping my router which means I am connected to it.
The ifconfig ouput:
Code:sp12@sp12-HP-Pavilion-x360-Convertible-14-ba1xx:~$ ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 3252 bytes 325420 (325.4 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3252 bytes 325420 (325.4 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlo1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.29.253 netmask 255.255.255.0 broadcast 192.168.29.255
inet6 fe80::79ba:b8f:b715:3681 prefixlen 64 scopeid 0x20<link>
inet6 2405:201:3005:f834:ba14:a14b:d055:2589 prefixlen 64 scopeid 0x0<global>
inet6 2405:201:3005:f834:5add:cf7:e171:6984 prefixlen 64 scopeid 0x0<global>
ether 28:c6:3f:1f:67:f6 txqueuelen 1000 (Ethernet)
RX packets 38093 bytes 3460990 (3.4 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 22399 bytes 3268173 (3.2 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0route -n output:
Code:sp12@sp12-HP-Pavilion-x360-Convertible-14-ba1xx:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.29.1 0.0.0.0 UG 600 0 0 wlo1
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlo1
192.168.29.0 0.0.0.0 255.255.255.0 U 600 0 0 wlo1iwconfig output:
Code:sp12@sp12-HP-Pavilion-x360-Convertible-14-ba1xx:~$ iwconfig
lo no wireless extensions.
wlo1 IEEE 802.11 ESSID:"JioFiber-aiT7o"
Mode:Managed Frequency:2.462 GHz Access Point: 78:DD:12:1C:22:C2
Bit Rate=144.4 Mb/s Tx-Power=22 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=66/70 Signal level=-44 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:1 Invalid misc:73 Missed beacon:0ping results:
Code:sp12@sp12-HP-Pavilion-x360-Convertible-14-ba1xx:~$ ping 192.168.29.1
PING 192.168.29.1 (192.168.29.1) 56(84) bytes of data.
64 bytes from 192.168.29.1: icmp_seq=1 ttl=64 time=3.59 ms
64 bytes from 192.168.29.1: icmp_seq=2 ttl=64 time=5.35 ms
64 bytes from 192.168.29.1: icmp_seq=3 ttl=64 time=2.24 ms
64 bytes from 192.168.29.1: icmp_seq=4 ttl=64 time=2.00 ms
^C
--- 192.168.29.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 2.002/3.294/5.349/1.331 ms
sp12@sp12-HP-Pavilion-x360-Convertible-14-ba1xx:~$ ping google.com
PING google.com(bom12s16-in-x0e.1e100.net (2404:6800:4009:829::200e)) 56 data bytes
^C
--- google.com ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4086msNot able to ping google.com
output of lshw command
Code:sp12@sp12-HP-Pavilion-x360-Convertible-14-ba1xx:~$ sudo lshw -c network
*-network
description: Wireless interface
product: Wireless 7265
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlo1
version: 59
serial: 28:c6:3f:1f:67:f6
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=5.11.0-40-generic firmware=29.1654887522.0 7265D-29.ucode ip=192.168.29.253 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:140 memory:b4000000-b4001fff
*-network
description: Ethernet interface
physical id: 3
bus info: usb@1:1
logical name: usb0
serial: 26:31:32:00:e7:e3
capabilities: ethernet physical
configuration: broadcast=yes driver=rndis_host driverversion=5.11.0-40-generic firmware=RNDIS device ip=192.168.42.83 link=yes multicast=yesOutputs of some other commands I thought might be relevant
Code:sp12@sp12-HP-Pavilion-x360-Convertible-14-ba1xx:~$ lspci -knn | grep Net -A3; rfkill list
03:00.0 Network controller [0280]: Intel Corporation Wireless 7265 [8086:095a] (rev 59)
DeviceName: WLAN
Subsystem: Intel Corporation Dual Band Wireless-AC 7265 [8086:5010]
Kernel driver in use: iwlwifi
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: nooutput of nmcli:
Code:usb0: connected to Wired connection 1
"OnePlus"
ethernet (rndis_host), 26:31:32:00:E7:E3, hw, mtu 1500
ip4 default
inet4 192.168.42.83/24
route4 0.0.0.0/0
route4 192.168.42.0/24
inet6 fe80::a4a4:ce2f:97f4:fce3/64
route6 fe80::/64
wlo1: connected to JioFiber-aiT7o
"Intel 7265"
wifi (iwlwifi), 28:C6:3F:1F:67:F6, hw, mtu 1500
ip6 default
inet4 192.168.29.253/24
route4 0.0.0.0/0
route4 169.254.0.0/16
route4 192.168.29.0/24
inet6 2405:201:3005:f834:5add:cf7:e171:6984/64
inet6 2405:201:3005:f834:ba14:a14b:d055:2589/64
inet6 fe80::79ba:b8f:b715:3681/64
route6 2405:201:3005:f834::/64
route6 ::/0
route6 fe80::/64
p2p-dev-wlo1: disconnected
"p2p-dev-wlo1"
wifi-p2p, hw
lo: unmanaged
"lo"
loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
DNS configuration:
servers: 2405:201:3005:f834::c0a8:1d01
interface: wlo1
servers: 192.168.42.129
interface: usb0
servers: 192.168.29.1
interface: wlo1
Use "nmcli device show" to get complete information about known devices and
"nmcli connection show" to get an overview on active connection profiles.
Consult nmcli(1) and nmcli-examples(7) manual pages for complete usage details.If you require some more outputs to diagnose the issue please let me know
Thankyou
Edit:
I am adding some commands I think might help
traceroute google.com (when using wired connections)
Code:traceroute to google.com (142.250.192.14), 30 hops max, 60 byte packets
1 _gateway (192.168.42.129) 2.130 ms 2.040 ms 2.150 ms
2 reliance.reliance (192.168.29.1) 9.733 ms 19.544 ms 19.554 ms
3 10.17.192.1 (10.17.192.1) 19.718 ms 21.894 ms 22.067 ms
4 172.31.1.212 (172.31.1.212) 60.937 ms 62.454 ms 72.477 ms
5 192.168.65.94 (192.168.65.94) 72.547 ms 72.871 ms 72.614 ms
6 172.26.74.164 (172.26.74.164) 72.672 ms 47.204 ms 47.037 ms
7 172.26.74.147 (172.26.74.147) 46.874 ms 51.765 ms 52.685 ms
8 192.168.65.80 (192.168.65.80) 52.818 ms 57.379 ms 59.750 ms
9 192.168.65.83 (192.168.65.83) 61.565 ms 192.168.65.79 (192.168.65.79) 28.714 ms 192.168.65.81 (192.168.65.81) 29.680 ms
10 172.31.2.71 (172.31.2.71) 45.488 ms 43.561 ms 46.019 ms
11 74.125.51.166 (74.125.51.166) 47.679 ms 209.85.168.26 (209.85.168.26) 48.296 ms 47.609 ms
12 * * *
13 142.250.228.48 (142.250.228.48) 40.265 ms 74.125.253.166 (74.125.253.166) 43.977 ms 142.251.77.94 (142.251.77.94) 44.050 ms
14 108.170.248.203 (108.170.248.203) 43.046 ms 45.077 ms 108.170.248.210 (108.170.248.210) 38.401 ms
15 bom12s14-in-f14.1e100.net (142.250.192.14) 40.749 ms 108.170.248.161 (108.170.248.161) 53.128 ms bom12s14-in-f14.1e100.net (142.250.192.14) 55.024 mstraceroute google.com (when using wifi only):
Code:traceroute to google.com (142.251.42.46), 30 hops max, 60 byte packets
1 reliance.reliance (192.168.29.1) 3.245 ms 3.155 ms 3.220 ms
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *It keeps on printing *.
Thankyou
Note : This happens only for my home wifi. When I use my mobile wifi hotspot it works just fine so I figured my wireless adapter is fine. The wired connections to the network, however, works. The only problem is wireless connection to my home wifi only.
I am even able to ping my router which means I am connected to it.
The ifconfig ouput:
Code:sp12@sp12-HP-Pavilion-x360-Convertible-14-ba1xx:~$ ifconfig
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 3252 bytes 325420 (325.4 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 3252 bytes 325420 (325.4 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wlo1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.29.253 netmask 255.255.255.0 broadcast 192.168.29.255
inet6 fe80::79ba:b8f:b715:3681 prefixlen 64 scopeid 0x20<link>
inet6 2405:201:3005:f834:ba14:a14b:d055:2589 prefixlen 64 scopeid 0x0<global>
inet6 2405:201:3005:f834:5add:cf7:e171:6984 prefixlen 64 scopeid 0x0<global>
ether 28:c6:3f:1f:67:f6 txqueuelen 1000 (Ethernet)
RX packets 38093 bytes 3460990 (3.4 MB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 22399 bytes 3268173 (3.2 MB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0route -n output:
Code:sp12@sp12-HP-Pavilion-x360-Convertible-14-ba1xx:~$ route -n
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
0.0.0.0 192.168.29.1 0.0.0.0 UG 600 0 0 wlo1
169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlo1
192.168.29.0 0.0.0.0 255.255.255.0 U 600 0 0 wlo1iwconfig output:
Code:sp12@sp12-HP-Pavilion-x360-Convertible-14-ba1xx:~$ iwconfig
lo no wireless extensions.
wlo1 IEEE 802.11 ESSID:"JioFiber-aiT7o"
Mode:Managed Frequency:2.462 GHz Access Point: 78:DD:12:1C:22:C2
Bit Rate=144.4 Mb/s Tx-Power=22 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Power Management:on
Link Quality=66/70 Signal level=-44 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:1 Invalid misc:73 Missed beacon:0ping results:
Code:sp12@sp12-HP-Pavilion-x360-Convertible-14-ba1xx:~$ ping 192.168.29.1
PING 192.168.29.1 (192.168.29.1) 56(84) bytes of data.
64 bytes from 192.168.29.1: icmp_seq=1 ttl=64 time=3.59 ms
64 bytes from 192.168.29.1: icmp_seq=2 ttl=64 time=5.35 ms
64 bytes from 192.168.29.1: icmp_seq=3 ttl=64 time=2.24 ms
64 bytes from 192.168.29.1: icmp_seq=4 ttl=64 time=2.00 ms
^C
--- 192.168.29.1 ping statistics ---
4 packets transmitted, 4 received, 0% packet loss, time 3004ms
rtt min/avg/max/mdev = 2.002/3.294/5.349/1.331 ms
sp12@sp12-HP-Pavilion-x360-Convertible-14-ba1xx:~$ ping google.com
PING google.com(bom12s16-in-x0e.1e100.net (2404:6800:4009:829::200e)) 56 data bytes
^C
--- google.com ping statistics ---
5 packets transmitted, 0 received, 100% packet loss, time 4086msNot able to ping google.com
output of lshw command
Code:sp12@sp12-HP-Pavilion-x360-Convertible-14-ba1xx:~$ sudo lshw -c network
*-network
description: Wireless interface
product: Wireless 7265
vendor: Intel Corporation
physical id: 0
bus info: pci@0000:03:00.0
logical name: wlo1
version: 59
serial: 28:c6:3f:1f:67:f6
width: 64 bits
clock: 33MHz
capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless
configuration: broadcast=yes driver=iwlwifi driverversion=5.11.0-40-generic firmware=29.1654887522.0 7265D-29.ucode ip=192.168.29.253 latency=0 link=yes multicast=yes wireless=IEEE 802.11
resources: irq:140 memory:b4000000-b4001fff
*-network
description: Ethernet interface
physical id: 3
bus info: usb@1:1
logical name: usb0
serial: 26:31:32:00:e7:e3
capabilities: ethernet physical
configuration: broadcast=yes driver=rndis_host driverversion=5.11.0-40-generic firmware=RNDIS device ip=192.168.42.83 link=yes multicast=yesOutputs of some other commands I thought might be relevant
Code:sp12@sp12-HP-Pavilion-x360-Convertible-14-ba1xx:~$ lspci -knn | grep Net -A3; rfkill list
03:00.0 Network controller [0280]: Intel Corporation Wireless 7265 [8086:095a] (rev 59)
DeviceName: WLAN
Subsystem: Intel Corporation Dual Band Wireless-AC 7265 [8086:5010]
Kernel driver in use: iwlwifi
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: nooutput of nmcli:
Code:usb0: connected to Wired connection 1
"OnePlus"
ethernet (rndis_host), 26:31:32:00:E7:E3, hw, mtu 1500
ip4 default
inet4 192.168.42.83/24
route4 0.0.0.0/0
route4 192.168.42.0/24
inet6 fe80::a4a4:ce2f:97f4:fce3/64
route6 fe80::/64
wlo1: connected to JioFiber-aiT7o
"Intel 7265"
wifi (iwlwifi), 28:C6:3F:1F:67:F6, hw, mtu 1500
ip6 default
inet4 192.168.29.253/24
route4 0.0.0.0/0
route4 169.254.0.0/16
route4 192.168.29.0/24
inet6 2405:201:3005:f834:5add:cf7:e171:6984/64
inet6 2405:201:3005:f834:ba14:a14b:d055:2589/64
inet6 fe80::79ba:b8f:b715:3681/64
route6 2405:201:3005:f834::/64
route6 ::/0
route6 fe80::/64
p2p-dev-wlo1: disconnected
"p2p-dev-wlo1"
wifi-p2p, hw
lo: unmanaged
"lo"
loopback (unknown), 00:00:00:00:00:00, sw, mtu 65536
DNS configuration:
servers: 2405:201:3005:f834::c0a8:1d01
interface: wlo1
servers: 192.168.42.129
interface: usb0
servers: 192.168.29.1
interface: wlo1
Use "nmcli device show" to get complete information about known devices and
"nmcli connection show" to get an overview on active connection profiles.
Consult nmcli(1) and nmcli-examples(7) manual pages for complete usage details.If you require some more outputs to diagnose the issue please let me know
Thankyou
Edit:
I am adding some commands I think might help
traceroute google.com (when using wired connections)
Code:traceroute to google.com (142.250.192.14), 30 hops max, 60 byte packets
1 _gateway (192.168.42.129) 2.130 ms 2.040 ms 2.150 ms
2 reliance.reliance (192.168.29.1) 9.733 ms 19.544 ms 19.554 ms
3 10.17.192.1 (10.17.192.1) 19.718 ms 21.894 ms 22.067 ms
4 172.31.1.212 (172.31.1.212) 60.937 ms 62.454 ms 72.477 ms
5 192.168.65.94 (192.168.65.94) 72.547 ms 72.871 ms 72.614 ms
6 172.26.74.164 (172.26.74.164) 72.672 ms 47.204 ms 47.037 ms
7 172.26.74.147 (172.26.74.147) 46.874 ms 51.765 ms 52.685 ms
8 192.168.65.80 (192.168.65.80) 52.818 ms 57.379 ms 59.750 ms
9 192.168.65.83 (192.168.65.83) 61.565 ms 192.168.65.79 (192.168.65.79) 28.714 ms 192.168.65.81 (192.168.65.81) 29.680 ms
10 172.31.2.71 (172.31.2.71) 45.488 ms 43.561 ms 46.019 ms
11 74.125.51.166 (74.125.51.166) 47.679 ms 209.85.168.26 (209.85.168.26) 48.296 ms 47.609 ms
12 * * *
13 142.250.228.48 (142.250.228.48) 40.265 ms 74.125.253.166 (74.125.253.166) 43.977 ms 142.251.77.94 (142.251.77.94) 44.050 ms
14 108.170.248.203 (108.170.248.203) 43.046 ms 45.077 ms 108.170.248.210 (108.170.248.210) 38.401 ms
15 bom12s14-in-f14.1e100.net (142.250.192.14) 40.749 ms 108.170.248.161 (108.170.248.161) 53.128 ms bom12s14-in-f14.1e100.net (142.250.192.14) 55.024 mstraceroute google.com (when using wifi only):
Code:traceroute to google.com (142.251.42.46), 30 hops max, 60 byte packets
1 reliance.reliance (192.168.29.1) 3.245 ms 3.155 ms 3.220 ms
2 * * *
3 * * *
4 * * *
5 * * *
6 * * *
7 * * *
8 * * *
9 * * *
10 * * *
11 * * *
12 * * *
13 * * *
14 * * *
15 * * *
16 * * *
17 * * *It keeps on printing *.
Thankyou