[PVE-User] PVE 6, wireless and regulatory database...

Alwin Antreich a.antreich at proxmox.com
Tue May 19 11:04:09 CEST 2020


On Tue, May 19, 2020 at 09:40:11AM +0200, Marco Gaiarin wrote:
> Mandi! Martin Maurer
>   In chel di` si favelave...
> 
> > use the buster-backports - https://packages.debian.org/buster-backports/wireless-regdb
> > (see also https://backports.debian.org/)
> 
> Seems is not sufficient:
> 
>  May 18 23:55:24 ino kernel: [    7.751088] cfg80211: Loading compiled-in X.509 certificates for regulatory database
>  May 18 23:55:24 ino kernel: [    7.757944] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'
>  May 18 23:55:24 ino kernel: [    7.764861] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
>  May 18 23:55:24 ino kernel: [    7.905519] ath: EEPROM regdomain: 0x809c
>  May 18 23:55:24 ino kernel: [    7.905520] ath: EEPROM indicates we should expect a country code
>  May 18 23:55:24 ino kernel: [    7.905521] ath: doing EEPROM country->regdmn map search
>  May 18 23:55:24 ino kernel: [    7.905521] ath: country maps to regdmn code: 0x52
>  May 18 23:55:24 ino kernel: [    7.905522] ath: Country alpha2 being used: CN
>  May 18 23:55:24 ino kernel: [    7.905523] ath: Regpair used: 0x52
>  May 18 23:55:24 ino kernel: [    7.909904] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
>  May 18 23:55:24 ino kernel: [    7.916935] ieee80211 phy0: Atheros AR9287 Rev:2 mem=0xffffb2508cdd0000, irq=16
>  May 18 23:55:24 ino kernel: [    7.922095] ath9k 0000:10:00.0 wls1: renamed from wlan0
> 
> slightly different error, but still regulatory.db is not loaded.
> 
> 
> This seems a bit strange; kernel 5.4 is the focal fossa kernel, and in
> focal fossa the 'wireless-regdb' package is dated '2018':
> 
> 	https://packages.ubuntu.com/search?suite=focal&searchon=names&keywords=wireless-regdb
> 
> while debian backport is 2019.
> 
> 
> Package have to be recompiled against the kernel to have key match?
The above message says that the signature might be missing/invalid.
Debian uses a different file name for the signature file then ubuntu.

See the file list for comparison.
https://packages.ubuntu.com/focal/all/wireless-regdb/filelist
https://packages.debian.org/buster-backports/all/wireless-regdb/filelist

You can always download the latest wireless-regdb and replace the db +
signature files.
https://wireless.wiki.kernel.org/en/developers/regulatory/wireless-regdb

--
Cheers,
Alwin




More information about the pve-user mailing list