The officially official Devuan Forum!

You are not logged in.

#1 2023-10-07 06:47:02

aluma
Member
Registered: 2022-10-26
Posts: 646  

Wireles-regdb.

The question concerns computers with WI-FI.

Devuan Daedalus, when loading there is a pause to search for regulatory.db.
This is a database with the conditions for using WI-FI in a specific user's country.

It is in the optional

wireles-regdb

package, which must be installed.

Otherwise, the user may turn out to be a criminal by accidentally turning on a WI-FI channel that is prohibited in his country.

Offline

#2 2023-10-07 23:13:30

GlennW
Member
From: Brisbane, Australia
Registered: 2019-07-18
Posts: 644  

Re: Wireles-regdb.

On my system the wifi regulatory database file name may be found...

dmesg | grep firm (root needed)

root@GamesBox:/root  dmesg | grep firm
[    0.472983] Spectre V2 : Enabling Speculation Barrier for firmware calls
[    9.270684] platform regulatory.0: firmware: direct-loading firmware regulatory.db
[    9.293653] platform regulatory.0: firmware: direct-loading firmware regulatory.db.p7s
[    9.368664] iwlwifi 0000:05:00.0: firmware: direct-loading firmware iwlwifi-9260-th-b0-jf-b0-46.ucode
[    9.489964] iwlwifi 0000:05:00.0: firmware: failed to load iwl-debug-yoyo.bin (-2)
[    9.499585] firmware_class: See https://wiki.debian.org/Firmware for information about missing firmware
[    9.509055] iwlwifi 0000:05:00.0: firmware: failed to load iwl-debug-yoyo.bin (-2)
[    9.518225] iwlwifi 0000:05:00.0: loaded firmware version 46.ea3728ee.0 9260-th-b0-jf-b0-46.ucode op_mode iwlmvm
[    9.736185] Bluetooth: hci0: Minimum firmware build 1 week 10 2014
[    9.742789] bluetooth hci0: firmware: direct-loading firmware intel/ibt-18-16-1.sfi
[    9.749235] Bluetooth: hci0: Found device firmware: intel/ibt-18-16-1.sfi
[   15.095529] Bluetooth: hci0: Waiting for firmware download to complete
[   15.127996] bluetooth hci0: firmware: direct-loading firmware intel/ibt-18-16-1.ddc

>> 9.518225] iwlwifi 0000:05:00.0: loaded firmware version 46.ea3728ee.0 9260-th-b0-jf-b0-46.ucode op_mode iwlmvm

This file comes from the firmware package for my intel-wire-less wifi (iwlwifi).

This file may be stored on a memory stick and inserted for install, the installation program will usually find it and load it while telling you so.

If you use the wrong one, it just won't work properly.

see how you go.

ps. the installation will continue with out wifi (for updates). My system asks for it but it's built-in now.

Last edited by GlennW (2023-10-07 23:16:02)


pic from 1993, new guitar day.

Offline

#3 2023-10-08 11:08:17

aluma
Member
Registered: 2022-10-26
Posts: 646  

Re: Wireles-regdb.

My post is not about the Wi-Fi card driver.
Quote:
"Linux allows changing regulatory domains in compliance with regulatory restrictions world wide, including the US FCC. In order to achieve this devices always respect their programmed regulatory domain and a country code selection will only enhance regulatory restrictions. This is in accordance with the FCC part 15 country code selection knowledge base publication number 594280. As an example if your device was programmed for operation in the US which allows operation on channels 1-11 on the 2.4 GHz band and you visit Japan which allows operation on channels 1-14 and you change your regulatory domain to JP you will not be able to use channel 12, 13 or 14 (CCK). But if you have a device programmed for operation in Japan and visit the US and you select US as your regulatory domain you will have channel 12-14 disabled..."
https://wireless.wiki.kernel.org/en/dev … atory/crda

Offline

#4 2023-10-08 13:47:38

rolfie
Member
Registered: 2017-11-25
Posts: 1,171  

Re: Wireles-regdb.

This database isn't present on my main computer (only LAN), but on my laptop its installed as well in Chimaera as Daedalus.

If I am not mistaken the wireless-regdb is installed with wifi drivers and firmware as a dependency. At least this was happening when installing the laptop. I guess there are dependencies.

Offline

#5 2023-10-08 14:58:50

aluma
Member
Registered: 2022-10-26
Posts: 646  

Re: Wireles-regdb.

No dependencies.

root@AA:~# apt show wireless-regdb
Package: wireless-regdb
Version: 2022.06.06-1
Priority: optional
Section: net
Maintainer: Debian kernel team <debian-kernel@lists.debian.org>
Installed-Size: 36.9 kB
Homepage: https://wireless.wiki.kernel.org/en/developers/regulatory/wireless-regdb
Tag: admin::hardware, role::app-data
Download-Size: 13.1 kB
APT-Manual-Installed: yes
APT-Sources: http://deb.devuan.org/merged daedalus/main amd64 Packages
Description: wireless regulatory database for Linux 

Offline

#6 2023-10-08 15:20:58

rolfie
Member
Registered: 2017-11-25
Posts: 1,171  

Re: Wireles-regdb.

On my Daedalus amd64 workstation:

# apt-cache rdepends wireless-regdb
wireless-regdb
Reverse Depends:
  linux-image-6.1.0-10-amd64
  linux-image-6.1.0-9-amd64
  linux-image-6.1.0-7-amd64
  linux-image-6.1.0-6-amd64
  linux-image-6.1.0-5-amd64
  linux-image-6.1.0-3-amd64
  linux-image-6.1.0-2-amd64
  linux-image-6.1.0-1-amd64
  linux-image-6.0.0-6-amd64
  linux-image-6.0.0-5-amd64
  linux-image-6.0.0-4-amd64
  linux-image-5.17.0-1-amd64
  linux-image-6.4.0-0.deb12.2-rt-amd64-unsigned
  linux-image-6.4.0-0.deb12.2-rt-amd64
  linux-image-6.4.0-0.deb12.2-cloud-amd64-unsigned
  linux-image-6.4.0-0.deb12.2-cloud-amd64
  linux-image-6.4.0-0.deb12.2-amd64-unsigned
  linux-image-6.4.0-0.deb12.2-amd64
  linux-image-6.1.0-12-rt-amd64-unsigned
  linux-image-6.1.0-12-rt-amd64
  linux-image-6.1.0-12-cloud-amd64-unsigned
  linux-image-6.1.0-12-cloud-amd64
  linux-image-6.1.0-12-amd64-unsigned
  linux-image-6.1.0-12-amd64
  linux-image-6.1.0-11-rt-amd64-unsigned
  linux-image-6.1.0-11-rt-amd64
  linux-image-6.1.0-11-cloud-amd64-unsigned
  linux-image-6.1.0-11-cloud-amd64
  linux-image-6.1.0-11-amd64-unsigned
  linux-image-6.1.0-11-amd64
  network-manager
  linux-image-6.1.0-13-rt-amd64-unsigned
  linux-image-6.1.0-13-rt-amd64
  linux-image-6.1.0-13-cloud-amd64-unsigned
  linux-image-6.1.0-13-cloud-amd64
  linux-image-6.1.0-13-amd64-unsigned
  linux-image-6.1.0-13-amd64
  linux-image-6.1.0-10-rt-amd64-unsigned
  linux-image-6.1.0-10-rt-amd64
  linux-image-6.1.0-10-cloud-amd64-unsigned
  linux-image-6.1.0-10-cloud-amd64
  linux-image-6.1.0-10-amd64-unsigned
  iw
  iwd

Offline

#7 2023-10-08 17:11:16

aluma
Member
Registered: 2022-10-26
Posts: 646  

Re: Wireles-regdb.

Ok, let's try to figure it out.
It is listed here

 root@AA:~# apt-cache rdepends wireless-regdb
wireless-regdb
Reverse Depends:
  linux-image-6.1.0-10-amd64...
 

There are no recommendations for installing it here.

root@AA:~# apt show linux-image-6.1.0-10-amd64 -a
Package: linux-image-6.1.0-10-amd64
Version: 6.1.38-2
Built-Using: linux (= 6.1.38-2)
Priority: optional
Section: kernel
Source: linux-signed-amd64 (6.1.38+2)
Maintainer: Debian Kernel Team <debian-kernel@lists.debian.org>
Installed-Size: 408 MB
Depends: kmod, linux-base (>= 4.3~), initramfs-tools (>= 0.120+deb8u2) | linux-initramfs-tool
Recommends: firmware-linux-free, apparmor
Suggests: linux-doc-6.1, debian-kernel-handbook, grub-pc | grub-efi-amd64 | extlinux
Conflicts: linux-image-6.1.0-10-amd64-unsigned
Breaks: fwupdate (<< 12-7), initramfs-tools (<< 0.120+deb8u2), wireless-regdb (<< 2019.06.03-1~)
Replaces: linux-image-6.1.0-10-amd64-unsigned
Homepage: https://www.kernel.org/
Download-Size: 68.5 MB
APT-Sources: http://deb.devuan.org/merged daedalus/main amd64 Packages
Description: Linux 6.1 for 64-bit PCs (signed)

  

Offline

#8 2023-10-08 22:15:37

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,251  

Re: Wireles-regdb.

daedalus

Package: iw
Recommends: ..., wireless-regdb, ...
--
Package: iwd
Recommends: ..., wireless-regdb, ...
--
Package: network-manager
Recommends: ..., wireless-regdb, ...
--
Package: crda
Depends: ..., wireless-regdb, ...

Offline

#9 2023-10-09 00:27:43

GlennW
Member
From: Brisbane, Australia
Registered: 2019-07-18
Posts: 644  

Re: Wireles-regdb.

I don't think it's criminal, it simply won't work the same in every country.

The worst that could happen is "no connection", imho.


pic from 1993, new guitar day.

Offline

#10 2023-10-09 08:56:32

aluma
Member
Registered: 2022-10-26
Posts: 646  

Re: Wireles-regdb.

The situation is obvious, the package is not tightly linked to other packages, is not installed by default, and apt does not object when it is removed.

Although the kernel still looks for it when loading.

Whether this is good or bad, as well as the issue of responsibility for the use of prohibited radio frequencies, is up to the developers to decide.

Offline

Board footer