Problem with saving wifi key on sys-net

Hi everyone!
i’ve been using qubesOS for almost 3 days now, and i feel really comfortable with that, but the issue is on my sys-net appVM that’s based on fedora-41-xfce, i’ve tried more that 3 times creating an ssid.nmconnection file on the templateVM ( on path /etc/NetworkMangement/system-connection) so it’s will be persistent and i’ve restarted the system more than twice and nothing changed…what have i done ? if anyone know how to fix that, i’ll be really thankful ))

What do you mean by “persistent”. The file is still there in the template, right? The app qube should be restarted after a template edition. The paths doesn’t look correct.

What template?

qvm-prefs sys-net |grep '^template[ ]'
1 Like

means after rebooting my system, for no reason it’s asks me again to put the password for wifi, and i don’t wanna do that all time


as u see on the picture, it’s on default-dvm which is based on fedora-41-xfce

So, in which template you are doing modifications?

1 Like

what do you mean by that dude? i’ve made the modifications ofc on fedora-41-xfce…nevermind, just tell me how to make it save the wifi password

It’s not ofc
You’ve said template, there was nothing about which template. If it was in DVM template then it was futile. Dude.

1 Like

scren2
look, default-dvm is based on fedora-41-xfce, that’s why i’ve did that on the template

any ideas?

OK.
That’s what you should start with.

There is no /etc/NetworManagement/ directory.
There is /etc/NetworkManager/ directory.

Now we have names correct and behind.

/etc/NetworkManager/system-connections in sys-net is a symlink to /rw/config/NM-system-connections.
But it’s not in any templates. So, whatever you save to /etc/NetworkManager/system-connections/ in fedora template or dvm template it will be covered over by what’s in /rw/config/NM-system-connections/ - but it’s not available.

You could make NM-system-connections in any of those templates but it won’t work. For some reason new file is always made and saved file is not used.

in fedora template or in dvm template

sudo mkdir /rw/config/NM-system-connections

solution

thanks brother for correcting me, beside i tried to do what u’ve said by creating that dir, as the same solution u sent through the link, but it’s never work after rebooting, hope qubes will fix this problem asap

Did you read it?
In addition to creating this folder you need make rc.local to run network manager with your config.
And if you don’t afraid to resign from disposability of sys-net you might convert it to normal appVM where it should work without rc.local.

Read it all, not only few lines of linked post.

1 Like