You would need serial anyway. But to enable it you need ssh
EDITED cuz i was dumb
Anyways, what I did trying to get SSH to work was initially putting the enable_ssh script in scripts folder under default_uci and adding the relevant code to the cron file. But after that did not open up SSH, I decided to try and delete the other files in default_uci but keep cron and scripts folder. That made the router unusable but I recovered it. Do i need to change the 'hal' file in default_uci?
You could hard reset it. You should not delete anything, just merge in the archive
No luck with SSH being open; resaving the config from the device shows no default_uci folder. Unless I am missing something with regards to the config (I basically only added the SSH in cron and scripts), maybe it has to do with my version being older than the one of the default_uci folder.
Have you tested the connection from any 6GHz client?
@lytr I tested with 6E phone (oneplus 12), mediatek, and intel 6e cards - all worked fine. Other folks tested with some samsung tablet too.
@all: new rebased version - it seems to have solved that annoying (but benign) thread crash at startup
Of course, works like a charm. See Adding Support for Verizon CR1000A - #1117 by sumo
@a_guy @sumo Thanks for the confirmation.
For the MX8500, I was unable to fully get the 6GHz radio working: OpenWrt support for Linksys MX8500 - #189 by lytr
On CR1000a the 6ghz radio was actually working in 5ghz mode with default Linux BDF. Only the fixed BDF from OEM firmware actually alllowed it to work in 6ghz. I see the reference to 5ghz in the log you posed. Could be the same issue?
I'm using a modified BDF file from OEM firmware that allows me to run a 6GHz radio.
What references are you mentioning?
Well, looked at your logs closely. Seems like I was mistaken and it does try to start in 6GHz. I'm not an expert there to tell what's wrong though. Maybe ask @Ansuel ?
Can you send me a working hostapd configuration /var/run/hostapd-phy2.conf
?
Here you go.
root@OpenWrt3:~# cat /var/run/hostapd-phy2.conf
driver=nl80211
logger_syslog=127
logger_syslog_level=2
logger_stdout=127
logger_stdout_level=2
country_code=CH
ieee80211d=1
ieee80211h=1
hw_mode=a
beacon_int=100
channel=33
chanlist=33
tx_queue_data2_burst=2.0
#num_global_macaddr=1
ieee80211n=1
ht_coex=0
ht_capab=[HT40+]
op_class=134
ieee80211ac=1
vht_oper_chwidth=2
vht_oper_centr_freq_seg0_idx=47
vht_capab=[MAX-A-MPDU-LEN-EXP0]
ieee80211ax=1
he_oper_chwidth=2
he_oper_centr_freq_seg0_idx=47
he_su_beamformer=1
he_su_beamformee=1
he_mu_beamformer=1
he_bss_color=128
he_spr_sr_control=3
he_default_pe_duration=4
he_rts_threshold=1023
he_mu_edca_qos_info_param_count=0
he_mu_edca_qos_info_q_ack=0
he_mu_edca_qos_info_queue_request=0
he_mu_edca_qos_info_txop_request=0
he_mu_edca_ac_be_aifsn=8
he_mu_edca_ac_be_aci=0
he_mu_edca_ac_be_ecwmin=9
he_mu_edca_ac_be_ecwmax=10
he_mu_edca_ac_be_timer=255
he_mu_edca_ac_bk_aifsn=15
he_mu_edca_ac_bk_aci=1
he_mu_edca_ac_bk_ecwmin=9
he_mu_edca_ac_bk_ecwmax=10
he_mu_edca_ac_bk_timer=255
he_mu_edca_ac_vi_ecwmin=5
he_mu_edca_ac_vi_ecwmax=7
he_mu_edca_ac_vi_aifsn=5
he_mu_edca_ac_vi_aci=2
he_mu_edca_ac_vi_timer=255
he_mu_edca_ac_vo_aifsn=5
he_mu_edca_ac_vo_aci=3
he_mu_edca_ac_vo_ecwmin=5
he_mu_edca_ac_vo_ecwmax=7
he_mu_edca_ac_vo_timer=255
interface=phy2-ap0
ctrl_interface=/var/run/hostapd
ap_isolate=1
bss_load_update_period=60
chan_util_avg_period=600
disassoc_low_ack=1
skip_inactivity_poll=0
preamble=1
wmm_enabled=1
ignore_broadcast_ssid=1
uapsd_advertisement_enabled=1
utf8_ssid=1
multi_ap=0
sae_require_mfp=1
sae_pwe=2
wpa_passphrase=hugahagablablabla
wpa_psk_file=/var/run/hostapd-phy2-ap0.psk
auth_algs=1
wpa=2
wpa_pairwise=CCMP
ssid=OpenWrt
bridge=br-lan
wds_bridge=
snoop_iface=br-lan
wpa_disable_eapol_key_retries=1
wpa_key_mgmt=SAE
okc=1
ieee80211w=2
group_mgmt_cipher=AES-128-CMAC
dynamic_vlan=0
vlan_naming=1
vlan_no_bridge=1
vlan_file=/var/run/hostapd-phy2-ap0.vlan
qos_map_set=0,0,2,16,1,1,255,255,18,22,24,38,40,40,44,46,48,56
bssid=78:67:0e:31:d5:03
#default_macaddr
Thanks, can you post also result of this two commands:
iw phy2 info
iwinfo phy2 info
Are you using any Intel AX card as a client?
Here you go.
root@OpenWrt3:~# iw phy2 info
Wiphy phy2
wiphy index: 2
max # scan SSIDs: 16
max scan IEs length: 184 bytes
max # sched scan SSIDs: 0
max # match sets: 0
Retry short limit: 7
Retry long limit: 4
Coverage class: 0 (up to 0m)
Device supports AP-side u-APSD.
Available Antennas: TX 0xf RX 0xf
Configured Antennas: TX 0xf RX 0xf
Supported interface modes:
* managed
* AP
* monitor
* mesh point
Band 4:
HE Iftypes: managed
HE MAC Capabilities (0x000b9a181040):
+HTC HE Supported
TWT Requester
Dynamic BA Fragementation Level: 1
BSR
Broadcast TWT
OM Control
Maximum A-MPDU Length Exponent: 3
RX Control Frame to MultiBSS
A-MSDU in A-MPDU
OM Control UL MU Data Disable RX
HE PHY Capabilities: (0x1c604c89ffdb839c110c00):
HE40/HE80/5GHz
HE160/5GHz
HE160/HE80+80/5GHz
LDPC Coding in Payload
HE SU PPDU with 1x HE-LTF and 0.8us GI
STBC Tx <= 80MHz
STBC Rx <= 80MHz
Full Bandwidth UL MU-MIMO
DCM Max Constellation: 1
DCM Max Constellation Rx: 1
SU Beamformer
SU Beamformee
MU Beamformer
Beamformee STS <= 80Mhz: 7
Beamformee STS > 80Mhz: 7
Sounding Dimensions <= 80Mhz: 3
Sounding Dimensions > 80Mhz: 3
Ng = 16 SU Feedback
Ng = 16 MU Feedback
Codebook Size SU Feedback
Codebook Size MU Feedback
PPE Threshold Present
HE SU PPDU & HE PPDU 4x HE-LTF 0.8us GI
Max NC: 3
STBC Rx > 80MHz
HE ER SU PPDU 4x HE-LTF 0.8us GI
HE ER SU PPDU 1x HE-LTF 0.8us GI
TX 1024-QAM
RX 1024-QAM
HE RX MCS and NSS set <= 80 MHz
1 streams: MCS 0-11
2 streams: MCS 0-11
3 streams: MCS 0-11
4 streams: MCS 0-11
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
HE TX MCS and NSS set <= 80 MHz
1 streams: MCS 0-11
2 streams: MCS 0-11
3 streams: MCS 0-11
4 streams: MCS 0-11
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
HE RX MCS and NSS set 160 MHz
1 streams: MCS 0-11
2 streams: MCS 0-11
3 streams: MCS 0-11
4 streams: MCS 0-11
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
HE TX MCS and NSS set 160 MHz
1 streams: MCS 0-11
2 streams: MCS 0-11
3 streams: MCS 0-11
4 streams: MCS 0-11
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
EHT Iftypes: managed
EHT MAC Capabilities (0x0000):
EHT PHY Capabilities: (0x0000000000000000):
EHT MCS/NSS: (0x):
EHT bw <= 80 MHz, max NSS for MCS 8-9: Rx=0, Tx=0
EHT bw <= 80 MHz, max NSS for MCS 10-11: Rx=0, Tx=0
EHT bw <= 80 MHz, max NSS for MCS 12-13: Rx=0, Tx=0
EHT bw=160 MHz, max NSS for MCS 8-9: Rx=0, Tx=0
EHT bw=160 MHz, max NSS for MCS 10-11: Rx=0, Tx=0
EHT bw=160 MHz, max NSS for MCS 12-13: Rx=0, Tx=0
HE Iftypes: AP
HE MAC Capabilities (0x000d9a181040):
+HTC HE Supported
TWT Responder
Dynamic BA Fragementation Level: 1
BSR
Broadcast TWT
OM Control
Maximum A-MPDU Length Exponent: 3
RX Control Frame to MultiBSS
A-MSDU in A-MPDU
OM Control UL MU Data Disable RX
HE PHY Capabilities: (0x1c604c88ffdb839c110c00):
HE40/HE80/5GHz
HE160/5GHz
HE160/HE80+80/5GHz
LDPC Coding in Payload
HE SU PPDU with 1x HE-LTF and 0.8us GI
STBC Tx <= 80MHz
STBC Rx <= 80MHz
Full Bandwidth UL MU-MIMO
DCM Max Constellation Rx: 1
SU Beamformer
SU Beamformee
MU Beamformer
Beamformee STS <= 80Mhz: 7
Beamformee STS > 80Mhz: 7
Sounding Dimensions <= 80Mhz: 3
Sounding Dimensions > 80Mhz: 3
Ng = 16 SU Feedback
Ng = 16 MU Feedback
Codebook Size SU Feedback
Codebook Size MU Feedback
PPE Threshold Present
HE SU PPDU & HE PPDU 4x HE-LTF 0.8us GI
Max NC: 3
STBC Rx > 80MHz
HE ER SU PPDU 4x HE-LTF 0.8us GI
HE ER SU PPDU 1x HE-LTF 0.8us GI
TX 1024-QAM
RX 1024-QAM
HE RX MCS and NSS set <= 80 MHz
1 streams: MCS 0-11
2 streams: MCS 0-11
3 streams: MCS 0-11
4 streams: MCS 0-11
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
HE TX MCS and NSS set <= 80 MHz
1 streams: MCS 0-11
2 streams: MCS 0-11
3 streams: MCS 0-11
4 streams: MCS 0-11
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
HE RX MCS and NSS set 160 MHz
1 streams: MCS 0-11
2 streams: MCS 0-11
3 streams: MCS 0-11
4 streams: MCS 0-11
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
HE TX MCS and NSS set 160 MHz
1 streams: MCS 0-11
2 streams: MCS 0-11
3 streams: MCS 0-11
4 streams: MCS 0-11
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
EHT Iftypes: AP
EHT MAC Capabilities (0x0000):
EHT PHY Capabilities: (0x0000000000000000):
EHT MCS/NSS: (0x):
EHT bw <= 80 MHz, max NSS for MCS 8-9: Rx=0, Tx=0
EHT bw <= 80 MHz, max NSS for MCS 10-11: Rx=0, Tx=0
EHT bw <= 80 MHz, max NSS for MCS 12-13: Rx=0, Tx=0
EHT bw=160 MHz, max NSS for MCS 8-9: Rx=0, Tx=0
EHT bw=160 MHz, max NSS for MCS 10-11: Rx=0, Tx=0
EHT bw=160 MHz, max NSS for MCS 12-13: Rx=0, Tx=0
HE Iftypes: mesh point
HE MAC Capabilities (0x00098a081040):
+HTC HE Supported
Dynamic BA Fragementation Level: 1
BSR
OM Control
Maximum A-MPDU Length Exponent: 1
RX Control Frame to MultiBSS
A-MSDU in A-MPDU
OM Control UL MU Data Disable RX
HE PHY Capabilities: (0x1c600c80fd5b811c100000):
HE40/HE80/5GHz
HE160/5GHz
HE160/HE80+80/5GHz
LDPC Coding in Payload
HE SU PPDU with 1x HE-LTF and 0.8us GI
STBC Tx <= 80MHz
STBC Rx <= 80MHz
SU Beamformer
SU Beamformee
Beamformee STS <= 80Mhz: 7
Beamformee STS > 80Mhz: 7
Sounding Dimensions <= 80Mhz: 3
Sounding Dimensions > 80Mhz: 3
Ng = 16 SU Feedback
Codebook Size SU Feedback
PPE Threshold Present
HE SU PPDU & HE PPDU 4x HE-LTF 0.8us GI
Max NC: 3
HE ER SU PPDU 1x HE-LTF 0.8us GI
HE RX MCS and NSS set <= 80 MHz
1 streams: MCS 0-11
2 streams: MCS 0-11
3 streams: MCS 0-11
4 streams: MCS 0-11
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
HE TX MCS and NSS set <= 80 MHz
1 streams: MCS 0-11
2 streams: MCS 0-11
3 streams: MCS 0-11
4 streams: MCS 0-11
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
HE RX MCS and NSS set 160 MHz
1 streams: MCS 0-11
2 streams: MCS 0-11
3 streams: MCS 0-11
4 streams: MCS 0-11
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
HE TX MCS and NSS set 160 MHz
1 streams: MCS 0-11
2 streams: MCS 0-11
3 streams: MCS 0-11
4 streams: MCS 0-11
5 streams: not supported
6 streams: not supported
7 streams: not supported
8 streams: not supported
EHT Iftypes: mesh point
EHT MAC Capabilities (0x0000):
EHT PHY Capabilities: (0x0000000000000000):
EHT MCS/NSS: (0x):
EHT bw <= 80 MHz, max NSS for MCS 8-9: Rx=0, Tx=0
EHT bw <= 80 MHz, max NSS for MCS 10-11: Rx=0, Tx=0
EHT bw <= 80 MHz, max NSS for MCS 12-13: Rx=0, Tx=0
EHT bw=160 MHz, max NSS for MCS 8-9: Rx=0, Tx=0
EHT bw=160 MHz, max NSS for MCS 10-11: Rx=0, Tx=0
EHT bw=160 MHz, max NSS for MCS 12-13: Rx=0, Tx=0
Frequencies:
* 5955 MHz [1] (disabled)
* 5975 MHz [5] (disabled)
* 5995 MHz [9] (disabled)
* 6015 MHz [13] (disabled)
* 6035 MHz [17] (disabled)
* 6055 MHz [21] (disabled)
* 6075 MHz [25] (disabled)
* 6095 MHz [29] (disabled)
* 6115 MHz [33] (23.0 dBm)
* 6135 MHz [37] (23.0 dBm)
* 6155 MHz [41] (23.0 dBm)
* 6175 MHz [45] (23.0 dBm)
* 6195 MHz [49] (23.0 dBm)
* 6215 MHz [53] (23.0 dBm)
* 6235 MHz [57] (23.0 dBm)
* 6255 MHz [61] (23.0 dBm)
* 6275 MHz [65] (23.0 dBm)
* 6295 MHz [69] (23.0 dBm)
* 6315 MHz [73] (23.0 dBm)
* 6335 MHz [77] (23.0 dBm)
* 6355 MHz [81] (23.0 dBm)
* 6375 MHz [85] (23.0 dBm)
* 6395 MHz [89] (23.0 dBm)
* 6415 MHz [93] (23.0 dBm)
* 6435 MHz [97] (disabled)
* 6455 MHz [101] (disabled)
* 6475 MHz [105] (disabled)
* 6495 MHz [109] (disabled)
* 6515 MHz [113] (disabled)
* 6535 MHz [117] (disabled)
* 6555 MHz [121] (disabled)
* 6575 MHz [125] (disabled)
* 6595 MHz [129] (disabled)
* 6615 MHz [133] (disabled)
* 6635 MHz [137] (disabled)
* 6655 MHz [141] (disabled)
* 6675 MHz [145] (disabled)
* 6695 MHz [149] (disabled)
* 6715 MHz [153] (disabled)
* 6735 MHz [157] (disabled)
* 6755 MHz [161] (disabled)
* 6775 MHz [165] (disabled)
* 6795 MHz [169] (disabled)
* 6815 MHz [173] (disabled)
* 6835 MHz [177] (disabled)
* 6855 MHz [181] (disabled)
* 6875 MHz [185] (disabled)
* 6895 MHz [189] (disabled)
* 6915 MHz [193] (disabled)
* 6935 MHz [197] (disabled)
* 6955 MHz [201] (disabled)
* 6975 MHz [205] (disabled)
* 6995 MHz [209] (disabled)
* 7015 MHz [213] (disabled)
* 7035 MHz [217] (disabled)
* 7055 MHz [221] (disabled)
* 7075 MHz [225] (disabled)
* 7095 MHz [229] (disabled)
* 7115 MHz [233] (disabled)
* 5935 MHz [2] (disabled)
valid interface combinations:
* #{ managed } <= 1, #{ AP, mesh point } <= 16,
total <= 16, #channels <= 1, STA/AP BI must match, radar detect widths: { 20 MHz (no HT), 20 MHz, 40 MHz, 80 MHz, 80+80 MHz, 160 MHz }
HT Capability overrides:
* MCS: ff ff ff ff ff ff ff ff ff ff
* maximum A-MSDU length
* supported channel width
* short GI for 40 MHz
* max A-MPDU length exponent
* min MPDU start spacing
max # scan plans: 1
max scan plan interval: -1
max scan plan iterations: 0
Maximum associated stations in AP mode: 128
Supported extended features:
* [ RRM ]: RRM
* [ SET_SCAN_DWELL ]: scan dwell setting
* [ FILS_STA ]: STA FILS (Fast Initial Link Setup)
* [ CQM_RSSI_LIST ]: multiple CQM_RSSI_THOLD records
* [ CONTROL_PORT_OVER_NL80211 ]: control port over nl80211
* [ ACK_SIGNAL_SUPPORT ]: ack signal level support
* [ TXQS ]: FQ-CoDel-enabled intermediate TXQs
* [ ENABLE_FTM_RESPONDER ]: enable FTM (Fine Time Measurement) responder
* [ STA_TX_PWR ]: TX power control per station
* [ CONTROL_PORT_NO_PREAUTH ]: disable pre-auth over nl80211 control port support
* [ SCAN_FREQ_KHZ ]: scan on kHz frequency support
* [ CONTROL_PORT_OVER_NL80211_TX_STATUS ]: tx status for nl80211 control port support
* [ FILS_DISCOVERY ]: FILS discovery frame transmission support
* [ UNSOL_BCAST_PROBE_RESP ]: unsolicated broadcast probe response transmission support
* [ BSS_COLOR ]: BSS coloring support
root@OpenWrt3:~# iwinfo phy2 info
phy2 ESSID: unknown
Access Point: 78:67:0E:31:D5:03
Mode: Master Channel: 33 (6.115 GHz) HT Mode: HE160
Center Channel 1: 47 2: unknown
Tx-Power: 20 dBm Link Quality: unknown/70
Signal: unknown Noise: unknown
Bit Rate: unknown
Encryption: unknown
Type: nl80211 HW Mode(s): 802.11ax
Hardware: 17CB:1104 17CB:1104 [Qualcomm Atheros QCN6024/9024/9074]
TX power offset: none
Frequency offset: none
Supports VAPs: yes PHY name: phy2
Well, my daily driver, a Framework Laptop 13 AMD Ryzen, runs Mediatek MT7922, but I really do have and regularly test any and all available vendor's chipsets be it Broadcom (now Infineon and Synaptics), Intel, Mediatek, NXP, Qualcomm or Realtek (;-p). So I also do have various Intel AX (or even BE for that matter) cards. What exactly is it that you would be looking for?
Thanks @sumo. Now I have progress. My 6G radio works, but my client (Intel AX210) was unable to find the network on channel 33. After switching to the PSC channel 37 (https://www.arubanetworks.com/techdocs/ArubaOS_8.9.0_Web_Help/Content/arubaos-solutions/6ghz-radio/6ghz-conf-para.htm#Vldchnlnumpsc) I managed to connect.
The same client on Windows 11 is unable to find the network.
Good.
Not sure what exactly Windows does. I stopped using M$ stuff more than 15 years ago. However, even on Linux that Intel AX card will only ever connect to 6 GHz if it receives a correctly configured beacon from an AP with correct country code and such on a frequency that is actually allowed. Maybe the Windows driver/firmware does have a different configuration in that respect.
Intel adapters use LAR feature: Intel AX200 on OpenWrt 21.02.1: no suitable firmware found - #6 by Malvineous
However, this does not prevent you from connecting to AP with a different country code.
Sure, that is not what I meant. I am just saying that if the Intel driver/firmware does not like something about country code and/or frequency whether that is from the configuration or the beacons it is listening in on, it might just not work. So it's basically perfect, perfect crap if you ask me. But then other vendors are not much better...
rebased latest