They do, however, reboot every 8 hours on my devices on a schedule.
user@hostname:~# crontab -l
# * * * * * command to execute
# | | | | |
# | | | | ----- Day of week (0 - 6) (Sunday =0)
# | | | ------- Month (1 - 12)
# | | --------- Day (1 - 31)
# | ----------- Hour (0 - 23)
# | ----------- Minute (0 - 59)
# Reboot every day at 04:11
# Note: To avoid infinite reboot loop, do not reboot sooner than
# 15 minutes after the last reboot.
11 4,12,20 * * * if [ ! $(find /etc/preventRebootLoop -mmin -15) ]; then touch /etc/preventRebootLoop && reboot; fi
# crontab must end on newline or comment
These run two 6ccdf91 and one 456cbdf releases from robimarko's repo (the last one I'm not even sure is actually true, but it works,so far).
This crontab entry will not prevent random OOM reboots. In my observations the clock on these devices can be very far off before they get network connection to sync with ntp.
There is one page in the wiki with a proposition that deals with this potential problem: OpenWrt will apparently (on boot) reset the clock to the most recent entry in /etc/ before it has any network connections (i.e. ntp).
If you do this in crontab, it might help: * * * * * touch /etc/banner
The file "/etc/banner" should exist on all OpenWRT devices, if you "touch" it every minute, it should change it's "last modified" time to the current timestamp.
If you try this and it helps, please let me know. If it doesn't please let me know, too.
I have just signed in this forum to thank your information!
I bought the AX3600 because i read about the TX power, however, after permanent SSH activation and change the power to 1000 mW (30 dBm) i didn't notice very change... But it's ok.
But when i saw that port forwarding was not working, i thought in send the router back to Amazon.
But i tried your "ifconfig br-lan promisc" in the /etc/rc.local, after reboot, port forwarding was not working, BUT i just activated " Smart QoS bandwidth allocation" and VOILA!! working!!
Yup, in stock firmware you should set the bandwidth in QOS and then ifconfig to make the port forwarding work the stock firmware so stupid but in my case, I just have to set ifconfig in rc.local then reboot the router and don’t need to active QOsS. Did you reboot the router after set ifconfig?
Yes! I reboot the router after set ifconfig, but port forwarding was still not working, so, i tried to activate the QoS just to try, and WORKS!
As i said, i bought this router thinking that it as gonna cover all my house (2 story house) but at the higher one, the signal is very poor, so i'll use another router to repeat the signal.
After compilation done I have transferred to the AX3600 the ubi file generated under : openwrt/build_dir/target-aarch64_cortex-a53_musl/linux-ipq807x_generic/tmp/openwrt-ipq807x-generic-xiaomi_ax3600-squashfs-nand-factory.ubi
Launched these commands :
nvram get flag_boot_rootfs --> returned me "0" ubiformat /dev/mtd13 -f /tmp/openwrt-ipq807x-generic-xiaomi_ax3600-squashfs-nand-factory.ubi -s 2048 -O 2048 nvram set flag_last_success=1 nvram set flag_boot_rootfs=1 nvram commit reboot
Second time I tried to flash I have added these two commands found in a Youtube video but not better : nvram set uart_en=1 nvram set boot_wait=on
After that I have no link on all ports, unique solution is to do a TFTP recovery and come back to sotkc firmware...
Hi!
This is not the OpenWrt thread, you may want to read this post where I wrote the 3 packages I needed to add to fix my connectivity issues.
I'm just a newbie too, but there we can read all what's being discussed and tested.
Also you can try Robimarko's pre compiled builds, if you don't need specific packages:
I have succesfully installed the Robimarko's release given by @cjom and everything work well. Bye bye ISP router
No I have one more "problem". I want to install and configure wireguard but when I try to install the luci-app-wireguard package, it says that a dependency package is missing (kmod-wireguard).
I have tried directly through SSH but same result.
I have searched over internet and the forum and i have found that wireguard is now included in the kernel. Is there any other way to configure wireguard ?
Did you change to "ipq807x-5.15" branch with command "git checkout ipq807x-5.15" ?
If yes and still not automatically selected, you can go to kernel modules section and select that file.
I also had to add this"kmod-qca-nss-dp" and from other sections (firmware, utilities?):
"nss-firmware-ipq8074", and "qca-ssdk-shell"
If you need to install additional kernel modules (such as wireguard), you will have to build your own firmware from source. The CI generated images are very vanilla, only defaults + luci, anything beyond that needs to be compiled in addition (pure userspace packages tend to work, but kernel modules don't, they must match the running kernel exactly).