Page 1 of 2

[SOLVED]Network Manager says I'm connected to unknown when I connect to VPN

Posted: Sun Nov 05, 2017 8:32 pm
by Linux_User157
What does this mean? There is a column that says unknown in the left section. I've seen it have at least two different ips. In case you need to know, I'm using OpenVPN with IPVanish.

Re: Network Manager says I'm connected to unknown when I connect to VPN

Posted: Mon Nov 06, 2017 5:11 am
by kukamuumuka
What tells a command

Code: Select all

nmcli dev status

Re: Network Manager says I'm connected to unknown when I connect to VPN

Posted: Mon Nov 06, 2017 12:05 pm
by phd21
Hi "Linux_User157",

Welcome to the wonderful world of Linux Mint and its excellent forum !

I just read your post and the good reply to it. Here are my thoughts on this as well.

It would help to know more about your system setup. If you run "inxi -Fxzd" and "lsusb" from the console terminal prompt, highlight the results, copy and paste them back here, that should provide enough information.

How did you setup your VPN server connection(s), from the Network Manager (NM) icon in your system tray panel, or from a console terminal command prompt?

Hope this helps ...

Re: Network Manager says I'm connected to unknown when I connect to VPN

Posted: Mon Nov 06, 2017 2:22 pm
by Linux_User157
I installed it from the network manager icon.

Code: Select all

System:    Host: comp Kernel: 4.4.0-53-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.4.6 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18.2 Sonya
Machine:   System: Alienware product: Alienware 17 R4 v: 1.1.9
           Mobo: Alienware model: Alienware 17 R4 v: A00
           Bios: Alienware v: 1.1.9 date: 07/05/2017
CPU:       Quad core Intel Core i7-6700HQ (-HT-MCP-) cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 20735
           clock speeds: max: 3500 MHz 1: 829 MHz 2: 895 MHz 3: 841 MHz
           4: 836 MHz 5: 1000 MHz 6: 844 MHz 7: 2597 MHz 8: 899 MHz
Graphics:  Card-1: Intel Skylake Integrated Graphics bus-ID: 00:02.0
           Card-2: NVIDIA Device 1ba1 bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa)
           Resolution: 1920x1080@60.02hz
           GLX Renderer: Mesa DRI Intel HD Graphics 530 (Skylake GT2)
           GLX Version: 3.0 Mesa 11.2.0 Direct Rendering: Yes
Audio:     Card Intel Sunrise Point-H HD Audio
           driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.4.0-53-generic
Network:   Card-1: Qualcomm Atheros Killer E2400 Gigabit Ethernet Controller
           driver: alx port: d000 bus-ID: 3c:00.0
           IF: enp60s0 state: down mac: <filter>
           Card-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
           driver: ath10k_pci bus-ID: 3d:00.0
           IF: wlp61s0 state: up mac: <filter>
           Card-3: Atheros usb-ID: 001-004
           IF: null-if-id state: N/A speed: N/A duplex: N/A mac: N/A
Drives:    HDD Total Size: 2128.4GB (1.1% used)
           ID-1: /dev/sda model: SK_hynix_SC308_S size: 128.0GB
           ID-2: /dev/sdb model: ST2000LM015 size: 2000.4GB
           Optical: No optical drives detected.
Partition: ID-1: / size: 1.8T used: 7.2G (1%) fs: ext4 dev: /dev/dm-1
           ID-2: /boot size: 473M used: 63M (14%) fs: ext2 dev: /dev/sdb2
           ID-3: swap-1 size: 17.05GB used: 0.00GB (0%) fs: swap dev: /dev/dm-3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 33.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 261 Uptime: 6 min Memory: 890.6/15918.8MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35 

Code: Select all

Bus 001 Device 005: ID 0bda:58c2 Realtek Semiconductor Corp. 
Bus 001 Device 004: ID 0cf3:e301 Atheros Communications, Inc. 
Bus 001 Device 003: ID 187c:0530 Alienware Corporation 
Bus 001 Device 002: ID 0c45:7b05 Microdia 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

Code: Select all

tun0     tun       connected    tun0        
wlp61s0  wifi      connected    Auto Router 
enp60s0  ethernet  unavailable  --          
lo       loopback  unmanaged    --

Re: Network Manager says I'm connected to unknown when I connect to VPN

Posted: Mon Nov 06, 2017 5:13 pm
by phd21
Hi "Linux_User157",

Did you use the Add VPN option (manual), or the "Import VPN" option? The "Import VPN" is the better method. Can you provide us an ".ovpn" configuration file to look at?

I do not see anything wrong with the results from the "inxi -Fxzd", so that is good. You do have 2 video cards, and usually Nvidia will work better than the Intel that it is using now, but oddly it does not show which Nvidia card you have? And your computer's processor (CPU) is not running in "Performance Mode", if you want to change that, see link below.

Because you have very new and nice computer hardware, I think you should seriously consider updating the Linux Kernel to the 4.11 series, perhaps 4.12 series, through your Linux Mint update Manager right now, reboot, re-run the "inxi -Fxzd" and re-post those results before doing anything else.

Also, I would recommend updating the "openVPN" software using the instructions in the link below.
viewtopic.php?f=157&t=242583&hilit=openvpn

Performance Mode
viewtopic.php?f=56&t=249555&hilit=Performance+Mode



Hope this helps ...

Re: Network Manager says I'm connected to unknown when I connect to VPN

Posted: Mon Nov 06, 2017 9:33 pm
by Linux_User157
How do I update to 4.12? All I see is 4.4.0-92.121 for a Kernel update. BTW, do I need to turn on fan performance mode when I turn on CPU performance mode? I used the import VPN option. How do I give you the .ovpn file? The site says I can't put it on here. I will update OpenVPN tomorrow. Also, are all repositories safe that have a signing key?

Re: Network Manager says I'm connected to unknown when I connect to VPN

Posted: Mon Nov 06, 2017 9:59 pm
by phd21
HI "Linux_User157",

1.) Linux Kernels: If you go into the Mint Update Manager under View are the Kernels, and on the left are the kernel series like 4.11 or 4.12. Like I already mentioned, wait to do the performance mode tweaks (except in Bios), because the Kernel may have a significant impact on your newer hardware system and thus the results of your "inxi -Fxzd".

Another option for updating the Linux Kernel
Install this PPA from Canonical Kernel Team
https://launchpad.net/~canonical-kernel ... ubuntu/ppa

Good read (great website)
https://sites.google.com/site/easylinuxtipsproject/20

I really like the "Ukuu" Linux Kernel Manager, but some others seem to think it could be risky. I have not had any problems with using it. Never install "rc" kernels, only stable ones.
http://www.omgubuntu.co.uk/2017/02/ukuu ... nel-ubuntu

2.) As for performance mode regarding fans, I do not know about that. My guess would be that setting would make your fan run faster, possibly louder too, but you can experiment with that. It helps to have a temperature application (applet, desklet, screenlet, widget) to see how hot your CPU cores are with various settings. I also recommend "sensor" applications (applet, desklet, screenlet, widget) like "Psensor" (lm-sensors), etc... for checking fan speeds, etc...

SensorInstallHowto
https://help.ubuntu.com/community/SensorInstallHowto

Advanced lm-sensors Tips and Tricks on Linux
https://www.linux.com/learn/intro-to-li ... ks-linux-0

Display CPU Temperature in the Unity Launcher
http://www.omgubuntu.co.uk/2016/11/disp ... er-sensors


3.) You can provide me (us) a link to the file(s) online. If you have a cloud service, you can upload any type of file, like an ".ovpn" and the get a shared link to it which you copy and past in this forum, email, etc... I recommend "pCloud" (10gb free), or "Mega.nz" (50gb free), Google drive works well too.

Can you go into the Network Manager (NM), and edit the VPN connection, and printscreen and post that screenshot for us? (If need be, edit image to hide username).


4.) The repositories I suggest do have keys and are safe to use. But, feel free to ask others. Usually, you cannot install or update software if they do not have a good key.

Hope this helps ...

Re: Network Manager says I'm connected to unknown when I connect to VPN

Posted: Tue Nov 07, 2017 3:33 pm
by Linux_User157
Which Kernel should I use? As in specific version. I don't want to break anything, I have no idea how to fix it. I already read all of the stuff that pertains to me on the Easy Linux Tips Project. What do you mean edit the connection? Do you mean just the gateway or what? I meant are ALL repositories with a signing key safe. Also, when you import VPN it isn't necessary to edit anything in advanced, right? I just wanted to make sure.

Re: Network Manager says I'm connected to unknown when I connect to VPN

Posted: Tue Nov 07, 2017 4:17 pm
by phd21
HI "Linux_User157",

1.) it is always safe to install a Linux Kernel because if a new kernel you install does not work as well as you wanted, or at all, you can just reboot and select advanced boot options, select a previous Linux Kernel and you will be back up and running. Since you have extremely new computer hardware, I would use one on the 4.12 series, The 4.13 series has caused some issues with some people from what I read in this forum.

2.a.) When you add a VPN server through the Network Manager (NM), you have created a new network connection. So, if you go into edit connections for that new VPN server you created, double click that or select edit, and you will be at an edit VPN screen.

2.b.) In Linux Mint 18.x, it should not be necessary to change anything in the advanced options of your VPN connection(s), assuming the VPN provider's configuration file (somewhere.ovpn) is good.


3.) "I meant are ALL repositories with a signing key safe." - I do not know if "ALL repositories" are totally safe because I do not know all of them.

Hope this helps ...
Edit_VPN_Connection1.jpg

Re: Network Manager says I'm connected to unknown when I connect to VPN

Posted: Tue Nov 07, 2017 5:39 pm
by Linux_User157
Sorry for asking so many different questions, but it doesn't show the 4.12 Kernels. Only 4.4, 4.8, 4.10, 4.11 and 4.13. How do I get 4.12?

Re: Network Manager says I'm connected to unknown when I connect to VPN

Posted: Tue Nov 07, 2017 8:39 pm
by phd21
Hi "Linux_User157",

I just checked the Mint Update Manager and I do not see any of the Linux Kernels in the 4.12 series either. But, I would try the 4.13 series then (4.13.0-16) . Just because someone else had an issue with one of the 4.13 kernels does not mean you will. From what I can tell 4.13.11 is available from Ukku, so not sure why Mint only has the one 4.13.0-16.

Unless you have very new hardware (and you do), most users would be good sticking in the 4.11 series. I had 4.12.7 installed for awhile with no problems. From what I have read, the 4.12 series and newer represent major improvement upgrades to the Linux Kernels.



Hope this helps ...
MintUpdateManager_LinuxKernels2.jpg
Ukuu_LinuxKernelManager_LinuxKernels1sm.jpg
NetworkManager_ConnectionEditor1sm.jpg

Re: Network Manager says I'm connected to unknown when I connect to VPN

Posted: Wed Nov 08, 2017 6:55 pm
by Linux_User157
Oh, you meant go into the edit screen. I just removed my user name because I didn't want to edit it. I thought I should let you know in case it changed anything, I changed the driver from Nouveau to the Nvidia driver, but I looked at the inxi -Fxzd results and it doesn't look like it changed, so I'm not sure if that would affect anything. The new Kernel works fine, but I haven't noticed a speed increase or anything because I don't do anything intensive on Linux.

Code: Select all

System:    Host: comp Kernel: 4.13.0-16-generic x86_64 (64 bit gcc: 5.4.0)
           Desktop: Cinnamon 3.4.6 (Gtk 3.18.9-1ubuntu3.3)
           Distro: Linux Mint 18.2 Sonya
Machine:   System: Alienware product: Alienware 17 R4 v: 1.1.9
           Mobo: Alienware model: Alienware 17 R4 v: A00
           Bios: Alienware v: 1.1.9 date: 07/05/2017
CPU:       Quad core Intel Core i7-6700HQ (-HT-MCP-) cache: 6144 KB
           flags: (lm nx sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx) bmips: 20736
           clock speeds: max: 3500 MHz 1: 2600 MHz 2: 2600 MHz 3: 2600 MHz
           4: 2600 MHz 5: 2600 MHz 6: 2600 MHz 7: 2600 MHz 8: 2600 MHz
Graphics:  Card-1: Intel Skylake Integrated Graphics bus-ID: 00:02.0
           Card-2: NVIDIA Device 1ba1 bus-ID: 01:00.0
           Display Server: X.Org 1.18.4 drivers: intel (unloaded: fbdev,vesa) FAILED: nouveau
           Resolution: 1920x1080@60.02hz
           GLX Renderer: Mesa DRI Intel HD Graphics 530 (Skylake GT2)
           GLX Version: 3.0 Mesa 11.2.0 Direct Rendering: Yes
Audio:     Card Intel Sunrise Point-H HD Audio
           driver: snd_hda_intel bus-ID: 00:1f.3
           Sound: Advanced Linux Sound Architecture v: k4.13.0-16-generic
Network:   Card-1: Qualcomm Atheros Killer E2400 Gigabit Ethernet Controller
           driver: alx port: d000 bus-ID: 3c:00.0
           IF: enp60s0 state: down mac: <filter>
           Card-2: Qualcomm Atheros QCA6174 802.11ac Wireless Network Adapter
           driver: ath10k_pci bus-ID: 3d:00.0
           IF: wlp61s0 state: up mac: <filter>
           Card-3: Atheros usb-ID: 001-004
           IF: null-if-id state: N/A speed: N/A duplex: N/A mac: N/A
Drives:    HDD Total Size: 2128.4GB (1.2% used)
           ID-1: /dev/sda model: SK_hynix_SC308_S size: 128.0GB
           ID-2: /dev/sdb model: ST2000LM015 size: 2000.4GB
           Optical: No optical drives detected.
Partition: ID-1: / size: 1.8T used: 8.2G (1%) fs: ext4 dev: /dev/dm-1
           ID-2: /boot size: 473M used: 118M (27%) fs: ext2 dev: /dev/sdb2
           ID-3: swap-1 size: 17.05GB used: 0.00GB (0%) fs: swap dev: /dev/dm-3
RAID:      No RAID devices: /proc/mdstat, md_mod kernel module present
Sensors:   System Temperatures: cpu: 49.0C mobo: N/A
           Fan Speeds (in rpm): cpu: N/A
Info:      Processes: 253 Uptime: 12 min Memory: 1040.8/15915.3MB
           Init: systemd runlevel: 5 Gcc sys: 5.4.0
           Client: Shell (bash 4.3.481) inxi: 2.2.35

Re: Network Manager says I'm connected to unknown when I connect to VPN

Posted: Wed Nov 08, 2017 7:40 pm
by phd21
Hi "Linux_User157",

Is this a laptop or a desktop?

Not sure why your Nvidia card is still not being seen. Please read this link. Do you know what model Nvidia video card this is supposed to be, like GTX 1070? You say you tried to change the driver, how did you do that?
https://devtalk.nvidia.com/default/topi ... /?offset=5


The VPN connection looks good from the screenshot... Have you tried another server from them?

Re: Network Manager says I'm connected to unknown when I connect to VPN

Posted: Wed Nov 08, 2017 8:17 pm
by Linux_User157
It's a laptop. I'm 99% sure it's a GTX 1080 because that's what https://www.pcmag.com/review/353507/ali ... 17-r4-2017 said came with my laptop.

Re: Network Manager says I'm connected to unknown when I connect to VPN

Posted: Wed Nov 08, 2017 8:47 pm
by Linux_User157
I changed my server and updated OpenVPN, but it is still happening. I'm not sure if you are still helping, but i'm putting this on here for others to help.

Re: Network Manager says I'm connected to unknown when I connect to VPN

Posted: Wed Nov 08, 2017 9:02 pm
by phd21
Hi "Linux_User157",

Believe me people in this forum will chime in, if they have something to offer.

For updating your Nvidia video driver. There was mention in that link, that you might have settings for the dual video display in your Bios, including one called "DISCRETE"?

NVIDIA: how to install the latest video card drivers (great website)
https://sites.google.com/site/easylinuxtipsproject/12

Nvidia website
http://www.nvidia.com/download/driverRe ... 6577/en-us

To install this using the PPA method, open a console terminal, type in, or copy & paste, each line below one by one: Click "Select All" above command, right click the highlighted command, select Copy (or Ctrl+Insert), click in the console terminal window, and right click paste (or Shift+Insert), repeat for each command.

Code: Select all

sudo apt-get purge nvidia*

Code: Select all

sudo add-apt-repository ppa:graphics-drivers/ppa

Code: Select all

sudo apt-get update

Code: Select all

sudo apt-get install nvidia-384
Reboot afterwards...

I sent you a PM please check that.


Hope this helps ...

Re: Network Manager says I'm connected to unknown when I connect to VPN

Posted: Wed Nov 08, 2017 9:06 pm
by Linux_User157
I sent you a PM too. That's why I wondered if you were still helping.

Re: Network Manager says I'm connected to unknown when I connect to VPN

Posted: Wed Nov 08, 2017 9:24 pm
by phd21
Hi "Linux_User157",

I got it and replied.

I would certainly update the "OpenVPN" software too.

Re: Network Manager says I'm connected to unknown when I connect to VPN

Posted: Wed Nov 08, 2017 9:39 pm
by Linux_User157
I did update that already.

Re: Network Manager says I'm connected to unknown when I connect to VPN

Posted: Wed Nov 08, 2017 9:43 pm
by phd21
Hi "Linux_User157",

How did it go with updating the Nvidia video driver?