Am Freitag, 12. September 2014 22:30:32 UTC+2 schrieb Marek Marczykowski-Górecki: > On 12.09.2014 22:12, [email protected] wrote: > > On Friday, September 12, 2014 10:56:52 AM UTC, Jos den Bekker wrote: > >> On 11 september 2014 17:06:21 UTC+2 Marek Marczykowski-Górecki wrote: > >> > >> Uhm... replace BDF-OF-THE-DEVICE with actuall BDF (for example > >> 0000:00:19.0). > >> > >> > >> > >> > >> Finally worked. Don't know what went wrong yesterday, maybe I should have > >> shut down netvm before making the change. Now I was connected and could > >> finally install updates. But the change in the permissive file is gone at > >> every boot. Is there a way to make the change in the file permanent? > >> > >> Thanks! > > > > ...you may edit in dom-0 as su > > > > /etc/systemd/system/multi-user.target.wants/qubes-netvm.service > > > > ...and add in line 11 of the [Service] section > > > > ExecStart=/bin/sh -c 'echo 0000:04:00.0 > > > /sys/bus/pci/drivers/pciback/permissive' > > ...followed by the NetVm Start command line > > > > ...reStart firewallvm/netvm ...done > > Better to add new ExecStartPre (with above command). But note that this file > will be overwritten during system update. To prevent this, you can create > simple new service. Create /etc/systemd/system/qubes-pre-netvm.service with: > ----- > [Unit] > Description=Netvm fixup > Before=qubes-netvm.service > > [Service] > ExecStart=/bin/sh -c 'echo 0000:04:00.0 > > /sys/bus/pci/drivers/pciback/permissive' > Type=oneshot > RemainAfterExit=yes > > [Install] > WantedBy=multi-user.target > ----- > Then enable it with "systemctl enable qubes-pre-netvm.service". > > -- > Best Regards, > Marek Marczykowski-Górecki > Invisible Things Lab > A: Because it messes up the order in which people normally read text. > Q: Why is top-posting such a bad thing?
Thank you, today this post helped me a lot... This worked for me too. Thank you also for the "_" correction:-) Steffen -- 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 [email protected]. To post to this group, send email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/qubes-users/f9e6fce0-9a54-4b09-95f7-d00f986241c1%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.
