Open tomo0611 opened 4 years ago
luci has some bug, i can't fix it because i don't have rax40 rename NETGEAR_RAX40-squashfs-fullimage.signed to NETGEAR_RAX40-squashfs-fullimage.img then flash it on web
You don't have RAX40, but why could you develop this repository? 🤔
luci has some bug. For example? If the bug is only luci web interface crashes I have no problem (because I use ssh for settings.)
To build the image, just follow the instrduction of prplwrt?
./scripts/gen_config.py intel_mips prpl webui luci debug
cd package/feeds/luci
ln -sf ../../../feeds/luci/collections/luci ./
make
Luci problem was that mod-cgi does not exist. To fix the problem, I used nginx-ssl.
Another problem happend. It is that I can't up wireless.
A lot of networks that is unkown.
Removed a lot, but it doesn't seem to work
[ 1316.372675] [0000101638] mtlk0(clean_up_after_this_scan:587): wlan0: Setting channel: 2412 to normal
[ 1316.384902] [0000101639] mtlk0(_mtlk_coc_set_antennas:346): CID-0007: CoC power mode changed from TX2xRX2 to TX2xRX2
[ 1316.394018] [0000101640] mtlk0(scan_timeout_func:1059): wlan0: Scan done: res=0
[ 1316.407816] [0000101641] mtlkE(_wave_coc_check_antenna_params:1215): CID-0007: Wrong CoC power mode TX4xRX4
[ 1316.481883] [0000101649] mtlk0(_wv_ieee80211_op_config:1469): phy2: Channel config change. band=2Ghz, freq=2462, center_freq1=2462, center_freq2=0, is_scan_running=0, orig_channel=2412, width=20
[ 1316.502351] [0000101651] mtlk0(_mtlk_coc_set_antennas:346): CID-0007: CoC power mode changed from TX2xRX2 to TX2xRX2
[ 1316.511527] [0000101652] mtlk0(_wv_ieee80211_op_start_ap:4911): wlan0: start_ap
[ 1316.518849] IPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
[ 1316.525357] br-lan: port 5(wlan0) entered blocking state
[ 1316.530404] br-lan: port 5(wlan0) entered forwarding state
[ 1316.537789] [0000101654] mtlk0(mtlk_core_set_net_state:729): wlan0: Going from NET_STATE_ACTIVATING to NET_STATE_CONNECTED
[ 1316.642089] [0000101665] mtlk0(_mtlk_core_set_interfdet_do_params:6923): CID-0007: Interference detection is activated
[ 1316.810465] [0000101682] mtlkW(_rcvry_process_mac_fatal:2659): CID-00: MAC event: From FW_CORE2: MAC fatal error: [GroupID: 10, FileID: 2, Line: 771], TS 0x4c936123
[ 1316.823763] [0000101683] mtlkE(_rcvry_process_mac_fatal:2668): CID-00: APP_FATAL
[ 1316.831104] [0000101684] mtlkE(_rcvry_process_mac_fatal:2671): uCoreNum = 0x00000002 (2)
[ 1316.839236] [0000101684] mtlkE(_rcvry_process_mac_fatal:2671): uTimeStamp = 0x4C936123 (1284727075)
[ 1316.848378] [0000101685] mtlkE(_rcvry_process_mac_fatal:2671): uCauseRegOrLineNum = 0x00000303 (771)
[ 1316.857571] [0000101686] mtlkE(_rcvry_process_mac_fatal:2671): uStatusReg = 0x5872DFE4 (1483923428)
[ 1316.866692] [0000101687] mtlkE(_rcvry_process_mac_fatal:2671): uEpcReg = 0x210602C4 (554042052)
[ 1316.875450] [0000101688] mtlkE(_rcvry_process_mac_fatal:2671): FileId = 0x00000002 (2)
[ 1316.883442] [0000101689] mtlkE(_rcvry_process_mac_fatal:2671): GroupId = 0x0000000A (10)
[ 1316.891599] [0000101690] mtlkE(_rcvry_process_mac_fatal:2671): OriginId = 0x00000001 (1)
[ 1316.899745] [0000101690] mtlkE(_rcvry_process_mac_fatal:2671): FWinterface = 0x00000000 (0)
[ 1316.908186] [0000101691] mtlkE(_rcvry_process_mac_fatal:2671): uFirstFreePdOffset = 0x00000000 (0)
[ 1316.921972] DC DP [xrx500_dcmode0_return_bufs:1766] cbm buffer returned = 0/0
[ 1316.927699] [0000101693] mtlk0(__rcvry_task_initiate_print:2046): CID-0007: FAST Recovery initiated
[ 1317.043203] [0000101705] mtlkW(_mtlk_pcieg6_ccr_print_irq_regs:560): Gen6 IRQ regs: MAC_GEN_REGS.host_irq_mask=00000000, host_irq_status=00000010
[ 1317.137471] [0000101714] mtlkW(_rcvry_process_mac_hang:2627): CID-00: MAC Hang detected, event=6
[ 1317.146234] [0000101715] mtlkW(_rcvry_process_mac_hang:2630): CID-00: FW CPU#2 hang detected
[ 1317.154807] [0000101716] mtlkW(_txm_msg_timed_out:8928): CID-00: Resetting FW because of message timeout. Message ID is 0x421
[ 1317.165981] [0000101717] mtlkW(_txm_msg_timed_out:8930): bds.ind.idx:9, bds.req.idx:10
[ 1317.165981]
[ 1317.175325] [0000101718] mtlkW(_mtlk_pcieg6_ccr_print_irq_regs:558): Gen6 pas=f8000000
[ 1317.175325]
[ 1317.184690] [0000101719] mtlkW(_mtlk_pcieg6_ccr_print_irq_regs:560): Gen6 IRQ regs: MAC_GEN_REGS.host_irq_mask=0000003F, host_irq_status=00000000
[ 1317.197723] [0000101720] mtlkW(_mtlk_pcieg6_ccr_print_irq_regs:562): SOC_REGS.pcie_msi_intr_enable_mask=00000000, SOC_REGS.legacy_int=00000001, SOC_REGS.pcie_msi_intr_mode=00000000
[ 1317.213954] [0000101722] mtlkW(_mtlk_pcieg6_ccr_print_irq_regs:564): PCIE_CFG_REGS.msi_capability=001A0546, MAC_GEN_REGS.phi_interrupt_clear=00000000
[ 1317.344939] [0000101735] mtlkE(_mtlk_txmm_err_print_err_sent_que:298): Unconfirmed messages:
[ 1317.353363] [0000101736] mtlkE(_mtlk_txmm_err_print_que_block:293): MSG: id = 0x0421, size = 68
[ 1317.362132] [0000101737] mtlkE(mtlk_core_set_bss:2456): CID-0007: UM_BSS_SET_BSS_REQ send failed, res=-4 status=0
[ 1317.372383] [0000101738] mtlkE(_mtlk_core_change_bss:11270): _mtlk_core_change_bss failed
[ 1317.380585] [0000101739] mtlk0(wave_hw_mmb_wait_umac_assert_evt:13594): CID-00: FW Assert Indication received from UMAC
[ 1318.645058] [0000101865] mtlk0(_mtlk_pcieg6_reset_mac:798): Reset WLAN SOC: address is 0x00270004, value=0x00000001
[ 1318.819996] [0000101883] mtlk0(_mtlk_mmb_cleanup_reset_mac:5650): TELEMETRY: CID-00: FW CPU reset is done
[ 1318.828119] [0000101883] mtlk0(mtlk_df_user_group_uninit:10428): wlan0: no registered multicast callback
[ 1318.837654] [0000101884] mtlk0(_mtlk_df_user_priv_subxface_stop:1577): wlan0: Unregister DirectConnect subinterface (port_id=7, vap_id=7)
[ 1318.849956] DC DP [dc_dp_register_subif:375] owner=c168f8a0, dev=7df11000, subif_id=7c7fa310, flags=0x00000001
[ 1318.859932] DC DP [xrx500_dcmode0_register_subif:1523] dev_ctx=c0a5f4bc, owner=c168f8a0, dev=7df11000, subif_id=7c7fa310, flags=0x00000001
[ 1318.872447] DC DP [xrx500_dcmode0_register_subif:1576] Success, returned 0.
[ 1318.879276] DC DP [dc_dp_register_subif:435] Success, returned 0.
[ 1318.885417] [0000101889] mtlk0(_mtlk_df_user_priv_subxface_stop:1600): wlan0: DirectConnect subinterface is unregistered
[ 1318.898159] [0000101890] mtlk0(mtlk_df_user_group_uninit:10428): wlan2: no registered multicast callback
[ 1318.907605] [0000101891] mtlk0(_mtlk_df_user_priv_subxface_stop:1577): wlan2: Unregister DirectConnect subinterface
[ 1319.017562] DC DP [xrx500_restore_tmu_queuemap:948] Restoring Qmap - port_id=7, tmu_port=4.
[ 1319.025821] [cbm] { dp_q_enable : 3845 } q_buff_num: 1
[ 1319.030918] [cbm] { dp_q_enable : 3853 }###restore only####
[ 1319.036779] [cbm] { dp_q_enable : 3886 }enable 1 remap -1
[ 1319.042188] DC DP [xrx500_dcmode0_register_subif:1576] Success, returned 0.
[ 1319.048777] DC DP [dc_dp_register_subif:435] Success, returned 0.
[ 1319.054925] [0000101906] mtlk0(_mtlk_df_user_priv_subxface_stop:1600): wlan2: DirectConnect subinterface is unregistered (port_id=16, vap_id=7)
[ 1319.067814] [0000101907] mtlk0(mtlk_df_dcdp_datapath_dev_unregister:11142): Deregistering network device wlan2 from DirectConnect...
[ 1319.079621] DC DP [dc_dp_register_dev:245] owner=c168f8a0, port_id=16, dev=7c484000, datapathcb=c168b4e0, resources= (null), devspec=7c758ecc, flags=0x00000001
[ 1319.093947] DC DP [xrx500_dcmode0_register_dev_ex:1364] dev_ctx=c0a5f7d0, owner=c168f8a0, port_id=16, dev=7c484000, datapathcb=c168b4e0, resources= (null), dev_spec=7c758ecc, flags=0x00000001
[ 1319.111040] DC DP [xrx500_dcmode0_register_dev_ex:1402] Success, returned 0.
[ 1319.118039] DC DP [dc_dp_register_dev:316] Success, returned status=0.
[ 1319.124586] [0000101913] mtlk0(mtlk_df_dcdp_datapath_dev_unregister:11152): Deregistering network device wlan0 from DirectConnect...
[ 1319.136472] DC DP [dc_dp_register_dev:245] owner=c168f8a0, port_id=7, dev=7df11000, datapathcb=c168b4e0, resources= (null), devspec=7c758ea4, flags=0x00000001
[ 1319.150711] DC DP [xrx500_dcmode0_register_dev_ex:1364] dev_ctx=c0a5f4bc, owner=c168f8a0, port_id=7, dev=7df11000, datapathcb=c168b4e0, resources= (null), dev_spec=7c758ea4, flags=0x00000001
[ 1319.167746] DC DP [xrx500_dcmode0_register_dev_ex:1388] De-configuring DMA1-Tx channel 0x1000007.
[ 1319.177016] DC DP [xrx500_free_ring_buffers:647] De-allocating 1024 DMA1-Tx buffer pools.
[ 1319.185579] DC DP [xrx500_free_ring_buffers:657] De-allocating 1024 buffer lists.
[ 1319.192658] DC DP [xrx500_dcmode0_register_dev_ex:1402] Success, returned 0.
[ 1319.199206] DC DP [dc_dp_register_dev:316] Success, returned status=0.
[ 1320.065219] [0000102007] mtlk0(mtlk_df_dcdp_datapath_dev_register:11488): Registering network device wlan2 in DirectConnect...
[ 1320.076615] DC DP [dc_dp_register_dev:245] owner=c168f8a0, port_id=16, dev=7c484000, datapathcb=c168b4e0, resources=7c758fc0, devspec=7c758ecc, flags=0x00021000
[ 1320.090937] DC DP [xrx500_dcmode0_register_dev_ex:1364] dev_ctx= (null), owner=c168f8a0, port_id=16, dev=7c484000, datapathcb=c168b4e0, resources=7c758fc0, dev_spec=7c758ecc, flags=0x00021000
[ 1320.108052] DC DP [dc_dp_register_dev:361] Returned 0.
[ 1320.113205] [0000102012] mtlk0(mtlk_df_dcdp_datapath_dev_register:11530): DirectConnect accel type:2, ring type:2 --> FastPath
[ 1320.124525] [0000102013] mtlk0(mtlk_df_dcdp_datapath_dev_register:11572): Network device wlan0 registered in DirectConnect
[ 1320.135541] [0000102014] mtlk0(mtlk_df_dcdp_datapath_dev_register:11574): Network device wlan2 registered in DirectConnect
[ 1320.148694] [0000102015] mtlk0(_mtlk_mmb_data_path_init:8420): card_idx:0, DP_port_id:7, dataPathPort:7
[ 1320.156708] [0000102016] mtlk0(_mtlk_mmb_data_path_init:8439): DCDP: setup HW_MODE0 rings
[ 1320.164817] [0000102017] mtlk0(_mtlk_mmb_data_path_init:8563): wlan0: Initializing data path (card_idx:0, rtlog max_nof_streams:1, logger_sid:127)
[ 1320.178337] [0000102018] mtlk0(_mtlk_df_user_priv_subxface_start:1520): wlan0: Register DirectConnect subinterface (port_id=7, vap_id=7)
[ 1320.190192] DC DP [dc_dp_register_subif:375] owner=c168f8a0, dev=7df11000, subif_id=7c7fa310, flags=0x00000000
[ 1320.200145] DC DP [xrx500_dcmode0_register_subif:1523] dev_ctx=c0a5f4bc, owner=c168f8a0, dev=7df11000, subif_id=7c7fa310, flags=0x00000000
[ 1320.242056] DC DP [dc_dp_register_subif:470] Success, returned 0.
[ 1320.248127] [0000102025] mtlk0(_mtlk_df_user_priv_subxface_start:1537): wlan0: DirectConnect subinterface is registered (port_id=7, vap_id=7)
[ 1320.261426] [0000102027] mtlkW(mtlk_df_user_group_init:10375): wlan0: multicast recovery final phase
[ 1320.269939] [0000102028] mtlkW(mtlk_df_user_group_init:10380): wlan0: can't register multicast callback. Internal manager will be used
[ 1320.282005] [0000102029] mtlk0(_mtlk_df_user_priv_subxface_start:1520): wlan2: Register DirectConnect subinterface (port_id=16, vap_id=7)
[ 1320.294324] DC DP [dc_dp_register_subif:375] owner=c168f8a0, dev=7c484000, subif_id=7c7ffb10, flags=0x00000000
[ 1320.304314] DC DP [xrx500_dcmode0_register_subif:1523] dev_ctx=c0a5f7d0, owner=c168f8a0, dev=7c484000, subif_id=7c7ffb10, flags=0x00000000
[ 1320.316780] DC DP [xrx500_dcmode0_register_subif:1651] Returned 0.
[ 1320.322894] DC DP [dc_dp_register_subif:470] Success, returned 0.
[ 1320.328945] [0000102033] mtlk0(_mtlk_df_user_priv_subxface_start:1537): wlan2: DirectConnect subinterface is registered (port_id=16, vap_id=7)
[ 1320.341769] [0000102035] mtlkW(mtlk_df_user_group_init:10375): wlan2: multicast recovery final phase
[ 1320.350838] [0000102036] mtlkW(mtlk_df_user_group_init:10380): wlan2: can't register multicast callback. Internal manager will be used
[ 1320.374089] [0000102038] mtlk0(mtlk_core_set_net_state:729): wlan0: Going from NET_STATE_HALTED to NET_STATE_READY
[ 1320.393736] [0000102040] mtlk0(mtlk_core_set_net_state:729): wlan2: Going from NET_STATE_HALTED to NET_STATE_READY
[ 1320.414151] [0000102042] mtlk0(wave_radio_calibrate:3840): Processing RadioID 0
[ 1320.421453] [0000102043] mtlk0(_mtlk_df_fw_request_firmware:43): Request Firmware ('ProgModel_gen6_Common.bin') is starting
[ 1320.433181] [0000102044] mtlk0(_mtlk_df_fw_request_firmware:43): Request Firmware ('ProgModel_gen6_Ant_Tx.bin') is starting
[ 1320.443979] [0000102045] mtlk0(_mtlk_df_fw_request_firmware:43): Request Firmware ('ProgModel_gen6_Ant_Rx.bin') is starting
[ 1320.458979] [0000102046] mtlk0(prepare_progmodel_string:4351): CID-0007: ProgModel: ProgModel_gen6_Common.bin version 1907181351
[ 1320.458979]
[ 1320.473494] [0000102048] mtlk0(mtlk_hw_send_cal_rfic_data:12906): RFIC calibration data missing
[ 1320.481157] [0000102049] mtlk0(_wave_radio_hdk_config_send:3316): band=1, offline_algo_mask=0xffffffff, online_algo_mask=0xffffffff
[ 1320.492685] [0000102050] mtlkE(_wave_radio_hdk_config_send:3342): dump of HDK_CONFIG_REQ
[ 1320.500653] [0000102051] mtlkE(_wave_radio_hdk_config_send:3342): cp= 0x7c0dc63c l=28
[ 1320.508431] [0000102051] mtlkE(_wave_radio_hdk_config_send:3342): 0000: 00 00 e8 27 00 00 00 00 02 02 00 06 00 00 01 00
[ 1320.519397] [0000102052] mtlkE(_wave_radio_hdk_config_send:3342): 0010: ff ff ff ff ff ff ff ff 00 00 00 00
[ 1320.536907] [0000102054] mtlk0(wave_radio_calibrate:3853): Pre-calibration for RadioID 0 succeeded
[ 1320.544449] [0000102055] mtlk0(wave_radio_calibrate:3840): Processing RadioID 1
[ 1320.551793] [0000102056] mtlk0(_mtlk_df_fw_request_firmware:43): Request Firmware ('ProgModel_gen6_Common.bin') is starting
[ 1320.587862] [0000102059] mtlk0(_mtlk_df_fw_request_firmware:43): Request Firmware ('ProgModel_gen6_Ant_Tx.bin') is starting
[ 1320.597916] [0000102060] mtlk0(_mtlk_df_fw_request_firmware:43): Request Firmware ('ProgModel_gen6_Ant_Rx.bin') is starting
[ 1320.613346] [0000102062] mtlk0(prepare_progmodel_string:4351): CID-0007: ProgModel: ProgModel_gen6_Common.bin version 1907181351
[ 1320.613346]
[ 1320.627208] [0000102063] mtlk0(mtlk_hw_send_cal_rfic_data:12906): RFIC calibration data missing
[ 1320.634904] [0000102064] mtlk0(_wave_radio_hdk_config_send:3316): band=0, offline_algo_mask=0xffffffff, online_algo_mask=0xffffffff
[ 1320.646316] [0000102065] mtlkE(_wave_radio_hdk_config_send:3342): dump of HDK_CONFIG_REQ
[ 1320.654414] [0000102066] mtlkE(_wave_radio_hdk_config_send:3342): cp= 0x7c0dc63c l=28
[ 1320.662166] [0000102067] mtlkE(_wave_radio_hdk_config_send:3342): 0000: 00 00 e8 27 00 00 00 00 02 02 00 06 00 00 00 00
[ 1320.673099] [0000102068] mtlkE(_wave_radio_hdk_config_send:3342): 0010: ff ff ff ff ff ff ff ff 00 00 00 00
[ 1320.690538] [0000102070] mtlk0(wave_radio_calibrate:3853): Pre-calibration for RadioID 1 succeeded
[ 1320.698479] [0000102070] mtlkW(_mtlk_core_set_he_mu_operation:4933): disabled
[ 1320.708931] [0000102071] mtlk0(mtlk_core_set_net_state:729): wlan0: Going from NET_STATE_READY to NET_STATE_ACTIVATING
[ 1320.718264] [0000102072] mtlk0(mtlk_mbss_send_vap_activate:2248): CID-0007: UMI_ADD_VAP, BSSID 78:D2:94:E7:FC:F5
[ 1320.792504] [0000102080] mtlk0(_mtlk_coc_set_antennas:346): CID-0007: CoC power mode changed from TX2xRX2 to TX2xRX2
[ 1320.805980] [0000102081] mtlk0(mtlk_core_set_net_state:729): wlan0: Going from NET_STATE_ACTIVATING to NET_STATE_CONNECTED
[ 1320.817926] [0000102082] mtlk0(_mtlk_core_set_radio_mode_req:4772): CID-0007:EnableRadio FW request: Set 1 mode
[ 1320.830058] [0000102084] mtlk0(_mtlk_coc_set_antennas:346): CID-0007: CoC power mode changed from TX2xRX2 to TX2xRX2
[ 1320.843226] [0000102085] mtlkW(_mtlk_core_set_he_mu_operation:4933): disabled
stock(OEM) rom -> wlan0&2: multicast callback registered
prpl -> wlan0&2: can't register multicast callback. Internal manager will be used
RFIC calibration data missing is the same from OEM's to Prplwrt.
So I can conclude that registering multicast callback correctly is required for wifi working.
Umm The result was the same....
I want to know what is multicast callback and how to registere multicast callback to the wifi devices
我也有一台RAX40,买坑了😥也是找不到固件,官方固件太难用呢,而且发热极其严重(貌似和k3c)是同款处理器
I have some question.
Question
Why I want OpenWRT supporting RAX40
I'm looking for OpenWRT which supports Netgear RAX40.
Bad Points of stock firmware
Because the router's DHCP is slow for my devices, especially for my iPhone SE 2nd Gen.
As the secound reason is that the router seems to have some vulnerabilities. (It uses Linux version 3.10.108 and OpenWRT 15.05, that's too old!!)
The last reason is that the router monitors my traffic even if I did not turn on the access control feature.
Official does not support it
However the official one does not support it.
Reached at your repository
Finally I found this repository which seems to support Netgear RAX40.
My Environment
I have Windows 10 PC and Ubuntu Server 20.04.
I have telnet and ssh(dropbear) access for this router with using iptables on serial (uart).
wave_components.ver
Downloaded from