Page MenuHomeVyOS Platform

wireless: cannot set regulatory domain
Closed, ResolvedPublic

Description

"set interfaces wireless <interface> country-code <cc> " doesn't work, because cfg80211 failed to load regulatory database.

Error log in dmesg:
cfg80211: loaded regulatory.db is malformed or signature is missing/invalid

Workaround:
sudo update-alternatives --set regulatory.db /lib/firmware/regulatory.db-upstream

Details

Version
1.4-rolling-202203070319
Is it a breaking change?
Perfectly compatible
Issue type
Bug (incorrect behavior)

Event Timeline

higebu created this object in space S1 VyOS Public.
dmbaturin added a project: VyOS 1.5 Circinus.
dmbaturin changed Is it a breaking change? from Unspecified (possibly destroys the router) to Perfectly compatible.

This can be reproduced even without real hardware:

cpo@LR2.wue3:~$ sudo modprobe mac80211_hwsim
cpo@LR2.wue3:~$ sudo dmesg | grep cfg802
[300193.910158] cfg80211: Loading compiled-in X.509 certificates for regulatory database
[300193.963289] cfg80211: loaded regulatory.db is malformed or signature is missing/invalid
c-po changed the task status from Open to In progress.Jul 3 2024, 8:01 PM
c-po claimed this task.
c-po added a project: VyOS 1.5 Circinus.
c-po moved this task from In Progress to Finished on the VyOS 1.4 Sagitta (1.4.1) board.
c-po moved this task from In Progress to Finished on the VyOS 1.5 Circinus board.