Wireless-AC capabilities

wifi
wireless

#1

I installed VyOS Rolling version on a ProtectLI FW6B and it works great! I installed an Intel 7260.MWG.R wireless AC card but VyOS does not see it. A live CD for Debian 9 does see the card correctly. After some research, it looks like the linux kernel version is the issue. Will VyOS be updated to support newer wifi cards? Can I manually install the wifi driver?

uname -r on debian 9 shows 4.09.0-8-amd64
uname -r on VyOS shows 3.13.11-1amd64-vyos

Intel recommends kernel version 4.1+


#2

Hi,
you want to try 1.2 from here https://downloads.vyos.io/?dir=testing/1.2.0-rc3
let us know how it goes


#3

Hi syncer,

Thanks! I will try tonight and let you know.


#4

add system image https://downloads.vyos.io/testing/1.2.0-rc3/vyos-1.2.0-rc3-amd64.iso
reboot
uname -r is now 4.14.65-amd64-vyos

‘show interfaces’ does not have a new interface

wget https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/iwlwifi-7260-17.ucode

cp iwlwifi-7260-17.ucode /lib/firmware

reboot

dmesg | grep iwlwifi
[ 8.818480] iwlwifi 0000:07:00.0: uCode file size 6968233 does not match expected size
[ 8.913589] iwlwifi 0000:07:00.0: no suitable firmware found!
[ 8.913591] iwlwifi 0000:07:00.0: iwlwifi-7260-17 is required
[ 8.913593] iwlwifi 0000:07:00.0: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git

ls /lib/modules/4.14.65-amd64-vyos/kernel/net/wireless/
cfg80211.ko lib80211_crypt_tkip.ko lib80211.ko
lib80211_crypt_ccmp.ko lib80211_crypt_wep.ko

‘show interfaces’ still does not have a new interface :frowning:


#6

Problem with wireless cards is as always: firmware.

Can you pleas einstall this file into /lib/firmware of your VyOS router and reboot:
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree/iwlwifi-7260-17.ucode


#7

I addresses the Firmware issues in https://phabricator.vyos.net/T929


#8

Hi c-po,

In my post above, I already downloaded that file using wget, copied it to /lib/firmware and rebooted. However, I still have no wifi interface. Am I missing a step?


#9

What does dmesg say after your reboot? Is the firmware file found?


#10

I just ran the below right now.

sudo ls -l /lib/firmware | grep 7260
-rw-r–r-- 1 root root 6968233 Oct 23 07:01 iwlwifi-7260-17.ucode
-rw-r–r-- 1 root root 683236 Jun 15 2014 iwlwifi-7260-7.ucode
-rw-r–r-- 1 root root 679780 Jun 15 2014 iwlwifi-7260-8.ucode
-rw-r–r-- 1 root root 679380 Jun 15 2014 iwlwifi-7260-9.ucode
vyos@vyos:~$ reboot

vyos@vyos:~$ dmesg | grep iwlwifi
[ 9.061736] iwlwifi 0000:07:00.0: uCode file size 6968233 does not match expected size
[ 9.156847] iwlwifi 0000:07:00.0: no suitable firmware found!
[ 9.225749] iwlwifi 0000:07:00.0: iwlwifi-7260-17 is required
[ 9.225752] iwlwifi 0000:07:00.0: check git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git


#11

The firmware file has only one Mb in the Git repo. Yours is much bigger. Please ensure you have the correct one!


#12

I went to the below link in my browser and do see the listed size as 1049340
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/tree

I think I was using the wrong url for wget. When I select iwlwifi-3160-17.ucode it opens another page with another link called plain. This link provides a 1.2MB file. I was downloading the iwlwifi-3160-17.ucode page instead of the plain text file.

I will try this link tonight and let you know the results.
https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git/plain/iwlwifi-7265-17.ucode


#13

Success! Thank you for your help.

I tried to post my steps but it will not allow me to post links anymore.

Update to 1.2.0-rc3
add system image URL

Download driver.
Use the firmware link provided by C-po
right click the [plain] hyperlink and copy the link address
wget URL
sudo cp iwlwifi-7260-17.ucode /lib/firmware
reboot

Show interfaces

wlan0 is now listed