Linux - HardwareThis forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Unable to get Intel 7260 wireless to work in linux. Dual booting with Windows 11. Card works fine in Windows. dmesg shows "Failed to send DQA enabling command: -5". Fiddled with it a week now. Scoured a number of forums. I read where the (rev bb) could be problematic. But also got hints that some had it working. Any help here would be appreciated.
┌─[root@alienware-m15-R5]-[/]
└──╼ #rfkill list all
0: hci0: Bluetooth
Soft blocked: no
Hard blocked: no
1: phy0: Wireless LAN
Soft blocked: no
Hard blocked: no
2: phy1: Wireless LAN
Soft blocked: no
Hard blocked: no
Yes, I do have a second wireless. When I couldn't get the internal wireless card to work, I bought a Panda Wireless USB nub as an interim solution. It works, but I'd really like to get the internal card working on Linux and free up the USB port. I also have other Linux projects that the Panda Wireless nub could be useful on.
Here is the full iwconfig results...
Code:
┌─[root@alienware-m15-R5]-[/]
└──╼ #iwconfig
lo no wireless extensions.
enp2s0 no wireless extensions.
wlp3s0 IEEE 802.11 ESSID:off/any
Mode:Managed Access Point: Not-Associated
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:on
wlx9cefd5fb2d60 IEEE 802.11 ESSID:"##########_5G"
Mode:Managed Frequency:5.745 GHz Access Point: E0:22:03:95:17:62
Bit Rate=130 Mb/s Tx-Power=16 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=39/70 Signal level=-71 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:1 Invalid misc:53 Missed beacon:0
virbr0 no wireless extensions.
I'm using NetworkManager...I have wifi.powersave = 2 set there to stabilize my connection.
Code:
┌─[root@alienware-m15-R5]-[/]
└──╼ #systemctl status NetworkManager
● NetworkManager.service - Network Manager
Loaded: loaded (/lib/systemd/system/NetworkManager.service; enabled; vendor preset: enabled)
Active: active (running) since Fri 2024-03-29 19:36:52 CDT; 12h ago
Docs: man:NetworkManager(8)
Main PID: 1180 (NetworkManager)
Tasks: 3 (limit: 38044)
Memory: 10.0M
CPU: 8.846s
CGroup: /system.slice/NetworkManager.service
└─1180 /usr/sbin/NetworkManager --no-daemon
Mar 30 07:28:58 alienware-m15-R5 NetworkManager[1180]: <error> [1711801738.8154] device (wlp3s0): Couldn't initialize s>
Mar 30 07:29:09 alienware-m15-R5 NetworkManager[1180]: <warn> [1711801749.3978] device (wlp3s0): re-acquiring supplica>
It finally dawned on me your problem is the intel part. Mediatek have the bad reputation, but they have cleaned up their act on linux. They even bought Ralink, and cleaned up their act.
There should be linux drivers(source) and firmware on Intel's site if they are needed. There might be module options required for iwlwifi.ko to try. If firmware is online, and it's later than the firmware in /lib/firmware, try it. And do a decent web search. You won't be the only one with this problem. Intel are usually a good buy in wifi cards. Anyone is, EXCEPT REALTEK.
You can also try connecting yourself.
Install wpa_supplicant if you haven't got it in /usr/sbin.
Type this command in a terminal: "wpa_passphrase Your_ESSID Your_Password"
It will give you back a formatted entry for /etc/wpa_supplicant.conf (or /etc/wpa_supplicant/wpa_supplicant.conf)
Edit wpa_supplicant.conf and put in the chunk as is. There's man pages for wpa_supplicant.conf & wpa_passphrase
You'll get the output in the terminal and it will stay there. Post the interesting stuff ONLY. In the unlikely event that it stops writing, it has crashed or connected. If connected, grab another terminal and type
Code:
sudo /sbin/dhcpcd wlp3s0 or sudo /sbin/dhclient wlp3s0
You might have one or the other of those programs. If you don't, install one. Post anything you think is odd with a bit of context.
I checked the Intel website earlier and only found iwlwifi-7260-14.ucode available for download. But my laptop has a higher version already installed and in use, iwlwifi-7260-17.ucode.
I also tried wpa-supplicant as suggested and received the following...
Code:
┌─[macos@alienware-m15-R5]-[/lib/firmware]
└──╼ $sudo /usr/sbin/wpa_supplicant -D nl80211 -i wlp3s0 -c /etc/wpa_supplicant/wpa_supplicant.conf
Successfully initialized wpa_supplicant
Could not set interface wlp3s0 flags (UP): Input/output error
nl80211: Could not set interface 'wlp3s0' UP
nl80211: deinit ifname=wlp3s0 disabled_11b_rates=0
wlp3s0: Failed to initialize driver interface
wlp3s0: CTRL-EVENT-DSCP-POLICY clear_all
I'm still digging into the source code references regarding iwlwifi and iwlmvm about DQA (dynamic queue allocation). Even found some current patch activity. Hopefully something will bubble up to the top and give me a clue as to circumventing the failure.
The plot thickens. I downloaded an old Ubuntu 14.04 ISO. It used the iwlwifi-7260-13.ucode firmware. Lo and behold, the Intel 7260 worked. This is not a viable solution, but it does appear to indicate that something in the current kernel or firmware is not playing nice with the Intel 7260 (rev bb) I have.
I checked the Intel website earlier and only found iwlwifi-7260-14.ucode available for download. But my laptop has a higher version already installed and in use, iwlwifi-7260-17.ucode.
I also tried wpa-supplicant as suggested and received the following...
Code:
┌─[macos@alienware-m15-R5]-[/lib/firmware]
└──╼ $sudo /usr/sbin/wpa_supplicant -D nl80211 -i wlp3s0 -c /etc/wpa_supplicant/wpa_supplicant.conf
Successfully initialized wpa_supplicant
Could not set interface wlp3s0 flags (UP): Input/output error
nl80211: Could not set interface 'wlp3s0' UP
nl80211: deinit ifname=wlp3s0 disabled_11b_rates=0
wlp3s0: Failed to initialize driver interface
wlp3s0: CTRL-EVENT-DSCP-POLICY clear_all
I'm still digging into the source code references regarding iwlwifi and iwlmvm about DQA (dynamic queue allocation). Even found some current patch activity. Hopefully something will bubble up to the top and give me a clue as to circumventing the failure.
Looking at the wpa_supplicant output above, the nl80211 driver can't configure the wifi [bold type above]. The good news is that there may be an alternative. Try the same wpa_supplicant line, except use '-D wext' and see if that provokes a difference.
Odd that the Intel website doesn't have the latest driver, but they gave it to the Linux community. I wonder is it some linux-specific thing? Have you tried the firmware from the website?
The 'input/output error' is pretty catastrophic, btw. It's often a sign of bad hardware, but not in this case of course. But it's puking on the equivalent of 'ifconfig wlp3s0 up' afaict.
Last edited by business_kid; 03-31-2024 at 12:02 PM.
┌─[macos@alienware-m15-R5]-[~]
└──╼ $sudo /usr/sbin/wpa_supplicant -D wext -i wlp3s0 -c /etc/wpa_supplicant/wpa_supplicant.conf
[sudo] password for macos:
Successfully initialized wpa_supplicant
Could not set interface wlp3s0 flags (UP): Input/output error
WEXT: Could not set interface 'wlp3s0' UP
wlp3s0: Failed to initialize driver interface
wlp3s0: CTRL-EVENT-DSCP-POLICY clear_all
I'm open to suggestions on using the Intel website firmware. I've hacked away at it, but the driver insists on using iwlwifi-7260-17.ucode. I tried renaming the more current firmware so that the driver would drop down to iwlwifi-7260-13.ucode, but that didn't work.
Code:
[ 14.862098] iwlwifi 0000:03:00.0: Direct firmware load for iwlwifi-7260-17.ucode failed with error -2
[ 14.862102] iwlwifi 0000:03:00.0: no suitable firmware found!
[ 14.862105] iwlwifi 0000:03:00.0: iwlwifi-7260-17 is required
The linux driver must be checking for the version 17 firmware in the software. The oldest firmware I had around was dated 20220124, and that had the iwlwifi-7260-17.ucode. That was part of the slackware64-15.0 release. That had versions 7,8,9,10,12,13,16 & 17
Your options are:
1. Grit your teeth, join the LKML, and file a bug against the intel driver. You will have to compile very latest kernel version they say, do the tests they need, apply the patches they give you, and report the results. Your pc will be testing their patch. Patience can wear thin quickly on the LKML, but your issue will be fixed. Then you'll have to update to a patched kernel.
2. Approach the same issue through the intel website. Your email will probably go to a windows programmer thence to a linux one. He might well instruct you to do option 1 anyhow.
3. Revert to some older kernel which uses the earlier firmware, with any issues involved there. That might be the original slackware64-5.15.19 kernel and see if that takes earlier firmware. The earlier versions might just be detritis in the firmware archive. I'd be hopeful for iwlwifi-7260-16.
4. Forget the whole thing and continue using the Mediatek usb wifi in linux.
Option #4 made me laugh. But that's my likely route. I think its the (rev bb) that's the issue. There are a number of 7260 flavors out there and the (rev bb) has been problematic for others in the past. I appreciate your time and responses. If I get adventurous, I may replace the card down the road. And if it turns out I'm not alone and others are experiencing this issue, I may circle back to the other options you mention. Linux is my main driver, I enjoy using it, and on principle I'd like to see it work out of the box for others.
5. Revert to the older firmware without the older kernel? There isn't a direct tie, like kernel & modules?
And the new stuff going into the kernel is usually oddball stuff we don't have. Have you ever had to wait for a device to work because the firmware wasn't written yet? It's part of the hardware design process, because the device won't function without the firmware.
Not an ideal solution, but can you replace the 7260, assuming there's no whitelist?
The 7260 is known to be a bit buggy under both Linux and Windows. I had replaced a couple with the 8260 and the issues I was having went away. (frequent/random disconnects)
You can get a newer Intel Wi-Fi card for about $25.
Thanks for noting a possible replacement. I was thinking I might replace the 7260 at some point. But then the question was "with what?". Glad to hear the 8260 has worked for you.
Thanks for noting a possible replacement. I was thinking I might replace the 7260 at some point. But then the question was "with what?". Glad to hear the 8260 has worked for you.
Here's another: Qualcomm Atheros - any one. Here's mine:
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.