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

wfbng@gs fails to start as "ip link set" command returns No such device (-19) #344

Closed
parijip opened this issue May 14, 2024 · 1 comment

Comments

@parijip
Copy link

parijip commented May 14, 2024

I am trying to bring up wfb-ng on my laptop (gs) after the interface name got changed.

I modified the /etc/NetworkManager/NetworkManager.conf and /etc/default/wifibroadcast to the new interface name.

Post that, when I check syslog, I see that nmcli show is able to access the interface, but ip link set command returns failure.

May 14 17:13:44 ubuntu wfb-server[334315]: 2024-05-14 17:13:44+0530 [-] # iw reg set BO
May 14 17:13:44 ubuntu wfb-server[334315]: 2024-05-14 17:13:44+0530 [-] # nmcli device show enp2s0
May 14 17:13:44 ubuntu wfb-server[334315]: 2024-05-14 17:13:44+0530 [-] # ip link set enp2s0 down
May 14 17:13:44 ubuntu wfb-server[334315]: 2024-05-14 17:13:44+0530 [-] command failed: No such device (-19)
May 14 17:13:44 ubuntu wfb-server[334315]: 2024-05-14 17:13:44+0530 [-] Stopping reactor due to fatal error: RC 237: iw dev enp2s0 set monitor otherbss

This is what I saw in syslog, when I first changed the interface name in the above mentioned 2 files:

May 14 17:13:44 ubuntu wfb-server[334315]: 2024-05-14 17:13:44+0530 [-] # iw reg set BO
May 14 17:13:44 ubuntu wfb-server[334315]: 2024-05-14 17:13:44+0530 [-] # nmcli device show enp2s0
May 14 17:13:44 ubuntu wfb-server[334315]: 2024-05-14 17:13:44+0530 [-] # ip link set enp2s0 down
May 14 17:13:44 ubuntu wfb-server[334315]: 2024-05-14 17:13:44+0530 [-] command failed: No such device (-19)
May 14 17:13:44 ubuntu wfb-server[334315]: 2024-05-14 17:13:44+0530 [-] Stopping reactor due to fatal error: RC 237: iw dev enp2s0 set monitor otherbss

I am unable to understand what I messed up.

Thanks for all your help,
-Arijit

@parijip parijip closed this as completed May 14, 2024
@parijip
Copy link
Author

parijip commented May 14, 2024

The issue was due to the rtl8812au kernel module not getting loaded properly. I dkms-remove.sh-d the driver, dmks-install,sh-d it again and I have the correct (old) interface name back. I am able to get the wifibroadcast@gs working with this, now.

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