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

Wireless interface name not restored after initrd #86

Open
FeralHedgehog opened this issue Jul 20, 2021 · 1 comment
Open

Wireless interface name not restored after initrd #86

FeralHedgehog opened this issue Jul 20, 2021 · 1 comment

Comments

@FeralHedgehog
Copy link

Hello!
After following Case: Wireless and adding iwlmvm to the MODULES array in mkinitcpio.conf remote unlocking works as expected, however the interface doesn't get renamed when the system continues booting with the following error:

systemd-udevd[414]: wlan0: Failed to rename network interface 2 from 'wlan0' to 'wlp1s0': Device or resource busy

This results in lack of network connectivity until iwlwifi is manually removed and then added again with modprobe.

I noticed that flushing and disabling the interface through the debug shell prevents the issue from occurring and that the initrd-network.service has them as ExecStop statements. These aren't executed however as the service remains active (exited) after initrd.
Could this be the cause?

Thanks!

@FeralHedgehog
Copy link
Author

Found a workaround:
I copied the ExecStop lines from initrd-network.service to initrd-wifi.service.
Since initrd-wifi shuts down correctly after initrd, the lines are executed and the interface gets renamed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant