Re: [qubes-users] Disposable sys-net >> wifi login

2021-07-13 Thread 'I Am 51lieal' via qubes-users

Hello one7two99


It's possible currently i'm using fedora-34 DispVMs on sys-net, what you 
have to do :


```

nmcli device wifi list # scanning wifi

nmcli device wifi connect  password  # example 
nmcli device wifi connect 51lieal password one7two99


```

i dont like many icon on my panel so i did hide nmcli-applet.


On 7/11/21 6:20 PM, 799 wrote:

Hello,

I switches my setup and I am using static disposable VMs for sys-usb 
and sys-firewall (Based on an own template which has been cloned from 
a fedora-33-minimal template + the bare minimal packages).


I also would like to make my sys-net a disposable VM but without the 
hazzle to enter my wifi credentials each time when I am connecting to 
the wifi network.


Is there a way to initiate a wifi connection via dom0 and passing the 
credentials for the wifi network?
qvm-run --pass-io --auto sys-net 'command1 && commands && [...] 
command n' with passing credentials via piping from Dom0 ?
Basically I am looking how I can initiate a new wifi connection from 
the CLI.
If I know this, I can combine a script myself which will pass the 
relevant information from Dom0 to the sys-net.


And one more question:
Wouldn't it be much better if we always use disposable.sys-Vms when 
this is possible?


Kind regards

one7two99

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CAJ3yz2tvAAiLjvLLnuwAFt8BquSoDE-WZDbZPyszZz%3D8orNs%2BQ%40mail.gmail.com 
.


--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/aa079b20-fde1-aab0-6665-6d60bcea31b8%4051lie.al.


OpenPGP_0x343C22B407BFD71B.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: [qubes-users] Disposable sys-net >> wifi login

2021-07-12 Thread 799
Hello,

I Am 51lieal  schrieb am Mo., 12. Juli 2021, 04:35:

> It's possible currently i'm using fedora-34 DispVMs on sys-net, what you
> have to do :
>
> ```
>
> nmcli device wifi list # scanning wifi
>
> nmcli device wifi connect  password  # example nmcli
> device wifi connect 51lieal password one7two99
>
> ```
>
super helpful, exactly what I was looking for.

One7two99

>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CAJ3yz2sofCj-sb%2BhgRjwh%2B6xbO0AoD2KNWXB2iCxH0N1qUwkyQ%40mail.gmail.com.


Re: [qubes-users] Disposable sys-net >> wifi login

2021-07-11 Thread Sven Semmler

Hi one7two99,

there is another way.

Your sys-net is a named disposable VM, which is based on an AppVM that 
has the "template_for_dispvm" property set true. This AppVM is in turn 
based on your fedora-33-minimal clone.


The reason you have an AppVM as template for disposable VMs is the 
ability to do customization. So here is what I do:


AppVM:

1) set virt_mode to 'hvm'
2) attach wifi via qvm-pci
3) launch
4) connect to wifi (this will safe the password)
5) shutdown
6) detach wifi
7) set virt_mode to 'pvh'

sys-net:

1) attach the wifi again
2) start

... from now on your sys-net will automatically connect to your Wifi. I 
do this for my home wifi and my hotspot.


/Sven

--
 public key: https://www.svensemmler.org/2A632C537D744BC7.asc
fingerprint: DA59 75C9 ABC4 0C83 3B2F 620B 2A63 2C53 7D74 4BC7

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/73960ab5-788c-c515-8923-311abb9e65ad%40SvenSemmler.org.


OpenPGP_signature
Description: OpenPGP digital signature


Re: [qubes-users] Disposable sys-net >> wifi login

2021-07-11 Thread 'awokd' via qubes-users

'awokd' via qubes-users:


Possibly an nmcli command run in the disposable template could do that?


Disposable sys-net, I mean.

--
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/e3abbf40-a362-96d9-774a-8d1a39a42aed%40danwin1210.me.


Re: [qubes-users] Disposable sys-net >> wifi login

2021-07-11 Thread 'awokd' via qubes-users

799:


I also would like to make my sys-net a disposable VM but without the hazzle
to enter my wifi credentials each time when I am connecting to the wifi
network.


There's this from a recent thread: 
https://www.mail-archive.com/qubes-users@googlegroups.com/msg36839.html.




Is there a way to initiate a wifi connection via dom0 and passing the
credentials for the wifi network?
qvm-run --pass-io --auto sys-net 'command1 && commands && [...] command n'
with passing credentials via piping from Dom0 ?
Basically I am looking how I can initiate a new wifi connection from the
CLI.


Possibly an nmcli command run in the disposable template could do that?

--
- don't top post
Mailing list etiquette:
- trim quoted reply to only relevant portions
- when possible, copy and paste text instead of screenshots

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/ed41bc3c-ad6a-1e10-32ac-a5b1a4b4791d%40danwin1210.me.


[qubes-users] Disposable sys-net >> wifi login

2021-07-11 Thread 799
Hello,

I switches my setup and I am using static disposable VMs for sys-usb and
sys-firewall (Based on an own template which has been cloned from a
fedora-33-minimal template + the bare minimal packages).

I also would like to make my sys-net a disposable VM but without the hazzle
to enter my wifi credentials each time when I am connecting to the wifi
network.

Is there a way to initiate a wifi connection via dom0 and passing the
credentials for the wifi network?
qvm-run --pass-io --auto sys-net 'command1 && commands && [...] command n'
with passing credentials via piping from Dom0 ?
Basically I am looking how I can initiate a new wifi connection from the
CLI.
If I know this, I can combine a script myself which will pass the relevant
information from Dom0 to the sys-net.

And one more question:
Wouldn't it be much better if we always use disposable.sys-Vms when this is
possible?

Kind regards

one7two99

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/qubes-users/CAJ3yz2tvAAiLjvLLnuwAFt8BquSoDE-WZDbZPyszZz%3D8orNs%2BQ%40mail.gmail.com.