You are not logged in.

#1 2019-11-04 23:04:25

SurlyCycler
Member
Registered: 2019-10-26
Posts: 47

[SOLVED] connection to internet lost

Hi. I have a relatively fresh install of Arch. I had installed Nordvpn and added a extention that had a gui that showed up in networkmager to managed it. However i think the extention may have broken wifi in some way.

Gnome started to freeze periodically. In this i mean the curser would not move across the screen fluidly. So i removed the extention manually. And gnome performance improved.

Problem is i can connect to the router but cannot access the internet. And im not sure why. I removed nordvpn as well. But the problem still persists.

Connection to the router: yes
Connection to the internet: no

Any help?

Last edited by SurlyCycler (2019-11-05 18:24:17)

Offline

#2 2019-11-05 06:18:51

xse
Member
Registered: 2019-01-08
Posts: 36

Re: [SOLVED] connection to internet lost

Hey,

Alright first thing first when you're asking for help, it's always good to give as much information as possible and especially to be precise, tell us basic informations about your connexion, for example is it static or dhcp, wifi or ethernet, what did you already try, which instructions did you follow and so on.
By that i mean:

SurlyCycler wrote:

added a extention that had a gui that showed up in networkmager to managed it

Which extension ? (a link to the package or where you found it)

SurlyCycler wrote:

So i removed the extention manually.

Manually ? What does that mean ? Did you delete a specific folder ? Did you "manually" typed pacman -R ?

How exactly is your connexion configured in NetworkManager ? (maybe it's still trying to use a .ovpn file, maybe you're connecting just fine with a static ip to your router but you're missing a dns server, maybe ......)
Are you using a firewall ? Maybe a killswitch was installed and is now blocking your connexion
Can you paste networkmanager's logs somewhere and post the link here. That's extremely valuable.
After you've tried to connect, the outputs of the following commands might be useful: "ip r", having a look at the content of /etc/resolv.conf might be useful too.

Some references:
NetworkManager -> https://wiki.archlinux.org/index.php/NetworkManager
NordVPN -> https://wiki.archlinux.org/index.php/NordVPN
Network Configuration -> https://wiki.archlinux.org/index.php/Ne … figuration

Have a good day!


Carefully explaining your problem is half the solution.

Offline

#3 2019-11-05 15:13:23

SurlyCycler
Member
Registered: 2019-10-26
Posts: 47

Re: [SOLVED] connection to internet lost

Thanks for your response and I do apologize for my vagueness. I was really tired. Anyways....

The extension i used was called Nordvpn Connect https://extensions.gnome.org/extension/ … n-connect/
I had used it before in Fedora 30 it had a small bug in it but liked it.

I removed nordvpn sudo pacman -R nordvpn-bin.
At this point i couldn't get on the internet on.
The extension was removed manual directly out of the .local/share/gnome-shell/extensions file.
I had installed it via the on/off button on the gnome package website. My intent was to simply turn it off. this didnt work so i just rm it.

$ ip r

default via 192.168.1.1 dev wlp1s0 proto dhcp metric 20600
10.8.0.0/24 dev tun0 proto kernel scope link src 10.8.0.1
192.168.1.0/24 dev wlp1s0 proto kernel scope link src 192.168.1.86 metric 600

the ip r  tells me networkmanager should be working. This is were the weird part for me is. I can connect to the router and log into it but not internet itself.
i will look up the logs reguardless to see if there are clues there.

Im not sure exactly how the kill switch works. but it is interesting. I had origionally thought iptables. Nord overwrites the ufw tables.

Last edited by SurlyCycler (2019-11-05 17:16:34)

Offline

#4 2019-11-05 15:18:25

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 27,577
Website

Re: [SOLVED] connection to internet lost

Please post the output of each of the following:

ip a
ping google.com
ping 8.8.8.8

"UNIX is simple and coherent..." - Dennis Ritchie, "GNU's Not UNIX" -  Richard Stallman

Offline

#5 2019-11-05 15:31:12

Stefan_xyz
Member
Registered: 2019-09-01
Posts: 92

Re: [SOLVED] connection to internet lost

You do got an internet connection from other devices right?

Offline

#6 2019-11-05 15:36:02

SurlyCycler
Member
Registered: 2019-10-26
Posts: 47

Re: [SOLVED] connection to internet lost

ip a

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host 
       valid_lft forever preferred_lft forever
2: enp2s0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc fq_codel state DOWN group default qlen 1000
    link/ether 04:92:26:70:16:17 brd ff:ff:ff:ff:ff:ff
3: wlp1s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether b4:69:21:1c:d3:9c brd ff:ff:ff:ff:ff:ff
    inet 192.168.1.86/24 brd 192.168.1.255 scope global dynamic noprefixroute wlp1s0
       valid_lft 83356sec preferred_lft 83356sec
    inet6 fe80::4ee2:fce4:85a3:c296/64 scope link noprefixroute 
       valid_lft forever preferred_lft forever
4: tun0: <POINTOPOINT,MULTICAST,NOARP,UP,LOWER_UP> mtu 1500 qdisc fq_codel state UNKNOWN group default qlen 100
    link/none 
    inet 10.8.0.1/24 brd 10.8.0.255 scope global tun0
       valid_lft forever preferred_lft forever
    inet6 fe80::2907:66b:bc7f:d803/64 scope link stable-privacy 
       valid_lft forever preferred_lft forever
ping [url=http://www.google.com]www.google.com[/url]
ping: [url=http://www.google.com]www.google.com[/url] : temporarty failure in name resolution
ping 8.8.8.8

64 bytes from 8.8.8.8 icmp_seq=1 ttl=55 time=23.3 ms
etc

Im using wireless but the same applies while plugged in to ethernet as well

edit: yes I am using another computer to connect via the same router

Last edited by SurlyCycler (2019-11-05 17:28:10)

Offline

#7 2019-11-05 15:48:32

SurlyCycler
Member
Registered: 2019-10-26
Posts: 47

Re: [SOLVED] connection to internet lost

this is my

 
 journalctl -u Networkmanager
 
-- Logs begin at Thu 2019-10-24 12:24:37 EDT, end at Tue 2019-11-05 10:34:02 EST. --
Oct 24 12:24:37 archlinux systemd[1]: Starting Network Manager...
Oct 24 12:24:37 archlinux NetworkManager[487]: <info>  [1571934277.9302] NetworkManager (version 1.20.4-1) is starting... (for the first time)
Oct 24 12:24:37 archlinux NetworkManager[487]: <info>  [1571934277.9304] Read config: /etc/NetworkManager/NetworkManager.conf (lib: 20-connectivity.conf)
Oct 24 12:24:37 archlinux systemd[1]: Started Network Manager.
Oct 24 12:24:37 archlinux NetworkManager[487]: <info>  [1571934277.9324] bus-manager: acquired D-Bus service "org.freedesktop.NetworkManager"
Oct 24 12:24:37 archlinux NetworkManager[487]: <info>  [1571934277.9380] manager[0x563685c7a0c0]: monitoring kernel firmware directory '/lib/firmware'.
Oct 24 12:24:38 archlinux NetworkManager[487]: <info>  [1571934278.5727] hostname: hostname: using hostnamed
Oct 24 12:24:38 archlinux NetworkManager[487]: <info>  [1571934278.5731] dns-mgr[0x563685c60240]: init: dns=default,systemd-resolved rc-manager=symlink
Oct 24 12:24:38 archlinux NetworkManager[487]: <info>  [1571934278.5741] rfkill1: found Wi-Fi radio killswitch (at /sys/devices/pci0000:00/0000:00:01.2/0000:01:00.0/ieee80211/phy0/rfki>
Oct 24 12:24:38 archlinux NetworkManager[487]: <info>  [1571934278.5743] manager[0x563685c7a0c0]: rfkill: Wi-Fi hardware radio set enabled
Oct 24 12:24:38 archlinux NetworkManager[487]: <info>  [1571934278.5743] manager[0x563685c7a0c0]: rfkill: WWAN hardware radio set enabled
Oct 24 12:24:38 archlinux NetworkManager[487]: <info>  [1571934278.5903] Loaded device plugin: NMBluezManager (/usr/lib/NetworkManager/1.20.4-1/libnm-device-plugin-bluetooth.so)
Oct 24 12:24:38 archlinux NetworkManager[487]: <info>  [1571934278.6051] Loaded device plugin: NMTeamFactory (/usr/lib/NetworkManager/1.20.4-1/libnm-device-plugin-team.so)
Oct 24 12:24:38 archlinux NetworkManager[487]: <info>  [1571934278.6065] Loaded device plugin: NMWifiFactory (/usr/lib/NetworkManager/1.20.4-1/libnm-device-plugin-wifi.so)
Oct 24 12:24:38 archlinux NetworkManager[487]: <info>  [1571934278.6073] Loaded device plugin: NMAtmManager (/usr/lib/NetworkManager/1.20.4-1/libnm-device-plugin-adsl.so)
Oct 24 12:24:38 archlinux NetworkManager[487]: <info>  [1571934278.6080] Loaded device plugin: NMOvsFactory (/usr/lib/NetworkManager/1.20.4-1/libnm-device-plugin-ovs.so)
Oct 24 12:24:38 archlinux NetworkManager[487]: <info>  [1571934278.6087] Loaded device plugin: NMWwanFactory (/usr/lib/NetworkManager/1.20.4-1/libnm-device-plugin-wwan.so)
Oct 24 12:24:38 archlinux NetworkManager[487]: <info>  [1571934278.6089] manager: rfkill: Wi-Fi enabled by radio killswitch; enabled by state file

does this line mean there is a killswitch active?
Oct 24 12:24:38 archlinux NetworkManager[487]: <info>  [1571934278.5741] rfkill1: found Wi-Fi radio killswitch (at /sys/devices/pci0000:00/0000:00:01.2/0000:01:00.0/ieee80211/phy0/rfki>

Last edited by SurlyCycler (2019-11-05 17:25:58)

Offline

#8 2019-11-05 16:16:36

loqs
Member
Registered: 2014-03-06
Posts: 15,511

Re: [SOLVED] connection to internet lost

Please use code tags for commands and their outputs.
What is the output of:

ip r
cat /etc/resolv.conf

Online

#9 2019-11-05 16:37:56

SurlyCycler
Member
Registered: 2019-10-26
Posts: 47

Re: [SOLVED] connection to internet lost

ip r

default via 192.168.1.1 dev wlp1s0 proto dhcp metric 20600
10.8.0.0/24 dev tun0 proto kernel scope link src 10.8.0.1
192.168.1.0/24 dev wlp1s0 proto kernel scope link src 192.168.1.86 metric 600

cat /etc/resolv.conf

Generated by Nordvpn
nameserver 103.96.99.99

Last edited by SurlyCycler (2019-11-05 17:21:17)

Offline

#10 2019-11-05 16:50:23

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,647

Re: [SOLVED] connection to internet lost

@SurlyCycler

Please edit all of your previous posts and place the correct [⁣code] [⁣/code] tags around all commands and terminal outputs...

CoC - Pasting Pictures and Code


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#11 2019-11-05 16:54:30

ewaller
Administrator
From: Pasadena, CA
Registered: 2009-07-13
Posts: 18,899

Re: [SOLVED] connection to internet lost

*Ding* we have a winner.

https://wiki.archlinux.org/index.php/Ne … esolv.conf

The problem is that Nordvpn clobbered this file.  You do have Internet connectivity, but your DNS look ups are broken.

Edit:  Suggested reading:
https://wiki.archlinux.org/index.php/Do … resolution
https://wiki.archlinux.org/index.php/Systemd-resolved

Last edited by ewaller (2019-11-05 18:41:06)


Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way

Offline

#12 2019-11-05 17:08:10

SurlyCycler
Member
Registered: 2019-10-26
Posts: 47

Re: [SOLVED] connection to internet lost

Its been a while since i have been on a forum...LOL

Offline

#13 2019-11-05 17:09:21

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,296
Website

Re: [SOLVED] connection to internet lost

SurlyCycler wrote:

Its been a while since i have been on a forum...LOL

Spare us the lame lulz and just fix your posts as you were asked.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Online

#14 2019-11-05 18:17:26

SurlyCycler
Member
Registered: 2019-10-26
Posts: 47

Re: [SOLVED] connection to internet lost

Thanks for the help guys....


Edit:

one thing i have discovered is that the killswitch once activated causes Nordvpn to prevent any further connectivity with the internet.

Dont go through the nausia of having to do a chattr -i and chattr -s on the resolv.conf file. This is a waist of time and effort. Simply do the following

nordvpn set killswitch off
nordvpn d
nordvpn c yourcity or country   
nordvpn set killswitch 0n

or if you have the graphical interface like i had you can switch it off reconnect and then turn the killswitch back on.

In my case the killswitch worked and did exactly what it was supposed to i just didnt recognise the symptoms.
My service provider is by satellite so any cloud or weather can cause a breach in the tunnel to the nordservers. When your connection to the tunnel is lost the switch activates. The iptables that nord installs prevents connectivity. I hope this explains is happening.

Last edited by SurlyCycler (2019-11-07 19:46:36)

Offline

Board footer

Powered by FluxBB