Re: [qubes-users] Cannot execute commands in terminal - not root?

2017-04-27 Thread almir . aljic1998
Yes, I just used su and did everything listed in the guide (with su I could 
edit files via terminal etc without any problems) but it still does not work. 
The VPN won't work, I did everything according to the guide in the link in my 
first post.

For instance I did everything in the ProxyVM then I configured my personal VM 
to route through the ProxyVM but when I open Firefox and try to enter any 
website on my personal VM it does not connect. I cannot connect to any website.

I have no idea what is wrong. Is that guide faulty by any chance?

-- 
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/7ae31e6f-0216-45e6-a1d8-bd8ea4ab682a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Cannot execute commands in terminal - not root?

2017-04-28 Thread almir . aljic1998
On Friday, April 28, 2017 at 4:50:07 AM UTC+2, Chris Laprise wrote:
> On 04/27/2017 06:48 PM, almir.aljic1...@gmail.com wrote:
> > On Friday, April 28, 2017 at 12:29:57 AM UTC+2, almir.a...@gmail.com
> > wrote:
> >> Alright. But I have another question. In the guide you linked, on
> >> step 4, it tells me to add 3 lines to my openvpn-client.ovpn file.
> >> Where do I add these 3 lines in this file? Is it fine if I just put
> >> them at the bottom of the file?
> 
> Position in the ovpn file isn't important.
> 
> When you re-started the VPN VM, did is display a popup window saying it
> connected?
> 
> 
> >
> > I've done everything according to the guide you sent:
> >
> > 1) I first created the ProxyVM - not standalone - under a Debian
> > template
> >
> > 2) I did the commands found in step 2 of the Mullvad guide to install
> > OpenVPN on the ProxyVM
> 
> This would have to be installed in the template, not the VPN VM.
> 
> My personal preference would be to clone the template and upgrade that
> to Debian 9 which already has openvpn 2.4:
> 
> https://www.qubes-os.org/doc/template/debian/upgrade-8-to-9/
> 
> 
> >
> > 3) I downloaded an Android configuration file (country: Netherlands)
> >
> > 4) I started following the guide you linked, and did the sudo mkdir
> > command in the ProxyVM to create a vpn folder in /rw/config/, and
> > then I moved my Android configuration file into the newly created vpn
> > folder
> >
> > 5) I then ran this command (step 2 of the qubes-OS link guide): sudo
> > openvpn --cd /rw/config/vpn --config openvpn-client.ovpn
> >
> > and the connection seemed to work
> >
> > 6) I then fixed all the scripts, made them executable and then I
> > restarted the ProxyVM.
> >
> > 7) I changed the configuration of my 'personal' AppVM so that it
> > routes through the ProxyVM.
> >
> > Here's the problem, then: when I open Firefox in my 'personal' AppVM,
> > I simply get a "Problem loading page" when I try to visit any
> > website, such as www.google.com.
> >
> > What am I doing wrong?
> >
> > Sincerely appreciate help!
> >
> 
>  From the appVM, can you ping a known IP address? Then try to ping a 
> domain name.
> 
> -- 
> 
> Chris Laprise, tas...@openmailbox.org
> https://twitter.com/ttaskett
> PGP: BEE2 20C5 356E 764A 73EB  4AB3 1DC4 D106 F07F 1886

Yes, when I re-started the VPN VM a popup window did appear saying I was 
connected.

I tried running the Mullvad commands to install OpenVPN in the Debian-8 
templateVM but it did not work. I get the following error message:

"Resolving swupdate.openvpn.net ... failed: Name or service not known.
wget: unable to resolve host address 'swupdate.openvpn.net'
gpg: no valid OpenPGP data found."

But the same commands do work in the debian-8 AppVM. What's the issue?

I'm going to try installing debian-9 but would highly appreciate an answer to 
why I'm unable to install OpenVPN right from the debian templateVM.

And no, from what I re-call I was unable to ping a known IP address from the 
AppVM. BUt the connectio did seem to go through when I used the openvpn command 
in the ProxyVM.

-- 
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/5511c007-9077-422a-8a3d-5a0c957587dd%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Cannot execute commands in terminal - not root?

2017-04-27 Thread almir . aljic1998
Alright. But I have another question. In the guide you linked, on step 4, it 
tells me to add 3 lines to my openvpn-client.ovpn file. Where do I add these 3 
lines in this file? Is it fine if I just put them at the bottom of the file?

-- 
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/8def0cf0-53cf-4463-9cec-fe1b75a1467c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Cannot execute commands in terminal - not root?

2017-04-27 Thread almir . aljic1998
Okay, I've followed the guide you linked. But on the third and final script, at 
the bottom there is the following line of code:

sg qvpn -c "$VPN_CLIENT $VPN_OPTIONS"

and the guide instructs me to; Change the VPN_CLIENT and VPN_OPTIONS variables 
to match your VPN software.

What is that? What are they referring to? What do I type in instead of 
VPN_Client and instead of VPN_Options?

-- 
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/9c77bcb1-e2a9-4ccf-a93c-62562d6cb997%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Cannot execute commands in terminal - not root?

2017-04-27 Thread almir . aljic1998
On Friday, April 28, 2017 at 12:29:57 AM UTC+2, almir.a...@gmail.com wrote:
> Alright. But I have another question. In the guide you linked, on step 4, it 
> tells me to add 3 lines to my openvpn-client.ovpn file. Where do I add these 
> 3 lines in this file? Is it fine if I just put them at the bottom of the file?

I've done everything according to the guide you sent:

1) I first created the ProxyVM - not standalone - under a Debian template

2) I did the commands found in step 2 of the Mullvad guide to install OpenVPN 
on the ProxyVM

3) I downloaded an Android configuration file (country: Netherlands)

4) I started following the guide you linked, and did the sudo mkdir command in 
the ProxyVM to create a vpn folder in /rw/config/, and then I moved my Android 
configuration file into the newly created vpn folder

5) I then ran this command (step 2 of the qubes-OS link guide): sudo openvpn 
--cd /rw/config/vpn --config openvpn-client.ovpn

and the connection seemed to work

6) I then fixed all the scripts, made them executable and then I restarted the 
ProxyVM.

7) I changed the configuration of my 'personal' AppVM so that it routes through 
the ProxyVM.

Here's the problem, then: when I open Firefox in my 'personal' AppVM, I simply 
get a "Problem loading page" when I try to visit any website, such as 
www.google.com.

What am I doing wrong?

Sincerely appreciate help!

-- 
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/5c01bc80-7d8d-4f2a-91bd-e2b0a4ffea63%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Cannot execute commands in terminal - not root?

2017-04-28 Thread almir . aljic1998
On Friday, April 28, 2017 at 2:05:40 PM UTC+2, almir.a...@gmail.com wrote:
> Okay, I am able to run only the *last* command which is:
> 
> sudo apt-get update && apt-get install openvpn resolvconf
> 
> Then I shutdown the debian templateVM and I create a VPN VM (proxyVM). When 
> it's time to type in:
> 
> openvpn --cd /rw/config/vpn --config Mullvad_nl.ovpn
> 
> in a terminal on the VPN VM I get the following error:
> 
> "Options error: --crl-verify fails with '[[INLINE]]': No such file or 
> directory"
> 
> Even though the file/directory exists!

Okay, disregard this. I got it to work.

But on step 4 in the guide you linked, Chris, what do they mean by "Restart the 
client and test the connection again... this time from an AppVM!"?

Do they mean restart the VPN Client? IF so, how do I do that? Just restart the 
ProxyVM and then go on an AppVM and test the connection?

-- 
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/01558abe-9e13-42ca-bace-9a19f0d65ac1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: Cannot execute commands in terminal - not root?

2017-04-28 Thread almir . aljic1998
Okay. I solved it. I was doing this wrong:

In step 6 at this link: https://www.qubes-os.org/doc/vpn/

I forgot to change this line:

VPN_OPTIONS='--cd /rw/config/vpn/ --config openvpn-client.ovpn --daemon'

to match my VPN provider's .ovpn filename, which is Mullvad_nl.ovpn.

Thank you for all your help, Chris! Highly appreciated!

-- 
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/534bd862-40ec-4806-901d-1130cbc46c51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [qubes-users] Cannot execute commands in terminal - not root?

2017-04-28 Thread almir . aljic1998
Okay, I am able to run only the *last* command which is:

sudo apt-get update && apt-get install openvpn resolvconf

Then I shutdown the debian templateVM and I create a VPN VM (proxyVM). When 
it's time to type in:

openvpn --cd /rw/config/vpn --config Mullvad_nl.ovpn

in a terminal on the VPN VM I get the following error:

"Options error: --crl-verify fails with '[[INLINE]]': No such file or directory"

Even though the file/directory exists!

-- 
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/f02d84be-c50d-4e09-aca9-dd425e8f21ea%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: Cannot execute commands in terminal - not root?

2017-04-28 Thread almir . aljic1998
I do have one final question though.

Say I want my anon-whonix appVM to first route through my VPN, and then connect 
to Tor. How do I do this?

Is it enough if I just go into VM settings on my anon-whonix appVM, and set the 
NetVM as my FirewallVM (which is configured to route through my VPN VM)? Or do 
I have to further configure my VPN VM to route through the sys-whonix VM, which 
in turn routes through my sys-firewall (not the same as my FirewallVM)?

-- 
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/e62e3a46-5c54-43c5-9ebf-0fe66e2f0ab5%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Randomize mac address on Qubes

2017-04-30 Thread almir . aljic1998
So I followed this guide to randomize my mac address:

https://www.qubes-os.org/doc/anonymizing-your-mac-address/

At the beginning of the guide it prompts me to create a new NetVM in a debian-9 
template, which I did. This is the part of the guide I am referring to:

"Next, create a new NetVM using the new template and assign network devices to 
it."

I created a new NetVM, named it macspoof and assigned my ethernet and wifi 
network devices to it. Then, I followed the rest of the guide and now my mac 
address does change whenever I restart sys-net. Here comes what I'm concerned 
about:

I no longer have internet access via my sys-net VM. I now have to go through 
the new NetVM I created (the 'macspoof' VM) in order to access the internet, so 
my sys-firewall has the macspoof VM as its netVM.

Is that how it's supposed to be? Or am I still supposed to be using the sys-net 
VM to access the internet?

-- 
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/56afc354-8afd-4559-b3f9-6bfd9c834d51%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: Randomize mac address on Qubes

2017-04-30 Thread almir . aljic1998
On Sunday, April 30, 2017 at 3:54:09 PM UTC+2, almir.a...@gmail.com wrote:
> So I followed this guide to randomize my mac address:
> 
> https://www.qubes-os.org/doc/anonymizing-your-mac-address/
> 
> At the beginning of the guide it prompts me to create a new NetVM in a 
> debian-9 template, which I did. This is the part of the guide I am referring 
> to:
> 
> "Next, create a new NetVM using the new template and assign network devices 
> to it."
> 
> I created a new NetVM, named it macspoof and assigned my ethernet and wifi 
> network devices to it. Then, I followed the rest of the guide and now my mac 
> address does change whenever I restart sys-net. Here comes what I'm concerned 
> about:
> 
> I no longer have internet access via my sys-net VM. I now have to go through 
> the new NetVM I created (the 'macspoof' VM) in order to access the internet, 
> so my sys-firewall has the macspoof VM as its netVM.
> 
> Is that how it's supposed to be? Or am I still supposed to be using the 
> sys-net VM to access the internet?

I just discovered one more issue:

When I try to setup my VPN as per this guide: https://www.qubes-os.org/doc/vpn/ 
(see step 2)

I get an error message running the command:

"sudo openvpn --cd /rw/config/vpn --config openvpn-client.ovpn"

The error message reads:

"Options error: unknown --redirect-gateway flag: ipv6
Use --help for more information."

What's the issue here? It worked fine when I didn't use the macspoof thing.

-- 
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/41fdb62f-f601-4a96-a5ad-78633b89314f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: Changed resolution, now screen doesn't work?

2017-05-01 Thread almir . aljic1998
On Monday, May 1, 2017 at 6:51:51 PM UTC+2, almir.a...@gmail.com wrote:
> I changed the resolution of my Qubes from 1920x1080 to 1600x1200 (by 
> accident) and now my screen doesn't show anything when I choose HDMI2 (my 
> desktop PC is attached to the screen with an HDMI cable). Setting the 
> resolution to 1280x1024 worked fine, but as soon as I set it to 1600x1200 and 
> clicked "apply" my screen turned black and now all it does is say "no signal" 
> and I can't see anything on the screen to set it back to 1920x1080. How do I 
> go about solving this?
> 
> Thanks.

Literally just had to reboot it.

-- 
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/cbaaf6f5-f56a-4239-97d6-017269a63f48%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Re: Changed resolution, now screen doesn't work?

2017-05-01 Thread almir . aljic1998
On Monday, May 1, 2017 at 6:51:51 PM UTC+2, almir.a...@gmail.com wrote:
> I changed the resolution of my Qubes from 1920x1080 to 1600x1200 (by 
> accident) and now my screen doesn't show anything when I choose HDMI2 (my 
> desktop PC is attached to the screen with an HDMI cable). Setting the 
> resolution to 1280x1024 worked fine, but as soon as I set it to 1600x1200 and 
> clicked "apply" my screen turned black and now all it does is say "no signal" 
> and I can't see anything on the screen to set it back to 1920x1080. How do I 
> go about solving this?
> 
> Thanks.

I know of a potential solution but then I need help from someone on here.

What you can do is shut down all your windows and left-click the Qubes icon (at 
the bottom left/top left) then solely use your keyboard to navigate to the 
Display settings and change resolution. Then send me the exact keyboard strokes 
you pushed (for example down arrow 2x, right arrow 1x, down arrow 8x, tab 4x 
etc.) so that I can mimic them and ultimately change my resolution back to 
1920x1080.

Thanks in advance!

-- 
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/952d3f62-7806-442b-8aeb-b3b6187dd1b1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Changed resolution, now screen doesn't work?

2017-05-01 Thread almir . aljic1998
I changed the resolution of my Qubes from 1920x1080 to 1600x1200 (by accident) 
and now my screen doesn't show anything when I choose HDMI2 (my desktop PC is 
attached to the screen with an HDMI cable). Setting the resolution to 1280x1024 
worked fine, but as soon as I set it to 1600x1200 and clicked "apply" my screen 
turned black and now all it does is say "no signal" and I can't see anything on 
the screen to set it back to 1920x1080. How do I go about solving this?

Thanks.

-- 
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/b6d45b43-755b-4360-94e9-6d94e210087c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[qubes-users] Dual-boot Qubes & Windows 10

2017-04-30 Thread almir . aljic1998
Is it possible to dual-boot Qubes and Windows 10?

I have an ASUS laptop with an SSD (where my Windows OS is installed) and a 
completely empty 1 TB HDD. Can I just boot the laptop from a USB on which the 
Qubes .iso is located, and then install Qubes on the HDD? Will this allow me to 
then choose between Qubes & Windows upon switching the computer on?

Thanks in advance.

-- 
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/52fd9d02-68bb-49c4-ae91-8b441d20d73f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.