Skip to content
View in the app

A better way to browse. Learn more.

Armbian Community Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

What is the correct way to set the country code for AP on orange pi 4?

Featured Replies

I always received beacons with Country "US", until I created the file "brcmfmac43456-sdio.xunlong,orangepi-4.txt".
It is a copy of brcmfmac43456-sdio.txt and I added the line:

ccode=DE

With this modification, I see the expected beacon. (Country: "DE", correct tx-power, ...)
 

I think this is not the intended way to configure it.

 


What I checked before:

  • My hostapd.conf contains;
...
country_code=DE
ieee80211d=1
...
  • iw reg get 
global
country DE: DFS-ETSI
    (2400 - 2483 @ 40), (N/A, 20), (N/A)
    (5150 - 5250 @ 80), (N/A, 20), (N/A), NO-OUTDOOR, AUTO-BW
    (5250 - 5350 @ 80), (N/A, 20), (0 ms), NO-OUTDOOR, DFS, AUTO-BW
    (5470 - 5725 @ 160), (N/A, 26), (0 ms), DFS
    (5725 - 5875 @ 80), (N/A, 13), (N/A)
    (57000 - 66000 @ 2160), (N/A, 40), (N/A)
  • Starting hostapd with "-d" prints "Beacon head" and "tail". I found "DE" in the hex-values but not "US".
  • Tested configuration on Raspberri Pi ==> Beacon with expected country code "DE"

 

So all test returned the expected results but in the air I captured "US", wrong max power, ...

until I added the file "brcmfmac43456-sdio.xunlong,orangepi-4.txt" with the line "ccode=DE".
 

Guest
This topic is now closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.