So now that it is flashed, how do i set up the radios? How to I enable access from outside of the lan ports? I cannot access it from anything that has internet access and there is no wireless. I am completely lost here, I could really use some more direction.
I had some challenges figuring it out as this was my first time using OpenWRT. I found that if I followed the set up guides, using the SSH/UCI command line steps got me up and running, until I could get LuCI up (the web interface). Here's the link you're looking for: https://openwrt.org/docs/guide-quick-start/basic_wifi
I'm unable to install luci-proto-wireguard due to the following error:
"The installed version of package kernel is not compatible, require 6.6.47~57f181d0β¦-r1 while 6.6.43~7726768dβ¦-r1 is installed."
I'm also unable to perform sysupgrade with the error " Unsupported profile: linksys,mx4300".
I'm new to OpenWRT so forgive me if this is something obvious, or if I just need to be patient for the development process to be complete.
I got the provided 2540ea6 build working on an MX4300, but I then did an incredibly dumb thing where I did fw_setenv auto_recovery no which with the provided bootcmd does bootipq: bootcmd=if test $auto_recovery = no; then bootipq; elif test $boot_part = 1; then run bootpart1; else run bootpart2; fi.
How do I recover my device? It's not booting anymore, but I'm not exactly sure what bootipq is waiting for.
edit: I got out of my mess by just hooking up a serial console; the device boots into a console. then you can use setenv and saveenv to get yourself out of this mess. If somebody else runs into this situation here's my log of what gets output on the serial port before it dumps you into a prompt: https://pastebin.com/FhP0Vumf
Thanks, LuCI's been installed for a while and I got the radio on, but that was and is sort of the secondary problem to the main issue: I cannot access this from the "wan side" or access the "was side" from the "lan side" of the now-AP.
I'm not entirely new to OpenWRT and certianly not linux CLI, but the main and maddening frustration is not being able to access the internet and the device from the same machine. I solved this physically by putting a switch between the router and the AP, connecting the latter via a LAN port and then connecting my server to the switch. 192.168.1.120 gets routed to the AP and everything else gets routed to the internet.
What I've realized is that I need to post my own thread as that's really not the topic of this one.
The power adapter and Ethernet cable alone would run someone $15 if they badly needed it. I opened one of this up (since I had it bricked). And people talk about how good ASUS router are. But I was thoroughly impressed by this Linksys unit, the construction of the housing, the PCB, the passive cooling with all that metal for heat sink, and the Qualcomm SoC. Just the COGS (cost of goods) alone to build this thing together would be easily $15 let alone delivered for free if you Prime at the same price. TL;DR - you and I keep doing it because itβs a steal!
I made a mistake and flashed the wrong firmware to the MX4300. I still have the other partition working and can boot to it. Anyone know how to restore the stock firmware to the broken partition?
I've got two MX4300 units with Openwrt (thanks @lytr). I've been testing different wireless options and I notice that if I set either of the 5GHz bands to a width of 160MHz they don't work. Here's the system log once I change the bandwidth:
Tue Aug 27 09:19:01 2024 daemon.notice wpa_supplicant[1945]: Set new config for phy phy2
Tue Aug 27 09:19:01 2024 daemon.notice hostapd: Set new config for phy phy2: /var/run/hostapd-phy2.conf
Tue Aug 27 09:19:01 2024 daemon.notice hostapd: Restart interface for phy phy2
Tue Aug 27 09:19:01 2024 daemon.notice hostapd: Remove interface 'phy2'
Tue Aug 27 09:19:01 2024 daemon.notice hostapd: phy2-ap0: interface state ENABLED->DISABLED
Tue Aug 27 09:19:01 2024 daemon.notice hostapd: phy2-ap0: AP-DISABLED
Tue Aug 27 09:19:01 2024 daemon.notice hostapd: phy2-ap0: CTRL-EVENT-TERMINATING
Tue Aug 27 09:19:01 2024 daemon.err hostapd: rmdir[ctrl_interface=/var/run/hostapd]: Permission denied
Tue Aug 27 09:19:01 2024 daemon.notice hostapd: nl80211: deinit ifname=phy2-ap0 disabled_11b_rates=0
Tue Aug 27 09:19:01 2024 kern.info kernel: [10361.553084] ath11k c000000.wifi phy2-ap0: left allmulticast mode
Tue Aug 27 09:19:01 2024 kern.info kernel: [10361.553143] ath11k c000000.wifi phy2-ap0: left promiscuous mode
Tue Aug 27 09:19:01 2024 kern.info kernel: [10361.558276] br-lan: port 6(phy2-ap0) entered disabled state
Tue Aug 27 09:19:01 2024 daemon.notice netifd: Network device 'phy2-ap0' link is down
Tue Aug 27 09:19:01 2024 daemon.notice hostapd: Configuration file: data: driver=nl80211 logger_syslog=127 logger_syslog_level=2 logger_stdout=127 logger_stdout_level=2 hw_mode=a beacon_int=100 chanlist=173 tx_queue_data2_burst=2.0 #num_global_macaddr=1 ieee80211n=1 ht_coex=0 ht_capab=[HT40+][LDPC][SHORT-GI-20][SHORT-GI-40][TX-STBC][RX-STBC1][MAX-AMSDU-7935][DSSS_CCK-40] ieee80211ac=1 vht_oper_chwidth=2 vht_oper_centr_freq_seg0_idx=163 vht_capab=[RXLDPC][SHORT-GI-80][TX-STBC-2BY1][SU-BEAMFORMER][SU-BEAMFORMEE][MU-BEAMFORMER][MU-BEAMFORMEE][RX-ANTENNA-PATTERN][TX-ANTENNA-PATTERN][RX-STBC-1][SOUNDING-DIMENSION-4][BF-ANTENNA-4][MAX-MPDU-11454][MAX-A-MPDU-LEN-EXP7] ieee80211ax=1 he_oper_chwidth=2 he_oper_centr_freq_seg0_idx=163 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_edc
Tue Aug 27 09:19:01 2024 daemon.notice netifd: Wireless device 'radio2' is now up
Tue Aug 27 09:19:01 2024 kern.info kernel: [10361.894436] br-lan: port 6(phy2-ap0) entered blocking state
Tue Aug 27 09:19:01 2024 kern.info kernel: [10361.894479] br-lan: port 6(phy2-ap0) entered disabled state
Tue Aug 27 09:19:01 2024 kern.info kernel: [10361.898856] ath11k c000000.wifi phy2-ap0: entered allmulticast mode
Tue Aug 27 09:19:01 2024 kern.info kernel: [10361.904704] ath11k c000000.wifi phy2-ap0: entered promiscuous mode
Tue Aug 27 09:19:01 2024 kern.info kernel: [10361.910818] br-lan: port 6(phy2-ap0) entered blocking state
Tue Aug 27 09:19:01 2024 kern.info kernel: [10361.916895] br-lan: port 6(phy2-ap0) entered forwarding state
Tue Aug 27 09:19:01 2024 daemon.notice hostapd: phy2-ap0: interface state UNINITIALIZED->HT_SCAN
Tue Aug 27 09:19:02 2024 daemon.err hostapd: nl80211: kernel reports: (extension) channel is disabled
Tue Aug 27 09:19:02 2024 daemon.err hostapd: Could not set channel for kernel driver
Tue Aug 27 09:19:02 2024 daemon.err hostapd: Interface initialization failed
Tue Aug 27 09:19:02 2024 daemon.notice hostapd: phy2-ap0: interface state HT_SCAN->DISABLED
Tue Aug 27 09:19:02 2024 daemon.notice hostapd: phy2-ap0: AP-DISABLED
Tue Aug 27 09:19:02 2024 kern.info kernel: [10362.682467] br-lan: port 6(phy2-ap0) entered disabled state