View previous topic :: View next topic |
Author |
Message |
Darkyyo n00b
Joined: 27 Sep 2022 Posts: 21
|
Posted: Tue Sep 27, 2022 3:36 pm Post subject: [SOLVED] Initializing wpa_supplicant: n180211 driver problem |
|
|
I tried to set up my Wi-Fi on a fresh Gentoo installation by following this post's exact procedure, except for the part where its author tries to run the supplicant with the wext driver. I came to experience the same exact problem, with my error message being: Code: | Successfully initialized wpa_supplicant
n180211: Driver does not support authentication/association or connect commands
n180211: deinit ifname=sit0 disabled_11b_rates=0
sit0: Failed to initialize driver interface
sit0: CTRL-EVENT-DSCP-POLICY clear_all |
After doing a one-time setup on my network interface with dhcpcd, ifconfig returns: Code: | enp2s0: flags=4099<UP, BROADCAST, MULTICAST> mtu 1500
ether 28:f1:0e:14:40:57 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 32 bytes 2592 (2.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 32 bytes 2592 (2.5 KiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
sit0: flags=193<UP,RUNNING,NOARP> mtu 1480
inet6 fe80::bbd1:c5a6:1d9e:b3a prefixlen 64 scopeid 0x20<link>
inet6 ::127.0.0.1 prefixlen 96 scopeid 0x90<compat,host>
sit txqueuelen 1000 (IPv6-in-IPv4)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 1 dropped 0 overruns 0 carrier 0 collisions 0
|
I doubt it's a matter of installing additional firmware (anything more than sys-kernel/linux-firmware, which I have installed), since my network controller/device (Intel Dual Band Wireless-AC 3160) is not listed in this table. This leads me to assume it's classified as "Other Intel devices"; not like I could install sys-firmware/iwl3160-ucode, since it's masked and I can't unmask for some reason.
Any suggestions?
Last edited by Darkyyo on Sat Oct 01, 2022 11:22 pm; edited 1 time in total |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Tue Sep 27, 2022 4:07 pm Post subject: |
|
|
HI
Welcome to Gentoo Forums.
Have you followed this also
https://wiki.gentoo.org/wiki/Iwlwifi#Kernel
?
You can unmask sys-firmware/iwl3160-ucode
Code: |
echo "sys-firmware/iwl3160-ucode ~amd64" >> /etc/portage/package.accept_keywords
|
_________________
|
|
Back to top |
|
|
Darkyyo n00b
Joined: 27 Sep 2022 Posts: 21
|
Posted: Tue Sep 27, 2022 5:08 pm Post subject: |
|
|
Hello,
I just recompiled my kernel having set both recommended settings to be loaded as modules, and the issue persists.
I tried your solution for unmasking, but it turns out the last path is a directory. Should I create a file with any name within, to insert what's in quotes? |
|
Back to top |
|
|
Hu Moderator
Joined: 06 Mar 2007 Posts: 21607
|
Posted: Tue Sep 27, 2022 5:58 pm Post subject: |
|
|
Yes. You may use any reasonable name in that directory, at your preference. |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Tue Sep 27, 2022 5:58 pm Post subject: |
|
|
Yes.
Plz name it iwl3160-ucode or anything you like. _________________
|
|
Back to top |
|
|
Darkyyo n00b
Joined: 27 Sep 2022 Posts: 21
|
Posted: Tue Sep 27, 2022 6:30 pm Post subject: |
|
|
It's strange how ineffective unmasking has been: I've passed --autounmask-write as an argument, and dispatch-conf didn't notice anything; I've added "sys-firmware/iwl3160-ucode" to both /etc/portage/package.unmask and /etc/portage/package.accept_keywords/iwl3160-ucode, and still received the warning. Shouldn't I be including any of the "...-0.16.242414-r1::gentoo" that follows the more detailed package name?
* Meant to say autounmask-write. |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Tue Sep 27, 2022 6:51 pm Post subject: |
|
|
Quote: |
I've added "sys-firmware/iwl3160-ucode" to both /etc/portage/package.unmask and /etc/portage/package.accept_keywords/iwl3160-ucode |
No need in package.unmask.
There are two types of mask: 1.package.mask and 2.missing keyword. Please carefully read portage's output.
"Masked by package.mask" means that you, explicitly, or your profile has masked a package.
"Masked by missing keywords" means usually you are trying to install a testing package in a stable system, or vice versa.
Just in package.accept_keywords add full name of pkg followed by "~amd64"
Code: |
sys-firmware/iwl3160-ucode ~amd64
|
plz see the above posts.
and
https://wiki.gentoo.org/wiki//etc/portage/package.accept_keywords
https://wiki.gentoo.org/wiki/Knowledge_Base:Unmasking_a_package _________________
|
|
Back to top |
|
|
Darkyyo n00b
Joined: 27 Sep 2022 Posts: 21
|
Posted: Tue Sep 27, 2022 7:25 pm Post subject: |
|
|
I corrected an earlier error, and now it tells me that the package list contains packages blocked by sys-kernel/linux-firmware, because such can the installed at the same time on the same system. Will the installation be able to proceed, or does this suggest that I actually don't need the package at hand? |
|
Back to top |
|
|
alamahant Advocate
Joined: 23 Mar 2019 Posts: 3879
|
Posted: Tue Sep 27, 2022 7:38 pm Post subject: |
|
|
Code: |
Calculating dependencies... done!
[ebuild N ] sys-firmware/iwl3160-7260-bt-ucode-37.8.10_p2::gentoo 77 KiB
[ebuild N ] sys-firmware/iwl3160-ucode-0.16.242414-r1:16::gentoo USE="bluetooth" 457 KiB
[blocks B ] sys-firmware/iwl3160-ucode ("sys-firmware/iwl3160-ucode" is soft blocking sys-kernel/linux-firmware-20220913-r2)
[blocks B ] sys-kernel/linux-firmware[-savedconfig] ("sys-kernel/linux-firmware[-savedconfig]" is soft blocking sys-firmware/iwl3160-7260-bt-ucode-37.8.10_p2, sys-firmware/iwl3160-ucode-0.16.242414-r1)
[blocks B ] sys-firmware/iwl3160-7260-bt-ucode ("sys-firmware/iwl3160-7260-bt-ucode" is soft blocking sys-kernel/linux-firmware-20220913-r2)
|
Plz build linux-firmware with USE="savedconfig"
Plz see
Code: |
USE="savedconfig" emerge -1av sys-firmware/iwl3160-ucode sys-kernel/linux-firmware
These are the packages that would be merged, in order:
Calculating dependencies... done!
[ebuild R ] sys-kernel/linux-firmware-20220913-r2::gentoo USE="redistributable savedconfig* -initramfs (-unknown-license)" 0 KiB
[ebuild N ] sys-firmware/iwl3160-7260-bt-ucode-37.8.10_p2::gentoo 77 KiB
[ebuild N ] sys-firmware/iwl3160-ucode-0.16.242414-r1:16::gentoo USE="bluetooth" 457 KiB
Total: 3 packages (2 new, 1 reinstall), Size of downloads: 533 KiB
|
You can make it permanent via package.use
See
https://wiki.gentoo.org/wiki/Linux_firmware#USE_flags
That is in
/etc/portage/savedconfig/sys-kernel/linux-firmware-ddmmyyyy
comment out the firmware modules you wish to use from iwl3160-ucode
BUT linux-firmware contains
Code: |
/lib/firmware/iwlwifi-3160-17.ucode
|
So whats the problem?
_________________
|
|
Back to top |
|
|
Darkyyo n00b
Joined: 27 Sep 2022 Posts: 21
|
Posted: Tue Sep 27, 2022 8:09 pm Post subject: |
|
|
I successfully installed sys-firmware/iwl3160-ucode, loaded the MVM option mentioned in the warning as a module, and recompiled the kernel. Now the first error message in my question post returns: Code: | n180211: Could not configure driver mode |
* Hold on... The network interface that used to be sit0 is now wlp1s0. I changed wpa_supplicant to match this new network interface name, and now my network is set. I also recently unmerged sys-firmware/iwl3160-ucode with no negative effect, so now I have a good reason to believe the root of this problem was the fact that my corresponding network drivers were not loaded as modules. |
|
Back to top |
|
|
|