-
Notifications
You must be signed in to change notification settings - Fork 160
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
Error Device or resource busy #12
Comments
Edit: If you see this bug, please report to NM. See #12 (comment)Hi there, The log shows I found sometimes creating virtual wifi interface causes the real wifi interface turning into a random strange MAC address. I'm still confused why that happends (so I added a delay at Line 1598 in 2341938
Please check what
it will return something like
Try these:
|
hmm, that's weird. also I tested
here is the output of
yes
I tried this method and works fine without creating virtual interface but sometimes we really need to set a virtual interface up
also I increased sleep time to 6 and error occurred again also I checked
|
When creating virtual interface, is the error happening always or sometimes? NetworkManager is a possible reason. If NM running, it will give the new virtual interface a random MAC. MAC will go back after setting NM unmanaged. But why Try increasing this sleep time (after setting NM unmanaged) Line 778 in 2341938
|
This error always happens, but it works fine with
I tried this,it doesn't help. same error occurs. I increased sleep to 6 second in line 778 and here is the output:
|
I did some test with
I found every time I check/uncheck the "enabe wifi" on NM, my Recently I upgrade Linux last month. Then the strange MAC behavior began. Did you upgrade recently? I'm using
create_ap writes NM's config file to set unmanaged before creating virtual interface. Could you try
, reset everything, then run |
Interesting. I use arch Linux. Since it is rolling release, the packages are updated to the last version. the packages specs are below
hmm, so that is why
I did it then I restart
I think |
Hello, just wanted to add that after upgrading to Fedora 32, create_ap doesn't work anymore (the ap is created and accessible, but the connecting device is stuck in the connection step and eventualy timeout) I tired linux-router to see if it would fix the issue, but I run into the same error with a virtual interface : Is there a fix planned for this issue ? |
@fmichaut-dev
Other Fedora users report similar issue #19 (comment)
I said in above posts:
So I guess it's the NetworkManager causing that. So could someone encountering Sorry for these issues but I've been busy on other jobs (still need 1-2 months. or even longer). That's why we need more people for this |
So I just tried that on my fedora and it allows |
I downloaded Arch Linux and Fedora live iso, tested on a laptop with Intel Centrino wifi device.
If you still meet that problem, could you provide more info? For example your wifi model, kernel version, Seems not every one has that problem. I guess we need to file a bug to NM |
Hello,
The output:
In Logs (journalctl) if it can help:
Kernel version :
I noticed that the line 1995 return the error I also noticed that Also I tried to use I hope it could help you... |
I added some delays and log gathering code in branch dev-12 @ThomasK7775 Could you who encounter this issue do some tests and show the results for us? I can't do it myself cause I can't reproduce on my machine.
Thanks in advance. We still need tests and info |
Recent log on dev-12 branch: Facing the same issues as outlined above |
I opened an issue on NetworkManager: https://gitlab.freedesktop.org/NetworkManager/NetworkManager/-/issues/886They require more verbosed logs.
|
Run into this error. Solved this by deactivating wireless connections, (DO NOT TURN ON AIRPLANE MODE), then running the command. Note that I'm using the same, inbuilt WiFi adapter. From the above, you can only create a Hotspot first, then connect the same interface to an internet connection second. |
If I use |
This doesn't work in Ubuntu 24.04. nmcli radio wifi off puts the machine in Airplane mode according to network manager and lnxrouter fails (setting hostapd-debug 2 doesn't give additional info): `linux-router 0.7.6b (https://github.com/garywill/linux-router) PID: 254671 Use random LAN IPv4 address 192.168.196.1 ERROR: Your adapter can not transmit to channel 1, frequency band 2.4GHz. Doing cleanup.. |
an error occurred while bringing the virtual interface up
command:
output:
The text was updated successfully, but these errors were encountered: