Re: [qubes-users] VPN-setup ''mv: cannot stat ... No such file or directory''

2018-10-23 Thread Chris Laprise

On 10/23/2018 11:52 AM, alexander.ibrahi...@gmail.com wrote:

Den tisdag 23 oktober 2018 kl. 17:25:11 UTC+2 skrev unman:

On Tue, Oct 23, 2018 at 08:08:50AM -0700, alexander.ibrahi...@gmail.com wrote:

Den tisdag 23 oktober 2018 kl. 16:29:29 UTC+2 skrev unman:

On Mon, Oct 22, 2018 at 01:40:24PM -0700, alexander.ibrahi...@gmail.com wrote:

Hello,

I am trying to follow this guide:

https://www.reddit.com/r/Qubes/comments/6h4ue2/guide_setting_up_a_vpn_with_mullvad_on_qubes/

But I am not using mullvad, I am using Nordvpn. But I've been told this guide 
should be compatible.

I am on the secound part of stage 3:

-

Start your VPN-Proxy-VM and run:

sudo mkdir /rw/config/vpn

Move your .ovpn file into this folder by typing:

mv openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn

-

mv openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn command does not 
work. I get this error:

mv: cannot stat 'openvpn-client.ovpn': No such file or directory

If I have understood this right it should automatically find this file in my 
/home/user/Downloads folder. My Nordvpn config file was named something 
different, but I renamed it correcly to ''openvpn-client.ovpn''.

I am lost, I don't know how to solve this.



Whatever route you decide to take, the problem you have here is that the
instructions aren't clear, and 'mv' doesn't work as you think it does.

Your target file is in /home/user/Downloads, but you are in /home/user.
'mv' expects you to specify a file to move. If you don't give an absolute
path then it works relative to where you are.
So your command is looking for a file in /home/user, but the file is
in /home/user/Downloads. That's why it says "No such file".
'mv' will not look about and "find the file" - you need to tell it where the 
file is.



If I understood you correcly if I would want to type such a command, I would 
need to type...

mv /home/user/Downloads/openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn

Would I need to type anything between the two different dirs?



That's exactly right.
You can use a relative path also - if you are in /home/user then :
mv Downloads/openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn
will work.

Also ~ is a shortcut for your home directory.

mv ~/Downloads/openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn

. means "the directory Im  in"
.. means the directory up


Thanks Unman for your followups, but I'm still getting some errors.

Also thanks for the ~ explanation, I didn't understand that until now.

I am following Chris guide: https://github.com/tasket/Qubes-vpn-support/

But I am stuck at secound stage: sudo unzip ~/ovpn-configs-example.zip

First of all, my config file from Nordvpn is a .ovpn file (text document), but 
I do have a installation .deb file (nordvpn-release_1.0.0_all.deb) which has a 
package icon like an zip file. Both these files are in my ~/Downloads directory.

When I type:

sudo unzip ~/Downloads/nordvpn-release_1.0.0_all.deb

... it says this:

unzip: cannot find or open /home/user/Downloads/nordvpn-release_1.0.0_all.deb, 
/home/user/Downloads/nordvpn-release_1.0.0_all.deb.zip or 
/home/user/Downloads/nordvpn-release_1.0.0_all.deb.ZIP.


The "deb" indicates it is a custom program written by NordVPN. You 
should probably avoid this since NordVPN probably doesn't adjust their 
code for Qubes networking (there will be DNS and security problems). The 
Qubes-vpn-support page links to a NordVPN page that contains only the 
openvpn configs in zip form, which is what you want.


Also, this step cannot be taken verbatim, since different VPN providers 
will have differently-named files. This requires enough familiarity with 
the Linux shell to be able to interpret what the exact unzip or copy 
commands should be. The gist of this step is that you should obtain ovpn 
configs from your provider, put them in /rw/config/vpn, and make sure 
one of them appears there as "vpn-client.conf" which is what the "ln" 
link command is for (but you can use "cp" instead of "ln" if you wish).


I'd also advise you not to try performing more than one solution at the 
same time as this only causes confusion.


--

Chris Laprise, tas...@posteo.net
https://github.com/tasket
https://twitter.com/ttaskett
PGP: BEE2 20C5 356E 764A 73EB  4AB3 1DC4 D106 F07F 1886

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/affa2dd4-8f51-023a-f9f4-794da0604546%40posteo.net.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] VPN-setup ''mv: cannot stat ... No such file or directory''

2018-10-23 Thread alexander . ibrahim97
Den tisdag 23 oktober 2018 kl. 17:52:00 UTC+2 skrev alexander...@gmail.com:
> Den tisdag 23 oktober 2018 kl. 17:25:11 UTC+2 skrev unman:
> > On Tue, Oct 23, 2018 at 08:08:50AM -0700, alexander.ibrahi...@gmail.com 
> > wrote:
> > > Den tisdag 23 oktober 2018 kl. 16:29:29 UTC+2 skrev unman:
> > > > On Mon, Oct 22, 2018 at 01:40:24PM -0700, alexander.ibrahi...@gmail.com 
> > > > wrote:
> > > > > Hello, 
> > > > > 
> > > > > I am trying to follow this guide:
> > > > > 
> > > > > https://www.reddit.com/r/Qubes/comments/6h4ue2/guide_setting_up_a_vpn_with_mullvad_on_qubes/
> > > > > 
> > > > > But I am not using mullvad, I am using Nordvpn. But I've been told 
> > > > > this guide should be compatible.
> > > > > 
> > > > > I am on the secound part of stage 3:
> > > > > 
> > > > > -
> > > > > 
> > > > > Start your VPN-Proxy-VM and run:
> > > > > 
> > > > > sudo mkdir /rw/config/vpn
> > > > > 
> > > > > Move your .ovpn file into this folder by typing:
> > > > > 
> > > > > mv openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn
> > > > > 
> > > > > -
> > > > > 
> > > > > mv openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn command 
> > > > > does not work. I get this error:
> > > > > 
> > > > > mv: cannot stat 'openvpn-client.ovpn': No such file or directory
> > > > > 
> > > > > If I have understood this right it should automatically find this 
> > > > > file in my /home/user/Downloads folder. My Nordvpn config file was 
> > > > > named something different, but I renamed it correcly to 
> > > > > ''openvpn-client.ovpn''. 
> > > > > 
> > > > > I am lost, I don't know how to solve this. 
> > > > > 
> > > > 
> > > > Whatever route you decide to take, the problem you have here is that the
> > > > instructions aren't clear, and 'mv' doesn't work as you think it does.
> > > > 
> > > > Your target file is in /home/user/Downloads, but you are in /home/user.
> > > > 'mv' expects you to specify a file to move. If you don't give an 
> > > > absolute
> > > > path then it works relative to where you are.
> > > > So your command is looking for a file in /home/user, but the file is
> > > > in /home/user/Downloads. That's why it says "No such file".
> > > > 'mv' will not look about and "find the file" - you need to tell it 
> > > > where the file is.
> > > 
> > > 
> > > If I understood you correcly if I would want to type such a command, I 
> > > would need to type...
> > > 
> > > mv /home/user/Downloads/openvpn-client.ovpn 
> > > /rw/config/vpn/openvpn-client.ovpn
> > > 
> > > Would I need to type anything between the two different dirs?
> > > 
> > 
> > That's exactly right.
> > You can use a relative path also - if you are in /home/user then :
> > mv Downloads/openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn
> > will work.
> > 
> > Also ~ is a shortcut for your home directory.
> > 
> > mv ~/Downloads/openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn
> > 
> > . means "the directory Im  in"
> > .. means the directory up
> 
> Thanks Unman for your followups, but I'm still getting some errors.
> 
> Also thanks for the ~ explanation, I didn't understand that until now.
> 
> I am following Chris guide: https://github.com/tasket/Qubes-vpn-support/
> 
> But I am stuck at secound stage: sudo unzip ~/ovpn-configs-example.zip
> 
> First of all, my config file from Nordvpn is a .ovpn file (text document), 
> but I do have a installation .deb file (nordvpn-release_1.0.0_all.deb) which 
> has a package icon like an zip file. Both these files are in my ~/Downloads 
> directory.
> 
> When I type:
> 
> sudo unzip ~/Downloads/nordvpn-release_1.0.0_all.deb
> 
> ... it says this:
> 
> unzip: cannot find or open 
> /home/user/Downloads/nordvpn-release_1.0.0_all.deb, 
> /home/user/Downloads/nordvpn-release_1.0.0_all.deb.zip or 
> /home/user/Downloads/nordvpn-release_1.0.0_all.deb.ZIP.
> 
> I think it's telling me that the .deb package is not a zip file which I 
> suspected. I tried doing this with the config file I got from here:
> 
> https://nordvpn.com/sv/ovpn/
> 
> But I got the exact same result but error changed to the config files name, 
> same directories.

I went ahead and tried with this guide since I ran into that issue on the guide 
Chris linked: 
https://www.reddit.com/r/Qubes/comments/6h4ue2/guide_setting_up_a_vpn_with_mullvad_on_qubes/

When running this: 

mv ~/Downloads/openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn

(I had renamed the config file to openvpn-client.ovpn and also ran a cd 
/rw/config/vpn before). 

I get this error: 

mv: cannot stat '/home/user/Downloads/openvpn-client.ovpn': No such file or 
directory

Whatever I try the terminal cannot find my files in the Downloads directory. 

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion 

Re: [qubes-users] VPN-setup ''mv: cannot stat ... No such file or directory''

2018-10-23 Thread alexander . ibrahim97
Den tisdag 23 oktober 2018 kl. 17:25:11 UTC+2 skrev unman:
> On Tue, Oct 23, 2018 at 08:08:50AM -0700, alexander.ibrahi...@gmail.com wrote:
> > Den tisdag 23 oktober 2018 kl. 16:29:29 UTC+2 skrev unman:
> > > On Mon, Oct 22, 2018 at 01:40:24PM -0700, alexander.ibrahi...@gmail.com 
> > > wrote:
> > > > Hello, 
> > > > 
> > > > I am trying to follow this guide:
> > > > 
> > > > https://www.reddit.com/r/Qubes/comments/6h4ue2/guide_setting_up_a_vpn_with_mullvad_on_qubes/
> > > > 
> > > > But I am not using mullvad, I am using Nordvpn. But I've been told this 
> > > > guide should be compatible.
> > > > 
> > > > I am on the secound part of stage 3:
> > > > 
> > > > -
> > > > 
> > > > Start your VPN-Proxy-VM and run:
> > > > 
> > > > sudo mkdir /rw/config/vpn
> > > > 
> > > > Move your .ovpn file into this folder by typing:
> > > > 
> > > > mv openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn
> > > > 
> > > > -
> > > > 
> > > > mv openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn command does 
> > > > not work. I get this error:
> > > > 
> > > > mv: cannot stat 'openvpn-client.ovpn': No such file or directory
> > > > 
> > > > If I have understood this right it should automatically find this file 
> > > > in my /home/user/Downloads folder. My Nordvpn config file was named 
> > > > something different, but I renamed it correcly to 
> > > > ''openvpn-client.ovpn''. 
> > > > 
> > > > I am lost, I don't know how to solve this. 
> > > > 
> > > 
> > > Whatever route you decide to take, the problem you have here is that the
> > > instructions aren't clear, and 'mv' doesn't work as you think it does.
> > > 
> > > Your target file is in /home/user/Downloads, but you are in /home/user.
> > > 'mv' expects you to specify a file to move. If you don't give an absolute
> > > path then it works relative to where you are.
> > > So your command is looking for a file in /home/user, but the file is
> > > in /home/user/Downloads. That's why it says "No such file".
> > > 'mv' will not look about and "find the file" - you need to tell it where 
> > > the file is.
> > 
> > 
> > If I understood you correcly if I would want to type such a command, I 
> > would need to type...
> > 
> > mv /home/user/Downloads/openvpn-client.ovpn 
> > /rw/config/vpn/openvpn-client.ovpn
> > 
> > Would I need to type anything between the two different dirs?
> > 
> 
> That's exactly right.
> You can use a relative path also - if you are in /home/user then :
> mv Downloads/openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn
> will work.
> 
> Also ~ is a shortcut for your home directory.
> 
> mv ~/Downloads/openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn
> 
> . means "the directory Im  in"
> .. means the directory up

Thanks Unman for your followups, but I'm still getting some errors.

Also thanks for the ~ explanation, I didn't understand that until now.

I am following Chris guide: https://github.com/tasket/Qubes-vpn-support/

But I am stuck at secound stage: sudo unzip ~/ovpn-configs-example.zip

First of all, my config file from Nordvpn is a .ovpn file (text document), but 
I do have a installation .deb file (nordvpn-release_1.0.0_all.deb) which has a 
package icon like an zip file. Both these files are in my ~/Downloads directory.

When I type:

sudo unzip ~/Downloads/nordvpn-release_1.0.0_all.deb

... it says this:

unzip: cannot find or open /home/user/Downloads/nordvpn-release_1.0.0_all.deb, 
/home/user/Downloads/nordvpn-release_1.0.0_all.deb.zip or 
/home/user/Downloads/nordvpn-release_1.0.0_all.deb.ZIP.

I think it's telling me that the .deb package is not a zip file which I 
suspected. I tried doing this with the config file I got from here:

https://nordvpn.com/sv/ovpn/

But I got the exact same result but error changed to the config files name, 
same directories.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/89e789af-4ffc-4fab-ac91-a56cc3b2f41a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] VPN-setup ''mv: cannot stat ... No such file or directory''

2018-10-23 Thread unman
On Tue, Oct 23, 2018 at 08:08:50AM -0700, alexander.ibrahi...@gmail.com wrote:
> Den tisdag 23 oktober 2018 kl. 16:29:29 UTC+2 skrev unman:
> > On Mon, Oct 22, 2018 at 01:40:24PM -0700, alexander.ibrahi...@gmail.com 
> > wrote:
> > > Hello, 
> > > 
> > > I am trying to follow this guide:
> > > 
> > > https://www.reddit.com/r/Qubes/comments/6h4ue2/guide_setting_up_a_vpn_with_mullvad_on_qubes/
> > > 
> > > But I am not using mullvad, I am using Nordvpn. But I've been told this 
> > > guide should be compatible.
> > > 
> > > I am on the secound part of stage 3:
> > > 
> > > -
> > > 
> > > Start your VPN-Proxy-VM and run:
> > > 
> > > sudo mkdir /rw/config/vpn
> > > 
> > > Move your .ovpn file into this folder by typing:
> > > 
> > > mv openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn
> > > 
> > > -
> > > 
> > > mv openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn command does 
> > > not work. I get this error:
> > > 
> > > mv: cannot stat 'openvpn-client.ovpn': No such file or directory
> > > 
> > > If I have understood this right it should automatically find this file in 
> > > my /home/user/Downloads folder. My Nordvpn config file was named 
> > > something different, but I renamed it correcly to 
> > > ''openvpn-client.ovpn''. 
> > > 
> > > I am lost, I don't know how to solve this. 
> > > 
> > 
> > Whatever route you decide to take, the problem you have here is that the
> > instructions aren't clear, and 'mv' doesn't work as you think it does.
> > 
> > Your target file is in /home/user/Downloads, but you are in /home/user.
> > 'mv' expects you to specify a file to move. If you don't give an absolute
> > path then it works relative to where you are.
> > So your command is looking for a file in /home/user, but the file is
> > in /home/user/Downloads. That's why it says "No such file".
> > 'mv' will not look about and "find the file" - you need to tell it where 
> > the file is.
> 
> 
> If I understood you correcly if I would want to type such a command, I would 
> need to type...
> 
> mv /home/user/Downloads/openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn
> 
> Would I need to type anything between the two different dirs?
> 

That's exactly right.
You can use a relative path also - if you are in /home/user then :
mv Downloads/openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn
will work.

Also ~ is a shortcut for your home directory.

mv ~/Downloads/openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn

. means "the directory Im  in"
.. means the directory up


-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20181023152508.2ttr6reli44fm72x%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] VPN-setup ''mv: cannot stat ... No such file or directory''

2018-10-23 Thread unman
On Tue, Oct 23, 2018 at 08:05:51AM -0700, alexander.ibrahi...@gmail.com wrote:
> Den tisdag 23 oktober 2018 kl. 16:29:29 UTC+2 skrev unman:
> > On Mon, Oct 22, 2018 at 01:40:24PM -0700, alexander.ibrahi...@gmail.com 
> > wrote:
> > > Hello, 
> > > 
> > > I am trying to follow this guide:
> > > 
> > > https://www.reddit.com/r/Qubes/comments/6h4ue2/guide_setting_up_a_vpn_with_mullvad_on_qubes/
> > > 
> > > But I am not using mullvad, I am using Nordvpn. But I've been told this 
> > > guide should be compatible.
> > > 
> > > I am on the secound part of stage 3:
> > > 
> > > -
> > > 
> > > Start your VPN-Proxy-VM and run:
> > > 
> > > sudo mkdir /rw/config/vpn
> > > 
> > > Move your .ovpn file into this folder by typing:
> > > 
> > > mv openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn
> > > 
> > > -
> > > 
> > > mv openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn command does 
> > > not work. I get this error:
> > > 
> > > mv: cannot stat 'openvpn-client.ovpn': No such file or directory
> > > 
> > > If I have understood this right it should automatically find this file in 
> > > my /home/user/Downloads folder. My Nordvpn config file was named 
> > > something different, but I renamed it correcly to 
> > > ''openvpn-client.ovpn''. 
> > > 
> > > I am lost, I don't know how to solve this. 
> > > 
> > 
> > Whatever route you decide to take, the problem you have here is that the
> > instructions aren't clear, and 'mv' doesn't work as you think it does.
> > 
> > Your target file is in /home/user/Downloads, but you are in /home/user.
> > 'mv' expects you to specify a file to move. If you don't give an absolute
> > path then it works relative to where you are.
> > So your command is looking for a file in /home/user, but the file is
> > in /home/user/Downloads. That's why it says "No such file".
> > 'mv' will not look about and "find the file" - you need to tell it where 
> > the file is.
> 
> Hi, what an honor to get a reply direcly from you then! :-)
> 
> Thanks, I will be following this guide. If I get any issues, I hope you can 
> find the time to help me out. I would very much appreciate it since I'm very 
> new.
> 

Hello Alexander

Chris has offered another "packaged" solution which works well.

You can learn a good deal more by doing it yourself if you aim to
understand what you are doing rather than just following instructions.
If you do use the guide, and don't understand anything or hit problems
just mail here and someone will help out.

Best luck

unman 

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20181023151259.vamy7xfwemf5jjt3%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] VPN-setup ''mv: cannot stat ... No such file or directory''

2018-10-23 Thread alexander . ibrahim97
Den tisdag 23 oktober 2018 kl. 16:29:29 UTC+2 skrev unman:
> On Mon, Oct 22, 2018 at 01:40:24PM -0700, alexander.ibrahi...@gmail.com wrote:
> > Hello, 
> > 
> > I am trying to follow this guide:
> > 
> > https://www.reddit.com/r/Qubes/comments/6h4ue2/guide_setting_up_a_vpn_with_mullvad_on_qubes/
> > 
> > But I am not using mullvad, I am using Nordvpn. But I've been told this 
> > guide should be compatible.
> > 
> > I am on the secound part of stage 3:
> > 
> > -
> > 
> > Start your VPN-Proxy-VM and run:
> > 
> > sudo mkdir /rw/config/vpn
> > 
> > Move your .ovpn file into this folder by typing:
> > 
> > mv openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn
> > 
> > -
> > 
> > mv openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn command does not 
> > work. I get this error:
> > 
> > mv: cannot stat 'openvpn-client.ovpn': No such file or directory
> > 
> > If I have understood this right it should automatically find this file in 
> > my /home/user/Downloads folder. My Nordvpn config file was named something 
> > different, but I renamed it correcly to ''openvpn-client.ovpn''. 
> > 
> > I am lost, I don't know how to solve this. 
> > 
> 
> Whatever route you decide to take, the problem you have here is that the
> instructions aren't clear, and 'mv' doesn't work as you think it does.
> 
> Your target file is in /home/user/Downloads, but you are in /home/user.
> 'mv' expects you to specify a file to move. If you don't give an absolute
> path then it works relative to where you are.
> So your command is looking for a file in /home/user, but the file is
> in /home/user/Downloads. That's why it says "No such file".
> 'mv' will not look about and "find the file" - you need to tell it where the 
> file is.

Hi, what an honor to get a reply direcly from you then! :-)

Thanks, I will be following this guide. If I get any issues, I hope you can 
find the time to help me out. I would very much appreciate it since I'm very 
new.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/34fd9e13-ecb0-49f2-929c-e0db00e4e3d2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] VPN-setup ''mv: cannot stat ... No such file or directory''

2018-10-23 Thread unman
On Mon, Oct 22, 2018 at 01:40:24PM -0700, alexander.ibrahi...@gmail.com wrote:
> Hello, 
> 
> I am trying to follow this guide:
> 
> https://www.reddit.com/r/Qubes/comments/6h4ue2/guide_setting_up_a_vpn_with_mullvad_on_qubes/
> 
> But I am not using mullvad, I am using Nordvpn. But I've been told this guide 
> should be compatible.
> 
> I am on the secound part of stage 3:
> 
> -
> 
> Start your VPN-Proxy-VM and run:
> 
> sudo mkdir /rw/config/vpn
> 
> Move your .ovpn file into this folder by typing:
> 
> mv openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn
> 
> -
> 
> mv openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn command does not 
> work. I get this error:
> 
> mv: cannot stat 'openvpn-client.ovpn': No such file or directory
> 
> If I have understood this right it should automatically find this file in my 
> /home/user/Downloads folder. My Nordvpn config file was named something 
> different, but I renamed it correcly to ''openvpn-client.ovpn''. 
> 
> I am lost, I don't know how to solve this. 
> 

Whatever route you decide to take, the problem you have here is that the
instructions aren't clear, and 'mv' doesn't work as you think it does.

Your target file is in /home/user/Downloads, but you are in /home/user.
'mv' expects you to specify a file to move. If you don't give an absolute
path then it works relative to where you are.
So your command is looking for a file in /home/user, but the file is
in /home/user/Downloads. That's why it says "No such file".
'mv' will not look about and "find the file" - you need to tell it where the 
file is.

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/20181023142927.rshtpz2ckaipjs6a%40thirdeyesecurity.org.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] VPN-setup ''mv: cannot stat ... No such file or directory''

2018-10-23 Thread Chris Laprise

On 10/23/2018 09:45 AM, alexander.ibrahi...@gmail.com wrote:

Den tisdag 23 oktober 2018 kl. 02:27:49 UTC+2 skrev Chris Laprise:

On 10/22/2018 04:40 PM, alexander.ibrahi...@gmail.com wrote:

Hello,

I am trying to follow this guide:

https://www.reddit.com/r/Qubes/comments/6h4ue2/guide_setting_up_a_vpn_with_mullvad_on_qubes/

But I am not using mullvad, I am using Nordvpn. But I've been told this guide 
should be compatible.

I am on the secound part of stage 3:

-

Start your VPN-Proxy-VM and run:

sudo mkdir /rw/config/vpn

Move your .ovpn file into this folder by typing:

mv openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn

-

mv openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn command does not 
work. I get this error:

mv: cannot stat 'openvpn-client.ovpn': No such file or directory

If I have understood this right it should automatically find this file in my 
/home/user/Downloads folder. My Nordvpn config file was named something 
different, but I renamed it correcly to ''openvpn-client.ovpn''.

I am lost, I don't know how to solve this.


This is just a rehash of the official Qubes instructions, though it
introduces security risk by pulling scripts from pastebin.

A more foolproof way to setup your VPN is to run this in a new proxyVM:

https://github.com/tasket/Qubes-vpn-support/

Its better in all regards than the old scripts, including ease of use.


--

Chris Laprise, tas...@posteo.net
https://github.com/tasket
https://twitter.com/ttaskett
PGP: BEE2 20C5 356E 764A 73EB  4AB3 1DC4 D106 F07F 1886


Hi,

Thanks for you answer, but will I be as safe?



The safety features are at least as good as the old scripts (I wrote the 
old and the new ones).


In terms of trust, the Qubes-vpn-support code is signed by me and you 
can verify the signature if you wish. This is better than grabbing it 
from pastebin pages. There are also dozens of Qubes users who have used 
it to setup their VPNs, and it is often discussed here on the mailing list.


--

Chris Laprise, tas...@posteo.net
https://github.com/tasket
https://twitter.com/ttaskett
PGP: BEE2 20C5 356E 764A 73EB  4AB3 1DC4 D106 F07F 1886

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/ab6b0d37-5fb9-fe5c-5694-b13858c24185%40posteo.net.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] VPN-setup ''mv: cannot stat ... No such file or directory''

2018-10-23 Thread alexander . ibrahim97
Den tisdag 23 oktober 2018 kl. 02:27:49 UTC+2 skrev Chris Laprise:
> On 10/22/2018 04:40 PM, alexander.ibrahi...@gmail.com wrote:
> > Hello,
> > 
> > I am trying to follow this guide:
> > 
> > https://www.reddit.com/r/Qubes/comments/6h4ue2/guide_setting_up_a_vpn_with_mullvad_on_qubes/
> > 
> > But I am not using mullvad, I am using Nordvpn. But I've been told this 
> > guide should be compatible.
> > 
> > I am on the secound part of stage 3:
> > 
> > -
> > 
> > Start your VPN-Proxy-VM and run:
> > 
> > sudo mkdir /rw/config/vpn
> > 
> > Move your .ovpn file into this folder by typing:
> > 
> > mv openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn
> > 
> > -
> > 
> > mv openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn command does not 
> > work. I get this error:
> > 
> > mv: cannot stat 'openvpn-client.ovpn': No such file or directory
> > 
> > If I have understood this right it should automatically find this file in 
> > my /home/user/Downloads folder. My Nordvpn config file was named something 
> > different, but I renamed it correcly to ''openvpn-client.ovpn''.
> > 
> > I am lost, I don't know how to solve this.
> 
> This is just a rehash of the official Qubes instructions, though it 
> introduces security risk by pulling scripts from pastebin.
> 
> A more foolproof way to setup your VPN is to run this in a new proxyVM:
> 
> https://github.com/tasket/Qubes-vpn-support/
> 
> Its better in all regards than the old scripts, including ease of use.
> 
> 
> -- 
> 
> Chris Laprise, tas...@posteo.net
> https://github.com/tasket
> https://twitter.com/ttaskett
> PGP: BEE2 20C5 356E 764A 73EB  4AB3 1DC4 D106 F07F 1886

Hi,

Thanks for you answer, but will I be as safe?

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/c9207d0e-d59f-4da4-ba82-4f20cbaa3cf7%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] VPN-setup ''mv: cannot stat ... No such file or directory''

2018-10-22 Thread Chris Laprise

On 10/22/2018 04:40 PM, alexander.ibrahi...@gmail.com wrote:

Hello,

I am trying to follow this guide:

https://www.reddit.com/r/Qubes/comments/6h4ue2/guide_setting_up_a_vpn_with_mullvad_on_qubes/

But I am not using mullvad, I am using Nordvpn. But I've been told this guide 
should be compatible.

I am on the secound part of stage 3:

-

Start your VPN-Proxy-VM and run:

sudo mkdir /rw/config/vpn

Move your .ovpn file into this folder by typing:

mv openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn

-

mv openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn command does not 
work. I get this error:

mv: cannot stat 'openvpn-client.ovpn': No such file or directory

If I have understood this right it should automatically find this file in my 
/home/user/Downloads folder. My Nordvpn config file was named something 
different, but I renamed it correcly to ''openvpn-client.ovpn''.

I am lost, I don't know how to solve this.


This is just a rehash of the official Qubes instructions, though it 
introduces security risk by pulling scripts from pastebin.


A more foolproof way to setup your VPN is to run this in a new proxyVM:

https://github.com/tasket/Qubes-vpn-support/

Its better in all regards than the old scripts, including ease of use.


--

Chris Laprise, tas...@posteo.net
https://github.com/tasket
https://twitter.com/ttaskett
PGP: BEE2 20C5 356E 764A 73EB  4AB3 1DC4 D106 F07F 1886

--
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/ce23d2e5-b5f3-e8f1-a9eb-cfe5f4d47daa%40posteo.net.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] VPN-setup ''mv: cannot stat ... No such file or directory''

2018-10-22 Thread alexander . ibrahim97
Hello, 

I am trying to follow this guide:

https://www.reddit.com/r/Qubes/comments/6h4ue2/guide_setting_up_a_vpn_with_mullvad_on_qubes/

But I am not using mullvad, I am using Nordvpn. But I've been told this guide 
should be compatible.

I am on the secound part of stage 3:

-

Start your VPN-Proxy-VM and run:

sudo mkdir /rw/config/vpn

Move your .ovpn file into this folder by typing:

mv openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn

-

mv openvpn-client.ovpn /rw/config/vpn/openvpn-client.ovpn command does not 
work. I get this error:

mv: cannot stat 'openvpn-client.ovpn': No such file or directory

If I have understood this right it should automatically find this file in my 
/home/user/Downloads folder. My Nordvpn config file was named something 
different, but I renamed it correcly to ''openvpn-client.ovpn''. 

I am lost, I don't know how to solve this. 

-- 
You received this message because you are subscribed to the Google Groups 
"qubes-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to qubes-users+unsubscr...@googlegroups.com.
To post to this group, send email to qubes-users@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/bebfd209-a9ba-45eb-9316-8d73db785084%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.