Skip to content

GitLab

  • Projects
  • Groups
  • Snippets
  • Help
    • Loading...
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
aports
aports
  • Project overview
    • Project overview
    • Details
    • Activity
    • Releases
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 649
    • Issues 649
    • List
    • Boards
    • Labels
    • Service Desk
    • Milestones
  • Merge Requests 213
    • Merge Requests 213
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
  • Operations
    • Operations
    • Incidents
    • Environments
  • Analytics
    • Analytics
    • CI / CD
    • Repository
    • Value Stream
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • alpine
  • aportsaports
  • Issues
  • #3910

Closed
Open
Opened Feb 04, 2015 by Ghost User@ghostContributor

hostapd is pretty useless without regdb

Hi,

I’m trying to setup a hostap with Alpine. The problem is that Alpine is not shipping wireless-regdb which is needed to set the right freqs for your country. This restricts hostapd to a very limited set of allowed frequencies.

<code class="shell">
router:~# iw reg set DE
router:~# iw reg get
country 00: DFS-UNSET
        (2402 - 2472 @ 40), (6, 20)
        (2457 - 2482 @ 40), (6, 20), PASSIVE-SCAN
        (2474 - 2494 @ 20), (6, 20), NO-OFDM, PASSIVE-SCAN
        (5170 - 5250 @ 160), (6, 20), PASSIVE-SCAN
        (5250 - 5330 @ 160), (6, 20), DFS, PASSIVE-SCAN
        (5490 - 5730 @ 160), (6, 20), DFS, PASSIVE-SCAN
</code>

How to solve:

Create packages for crda and wireless-regdb (I think), see https://wireless.wiki.kernel.org/en/developers/Regulatory

Or copy db.txt from wireless-regdb into the kernel source directory and recompile the kernel with CONFIG_CFG80211_INTERNAL_REGDB, see https://wireless.wiki.kernel.org/en/developers/regulatory/crda

If you do not want to install CRDA on a host, you can simply enable the CONFIG_CFG80211_INTERNAL_REGDB on your kernel. Once enabled you can place the db.txt from the wireless-regdb into net/wireless/db.txt. The downside to using this option is that you will need to rebuild your kernel for any regulatory updates, therefore using CONFIG_CFG80211_INTERNAL_REGDB is not recommended.

(from redmine: issue id 3910, created on 2015-02-04)

  • Changesets:
    • Revision 0b76a6c6 by Stefan Wagner on 2016-05-05T15:46:48Z:
testing/wireless-regdb: new aport

Linux Central Regulatory Domain Database
https://wireless.wiki.kernel.org/en/developers/regulatory/wireless-regdb

ref #3910
  • Revision 9675fc13 by Stefan Wagner on 2016-05-05T15:47:25Z:
testing/crda: new aport

Linux Central Regulatory Domain Agent
http://www.linuxwireless.org/en/developers/Regulatory/CRDA/

ref #3910
  • Uploads:
    • crda.APKBUILD
    • py-m2crypto.APKBUILD
    • wireless-regdb.APKBUILD
To upload designs, you'll need to enable LFS and have admin enable hashed storage. More information
Assignee
Assign to
None
Milestone
None
Assign milestone
Time tracking
None
Due date
None
Reference: alpine/aports#3910