-
-
Notifications
You must be signed in to change notification settings - Fork 14.2k
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 not showing up for ralink usb #30422
Comments
it's part of firmware-linux-nonfree on debian, which is enabled in nixos when i do |
No, problem. Have you checked |
both of them show : |
OK, the problem is the RT800USB driver does not include support for the RT5370 by default; It has to be enabled explicitly (since only the RT2800USB_RT55XX option is enabled by default). Along with
What that does is override the NixOS kernel package so that you can set custom kernel configuration options, this this case adding support for the RT5370 to the RT800USB driver. Just make sure you check your kernel version with You can see all the driver's configuration options here: https://github.com/torvalds/linux/blob/master/drivers/net/wireless/ralink/rt2x00/Kconfig#L175 and how to enable kernel options as shown above here: https://nixos.org/nixos/manual/index.html#sec-kernel-config |
This worked thank you! But shouldn't this be on by default? also I tried this hoping it works but it didn't
|
No, it shouldn't be on by default because that option requires the module to be enabled first, which in turn would require the module to be enabled always; a strategy that would need to a bloated kernel when applied consistently. A better alternative would be for a way to turn options on only when their respective modules are enabled. in pseudo-code: |
No, it doesn't bloat the kernel image itself, it only affects
|
Looks like this was fixed. Is that right @bmabsout ? |
yes |
I have a ralink rt5370 wireless usb adapter.
the interface does not show up in
ifconfig -a
nor iniw dev
i tried setting
after that when I
lsmod | grep rt2800
it shows up but the interface still doesn't.if i
modinfo rt2800usb | grep 5370
nothing gets returned meaning the 5370 driver is disabled in nixos's kernel config?Technical details
The text was updated successfully, but these errors were encountered: