-
Notifications
You must be signed in to change notification settings - Fork 3
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
netcardconfig: drop uncommon wireless/WiFi options #12
Conversation
No longer ask for the following options WiFi: * iwconfig * iwpriv * iwspy * wireless-channel * wireless-freq * wireless-nwid * wireless-mode AFAICT it's unusual to set those options to something other than the defaults, at least nowadays. So let's drop support for it, minimizing questions to answer in interactive mode (which also minimizes porting efforts if we ever rewrite netcardconfig, see #11). FTR: according to my tests, wireless-tools seems to do the right™ thing by default regarding "wireless-mode".
I know very little about wireless on Linux I'm afraid. |
Ok. Finally found some time to test your change on an older Lenovo B70-80 notebook. Your changes did work in the end (so +1 by me for your change) but I stumbled over some problems which seem to be unrelated to netcardconfig (and your change). I booted Grml Daily (per 2021-06-27) and tried to bring up the wireless interface (with your netcardconfig) and the following error was shown:
After looking around a bit I found this:
After running JFTR: On my local Debian/bullseye system
systemd-rfkill.service(8) states:
I need some more investigation to find out why the wireless interface is blocked after the boot (or actually why not all systems have a block interface after boot), but if it is really |
@jkirk very interesting find! 😮 👍 I'd assume that I'm not sure whether we should really mask Could you please check, whether this snippet would unlock your devices as expected:
If so, then we could include this check within BTW: there's also the boot option |
I came across a Lenovo P15s Gen2 Notebook and this time nothing is listed ad blocked with The bad news are that I was not able to set up the wireless network with Unfortunately the device is offline and I currently can not connect on to it, but |
Ok, we took a look at aforesaid Lenovo P15s Gen2 Notebook together in person, and the WiFi card isn't supported at all yet (at least by kernel 5.10), so this is unrelated. I'll merge this PR now, though will look into implementing an rfkill option as well. |
No longer ask for the following options WiFi:
AFAICT it's unusual to set those options to something other than the
defaults, at least nowadays. So let's drop support for it, minimizing
questions to answer in interactive mode (which also minimizes porting
efforts if we ever rewrite netcardconfig, see
#11).
FTR: according to my tests, wireless-tools seems to do the right™ thing
by default regarding "wireless-mode".