VPN won't connect 3.2rc2 [Solved]
-
- Black ninja
- Posts: 65
- Joined: 26 May 2016, 13:32
- Distribution: Desktop 3.1
- Location: England
VPN won't connect 3.2rc2 [Solved]
grep VPN /var/log/syslog
May 27 11:19:37 porteus NetworkManager[1039]: <warn> [1464347977.0781] vpn-connection[0x18dc1f0,37464fb5-2734-460e-be87-fe8c534a4d37,"TorGuard.Czech",0]: VPN connection: failed to connect interactively: 'User 'nm-openvpn' not found, check NM_OPENVPN_USER.'
May 27 11:19:42 porteus NetworkManager[1039]: <warn> [1464347982.2092] vpn-connection[0x18dc3e0,37464fb5-2734-460e-be87-fe8c534a4d37,"TorGuard.Czech",0]: VPN connection: failed to connect interactively: 'User 'nm-openvpn' not found, check NM_OPENVPN_USER.'
May 27 11:21:50 porteus NetworkManager[1039]: <warn> [1464348110.9217] vpn-connection[0x18dc5d0,37464fb5-2734-460e-be87-fe8c534a4d37,"TorGuard.Czech",0]: VPN connection: failed to connect interactively: 'User 'nm-openvpn' not found, check NM_OPENVPN_USER.'
May 27 11:21:55 porteus NetworkManager[1039]: <warn> [1464348115.3927] vpn-connection[0x18dc7c0,37464fb5-2734-460e-be87-fe8c534a4d37,"TorGuard.Czech",0]: VPN connection: failed to connect interactively: 'User 'nm-openvpn' not found, check NM_OPENVPN_USER.'
I tried
adduser --group --system nm-openvpn
I get
"adduser: command not found."
I can connect to wi-fi so it must be something to do with permissions. Any ideas? Thanks.
May 27 11:19:37 porteus NetworkManager[1039]: <warn> [1464347977.0781] vpn-connection[0x18dc1f0,37464fb5-2734-460e-be87-fe8c534a4d37,"TorGuard.Czech",0]: VPN connection: failed to connect interactively: 'User 'nm-openvpn' not found, check NM_OPENVPN_USER.'
May 27 11:19:42 porteus NetworkManager[1039]: <warn> [1464347982.2092] vpn-connection[0x18dc3e0,37464fb5-2734-460e-be87-fe8c534a4d37,"TorGuard.Czech",0]: VPN connection: failed to connect interactively: 'User 'nm-openvpn' not found, check NM_OPENVPN_USER.'
May 27 11:21:50 porteus NetworkManager[1039]: <warn> [1464348110.9217] vpn-connection[0x18dc5d0,37464fb5-2734-460e-be87-fe8c534a4d37,"TorGuard.Czech",0]: VPN connection: failed to connect interactively: 'User 'nm-openvpn' not found, check NM_OPENVPN_USER.'
May 27 11:21:55 porteus NetworkManager[1039]: <warn> [1464348115.3927] vpn-connection[0x18dc7c0,37464fb5-2734-460e-be87-fe8c534a4d37,"TorGuard.Czech",0]: VPN connection: failed to connect interactively: 'User 'nm-openvpn' not found, check NM_OPENVPN_USER.'
I tried
adduser --group --system nm-openvpn
I get
"adduser: command not found."
I can connect to wi-fi so it must be something to do with permissions. Any ideas? Thanks.
Last edited by fab1qaz on 07 Jun 2016, 09:05, edited 1 time in total.
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: VPN won't connect 3.2rc2
If using openvpn, you have to do this:
If you get the above results, then vpn is good to go.
Code: Select all
guest@porteus:~$ cat /dev/net/tun
cat: /dev/net/tun: No such file or directory
guest@porteus:~$ sudo /sbin/modprobe tun
guest@porteus:~$ cat /dev/net/tun
cat: /dev/net/tun: File descriptor in bad state
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
-
- Black ninja
- Posts: 65
- Joined: 26 May 2016, 13:32
- Distribution: Desktop 3.1
- Location: England
Re: VPN won't connect 3.2rc2
How do you add users on this OS, user nm-openvpn is required in order to connect to the VPN and needs to be in Group system.
Edit: Thanks I'll try that out now.
Edit: Thanks I'll try that out now.
-
- Black ninja
- Posts: 65
- Joined: 26 May 2016, 13:32
- Distribution: Desktop 3.1
- Location: England
Re: VPN won't connect 3.2rc2
guest@porteus:~$ cat /dev/net/tun
cat: /dev/net/tun: File descriptor in bad state
guest@porteus:~$ sudo /sbin/modprobe tun
guest@porteus:~$ cat /dev/net/tun
cat: /dev/net/tun: File descriptor in bad state
OK I got file descriptor in bad state straight away so it didn't change anything. VPN just does not connect. Do you know how I can add a user to group system?
cat: /dev/net/tun: File descriptor in bad state
guest@porteus:~$ sudo /sbin/modprobe tun
guest@porteus:~$ cat /dev/net/tun
cat: /dev/net/tun: File descriptor in bad state
OK I got file descriptor in bad state straight away so it didn't change anything. VPN just does not connect. Do you know how I can add a user to group system?
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: VPN won't connect 3.2rc2
That is the beauty of a minimalist sytem: there can only be one user guest.fab1qaz wrote:Do you know how I can add a user to group system?

What are you trying to do? And why does vpn require another user?
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
-
- Black ninja
- Posts: 65
- Joined: 26 May 2016, 13:32
- Distribution: Desktop 3.1
- Location: England
Re: VPN won't connect 3.2rc2
I figured at much but this code
made me think I needed to add another user. All I'm trying to do is connect to my VPN on Porteus network manager using openvpn.
Code: Select all
'User 'nm-openvpn' not found, check NM_OPENVPN_USER.'
-
- Black ninja
- Posts: 65
- Joined: 26 May 2016, 13:32
- Distribution: Desktop 3.1
- Location: England
Re: VPN won't connect 3.2rc2
Any reason why openvpn would fail on on rc2? It should work, right? The VPN connecting spin wheel lasts about 1ms before giving up, basically no time at all.
- wread
- Module Guard
- Posts: 1257
- Joined: 09 Jan 2011, 18:48
- Distribution: Porteus v5.0-kde-64 bits
- Location: Santo Domingo
- Contact:
Re: VPN won't connect 3.2rc2
@fab1qaz
VPN is not so easy...Do you have a configuration file in /etc/openvpn/openvpn.conf?
I had SaferVPN configured and working for 2 days with Kde; I disconnected because it was to expensive for me... I thought the charge was per year; no! it was per month
What is the use of Vpn? Mainly as a proxy; I use Tor for that, and can navigate anonymously at no cost!...
Good luck!
VPN is not so easy...Do you have a configuration file in /etc/openvpn/openvpn.conf?
I had SaferVPN configured and working for 2 days with Kde; I disconnected because it was to expensive for me... I thought the charge was per year; no! it was per month

What is the use of Vpn? Mainly as a proxy; I use Tor for that, and can navigate anonymously at no cost!...
Good luck!
Porteus is proud of the FASTEST KDE ever made.....(take akonadi, nepomuk and soprano out and you will have a decent OS).
The Porteus Community never sleeps!
The Porteus Community never sleeps!
-
- Black ninja
- Posts: 65
- Joined: 26 May 2016, 13:32
- Distribution: Desktop 3.1
- Location: England
Re: VPN won't connect 3.2rc2
Actually no, just a openvpn.conf.sample. I assumed it would be set up as VPN is basic functionality these days. I got a black friday deal with torguard I think it is $15 for 6 months which is good. Yeah tor is slow I tried using it as a proxy but you never know where you are going to be and a VPN is faster and more simple for me. Maybe it would be easier if I could get an xzm of torguard. As you see on their site https://torguard.net/downloads.php I can grab either .deb, tar.bz2, or rpm. Deb is easy to change to .xzm right? I don't mind using the client if openvpn is a bitch to set up. 

-
- Black ninja
- Posts: 65
- Joined: 26 May 2016, 13:32
- Distribution: Desktop 3.1
- Location: England
Re: VPN won't connect 3.2rc2
Solved, just convert the deb to xzm with deb2xzm in right click menu! 

- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: VPN won't connect 3.2rc2
vpn should work out of the box in rc3. Also, I have removed any dependency on guest user. You can now create another user if you please. Unless you get errors in which case you can't. 

How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.
-
- Full of knowledge
- Posts: 2564
- Joined: 25 Jun 2014, 15:21
- Distribution: 3.2.2 Cinnamon & KDE5
- Location: London
Re: VPN won't connect 3.2rc2
Only for vpn, or overall?brokenman wrote:Also, I have removed any dependency on guest user. You can now create another user if you please. Unless you get errors in which case you can't.
Linux porteus 4.4.0-porteus #3 SMP PREEMPT Sat Jan 23 07:01:55 UTC 2016 i686 AMD Sempron(tm) 140 Processor AuthenticAMD GNU/Linux
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
NVIDIA Corporation C61 [GeForce 6150SE nForce 430] (rev a2) MemTotal: 901760 kB MemFree: 66752 kB
- brokenman
- Site Admin
- Posts: 6105
- Joined: 27 Dec 2010, 03:50
- Distribution: Porteus v4 all desktops
- Location: Brazil
Re: VPN won't connect 3.2rc2
I did a very rudimentary check for any script that uses the string 'guest' and changed it to get the currently logged in user. In theory this means you should be able to create a user by any name. Be warned that you will be looking at a default config after logging in.
How do i become super user?
Wear your underpants on the outside and put on a cape.
Wear your underpants on the outside and put on a cape.