Hello,
I have a problem with my lap 120 router when i flashed on openwrt 23.5.0 r23497-6637af95aa. Every time I reboot it, it never saves my settings. And I can't flash the firmware and I can't even go back to the previous firmware. Is it a read only problem?
what is the output of the following:
ubus call system board
df -h
mount
"kernel": "5.15.134",
"hostname": "OpenWrt",
"system": "Atheros AR9342 rev 3",
"model": "Ubiquiti LiteAP ac (LAP-120)",
"board_name": "ubnt,lap-120",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "23.05.0",
"revision": "r23497-6637af95aa",
"target": "ath79/generic",
"description": "OpenWrt 23.05.0 r23497-6637af95aa"
}
}
root@OpenWrt:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 4.0M 4.0M 0 100% /rom
tmpfs 27.9M 68.0K 27.8M 0% /tmp
/dev/mtdblock5 9.3M 9.3M 0 100% /overlay
tmpfs 27.9M 68.0K 27.8M 0% /tmp/root
overlayfs:/tmp/root 27.9M 68.0K 27.8M 0% /
tmpfs 512.0K 0 512.0K 0% /dev
Your overlay is completely full. Did you install or upgrade any packages?
I can't install and delete anything or revert to stock firmware
I'm asking if you had done that in the past.
Try this:
mount -o remount,rw /
firstboot -y && reboot
root@OpenWrt:~# mount -o remount,rw /
root@OpenWrt:~# firstboot -y && reboot
/dev/mtdblock5 is mounted as /overlay, only erasing files
after i see this:
root@OpenWrt:~# df -h
Filesystem Size Used Available Use% Mounted on
/dev/root 4.0M 4.0M 0 100% /rom
tmpfs 27.9M 80.0K 27.8M 0% /tmp
/dev/mtdblock5 9.3M 9.3M 0 100% /overlay
tmpfs 27.9M 68.0K 27.8M 0% /tmp/root
overlayfs:/tmp/root 27.9M 68.0K 27.8M 0% /
tmpfs 512.0K 0 512.0K 0% /dev
try booting into failsafe mode and then issuing the firstboot command again.
Failsafe mode, factory reset, and recovery mode OpenWrt offers several ways to “start over” with your router: * Failsafe mode is useful if you have lost control of your device, and it has become inaccessible, perhaps through a configuration...
When I put the router in failsafe boot mode, I cannot access SSH. Can u help me pls? Thanks.
did you set your computer to a static IP? Did you get any specific errors?
Yes i set to 192.168.1.2 static ip with 255.255.255.0 ip mask sub
andy5656:
255.255.255.255
this should be 255.255.255.0
what happens if you ping 192.168.1.1?
it looks like you're pinging 192.168.1.2. Am I misreading that?
Because i set the router to static ip.
That is not your router... that is your computer.
Your router should have an address of 192.168.1.1.
Does that return pings?
ok... now try ssh to 192.168.1.1 (earlier it looks like you were using .2)