On Thu, 3 Jan 2019 at 22:35, 799 <one7tw...@gmail.com> wrote:

> [...]
> The obvious question which would maybe solve the autoconnection problem is:
>
> How can I make persistent changes to the following file/s which will
> survice the AppVM reboot:
> /rw/config/NM-system-connections/qubes-uplink-eth0
> /etc/NetworkManager/system-connections/qubes-uplink-eth0
> [...]
>

I found a way to update the file
/rw/config/NM-system-connections/qubes-uplink-eth0.



1) create a new file in /home/user/qubes-uplink-eth0.new
[connection]
id=VM uplink eth0
uuid=de85f79b-8c3d-405f-a652-cb4c10b4f9ef
type=ethernet
permissions=
secondaries=e3ced633-e808-408c-be1b-577522e7b28a;
timestamp=1546552856

[ethernet]
mac-address-blacklist=

[ipv4]
address1=10.137.0.17/32,10.137.0.5
dns=10.139.1.1;10.139.1.2;
dns-search=
may-fail=false
method=manual

[ipv6]
addr-gen-mode=eui64
dns-search=
ip6-privacy=0
method=ignore

2)  I then edited /rw/config/rc.local and added the following line:
cp /home/user/qubes-uplink-eth0.new
/rw/config/NM-system-connections/qubes-uplink-eth0
rc.local will run on start of the AppVM and therefore the Network Manager
config files will be updated.

Unfortunately the VPN is still not launching automatically, as the Setting
"" is disabled, even when the config files include the settings
secondaries=...
Launching Network Manager and Edit the connection "VM uplink eth0 will show
that the "Automatically connect to VPN when using this connection" is
disabled again.

If I enable the setting again no change will be done to the config files
and therefore the settings seems to be correct.
Additionally Autoconnecting the VPN is working after enablng the option
again.

Therefore I know that something is wrong, but I just don't know where to
look further :-/

- O

-- 
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/CAJ3yz2vzNxEDmoqL-jKbxTixQXh1aGGS2EAvCWFYK3K%2BAN-OWg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to