Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network interface names differ between sys-net and its disposable template #8419

Closed
p1llule opened this issue Aug 12, 2023 · 6 comments
Closed
Labels
affects-4.1 This issue affects Qubes OS 4.1. C: networking eol-4.1 Closed because Qubes 4.1 has reached end-of-life (EOL) hardware support P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.

Comments

@p1llule
Copy link

p1llule commented Aug 12, 2023

How to file a helpful issue

Qubes OS release

4.1

Brief summary

Due to interface naming differences between the template of the disporable vm and the disposable vm, the files in /rw/config/NM-system-connections may not be correct for disposable vms.

Steps to reproduce

Stop sys-net.
Connect wifi PCI to the template of disposable sys-net.
Register connections on the template of disposable sys-net.
Stop the template of disposable sys-net.
Start sys-net.

Expected behavior

Connection UP
The files in /rw/config/NM-system-connections are still correct.

Actual behavior

Connection DOWN
The files in /rw/config/NM-system-connections refer to the wifi interface of the template of disposable sys-net, which is not named the same way for sys-net (eg: wls6 and wls7).

Related issues

#7284

@p1llule p1llule added P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists. labels Aug 12, 2023
@p1llule
Copy link
Author

p1llule commented Aug 12, 2023

workarounds:
or Edit the connection to suppress the interface-name configuration in the disposable template (use nmcli or nmtui, the file itself may be erased by the daemon).

or change the process :

  1. connect the disposable VM to your wifi
  2. copy the connection files to its disposable template
  3. profit.

@ghost
Copy link

ghost commented Aug 13, 2023

Perhaps a better title would be: "Interface names differ on dispVM from templateVM"

@p1llule p1llule changed the title Broken wifi system-connection files on disposable sys-net Interface names differ on dispVM from templateVM Aug 13, 2023
@andrewdavidwong andrewdavidwong changed the title Interface names differ on dispVM from templateVM Network interface names differ between sys-net and its disposable template Aug 13, 2023
@andrewdavidwong andrewdavidwong added hardware support needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. C: networking affects-4.1 This issue affects Qubes OS 4.1. labels Aug 13, 2023
@andrewdavidwong
Copy link
Member

Perhaps a better title would be: "Interface names differ on dispVM from templateVM"

This is referring to a disposable template, which is not the same thing as a template (previously known as a "TemplateVM").

@p1llule
Copy link
Author

p1llule commented Aug 14, 2023

thx adw,

Reading a bit more about this on the forum, it seems most people have already found a good workaround (connecting in the disposable and then copying connection files to the disposable template).

Or maybe plugging another VM with a password manager somehow.

Tbh I think theses solutions are better than what I was relying on before, so I am merely documenting the issue if anyone was in the same case as me and asking to close the bug as wont fix.

@andrewdavidwong
Copy link
Member

A workaround is not a fix, though, and users shouldn't have to find this issue just to get their networking to work when it ought to work out-of-the-box. Maybe I'm misunderstanding you, but it sounds like there might still be a bug here that'd be worth fixing.

@andrewdavidwong andrewdavidwong added eol-4.1 Closed because Qubes 4.1 has reached end-of-life (EOL) and removed needs diagnosis Requires technical diagnosis from developer. Replace with "diagnosed" or remove if otherwise closed. labels Dec 7, 2024
Copy link

github-actions bot commented Dec 7, 2024

This issue is being closed because:

If anyone believes that this issue should be reopened, please leave a comment saying so.
(For example, if a bug still affects Qubes OS 4.2, then the comment "Affects 4.2" will suffice.)

@github-actions github-actions bot closed this as not planned Won't fix, can't repro, duplicate, stale Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
affects-4.1 This issue affects Qubes OS 4.1. C: networking eol-4.1 Closed because Qubes 4.1 has reached end-of-life (EOL) hardware support P: default Priority: default. Default priority for new issues, to be replaced given sufficient information. T: bug Type: bug report. A problem or defect resulting in unintended behavior in something that exists.
Projects
None yet
Development

No branches or pull requests

2 participants