You are not logged in.

#1 2016-06-14 04:25:02

sant527
Member
Registered: 2009-06-21
Posts: 273

Wifi working, but no internet connection

I have wired and also wifi connection.

Wired connection internet works, while the internet of wifi not working

If connected to wired and also wifi the following is the output of ifconfig.

root@gauranga /home/simha # ifconfig 
enp2s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.5.113  netmask 255.255.248.0  broadcast 192.168.7.255
        inet6 fe80::66f9:5aa3:5449:bbf5  prefixlen 64  scopeid 0x20<link>
        ether 68:f7:28:71:8d:be  txqueuelen 1000  (Ethernet)
        RX packets 736130  bytes 710984014 (678.0 MiB)
        RX errors 0  dropped 181  overruns 0  frame 0
        TX packets 278415  bytes 23924104 (22.8 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

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 1  (Local Loopback)
        RX packets 1428  bytes 369189 (360.5 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 1428  bytes 369189 (360.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

wlp3s0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 192.168.5.245  netmask 255.255.248.0  broadcast 192.168.7.255
        inet6 fe80::14ac:2256:c091:2660  prefixlen 64  scopeid 0x20<link>
        ether 2e:dc:cd:0d:1f:82  txqueuelen 1000  (Ethernet)
        RX packets 1237969  bytes 135361481 (129.0 MiB)
        RX errors 0  dropped 4059  overruns 0  frame 0
        TX packets 18074  bytes 2059915 (1.9 MiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

If using only wifi it pings to 192.168.0.1

$ ping 192.168.0.1
PING 192.168.0.1 (192.168.0.1) 56(84) bytes of data.
64 bytes from 192.168.0.1: icmp_seq=1 ttl=64 time=10.7 ms
64 bytes from 192.168.0.1: icmp_seq=2 ttl=64 time=7.82 ms
64 bytes from 192.168.0.1: icmp_seq=3 ttl=64 time=12.0 ms
64 bytes from 192.168.0.1: icmp_seq=4 ttl=64 time=7.14 ms

whereas ping to google.com it does not show anything. it does not go further.


/etc/resolv.conf is

nameserver 192.168.0.1

route when on wifi:

simha@gauranga ~ % ip route show
default via 192.168.0.1 dev wlp3s0  proto static  metric 600 
192.168.0.0/21 dev wlp3s0  proto kernel  scope link  src 192.168.5.245  metric 600 

route  when on wired:

simha@gauranga ~ % ip route show
default via 192.168.0.1 dev enp2s0  proto static  metric 100 
192.168.0.0/21 dev enp2s0  proto kernel  scope link  src 192.168.5.113  metric 100 

I am not able to understand the problem.

All this happened, after i upgraded archlinux.

Last edited by sant527 (2016-06-14 07:55:14)

Offline

#2 2016-06-14 05:26:45

boban_dj
Member
Registered: 2015-03-17
Posts: 150

Re: Wifi working, but no internet connection

This is just for my interest: can you show your

route

and did you make the subnet yourself?

as for the problem:
What are you using for connecting. networkmanager or wicd or manual?

Last edited by boban_dj (2016-06-14 05:57:01)

Offline

#3 2016-06-14 07:12:17

Head_on_a_Stick
Member
From: London
Registered: 2014-02-20
Posts: 7,732
Website

Re: Wifi working, but no internet connection

sant527 wrote:

ping to google.com it does not show anything. it does not go further.

How about `ping 8.8.8.8`?

Offline

#4 2016-06-14 07:56:34

sant527
Member
Registered: 2009-06-21
Posts: 273

Re: Wifi working, but no internet connection

boban_dj wrote:

This is just for my interest: can you show your

route

and did you make the subnet yourself?

as for the problem:
What are you using for connecting. networkmanager or wicd or manual?


I am using networkmanager. I edited my question and shown the output of the route.

Offline

#5 2016-06-14 08:37:52

boban_dj
Member
Registered: 2015-03-17
Posts: 150

Re: Wifi working, but no internet connection

see if your wifi mod is loaded in the kernel mods

ip addr
ip link show dev wlp2s0 
lspci -vvv |grep wifi
sudo lspci -knn | grep -i net -A2
lsmod|grep YOUR_WIFI_MOD

systemctl status NetworkManager?

Aside from this problem, do you really need NetworkManager. I use Wicd which seems not so complicated.
If you want try uninstall Networkmanager:

pacman -R networkmanager networkmanager-dispatcher-ntpd

Install wicd and follow the archwiki for wicd(you know where)

Last edited by boban_dj (2016-06-14 08:38:13)

Offline

#6 2016-06-14 08:52:43

sant527
Member
Registered: 2009-06-21
Posts: 273

Re: Wifi working, but no internet connection

I dont know it worked on its own, didnt do any changes.

In wifi setting: there is cloned Mac address. I deleted and kept it empty. then it worked

Last edited by sant527 (2016-06-14 09:27:24)

Offline

Board footer

Powered by FluxBB