Reboot not working

|---|---|
|Model|Xiaomi Mi Router 3G|
|Architecture|MediaTek MT7621 ver:1 eco:3|
|Target Platform|ramips/mt7621|
|Firmware Version|OpenWrt 23.05.3 r23809-234f1a2efa / LuCI openwrt-23.05 branch git-24.086.45142-09d5a38|

reboot in terminal and clicking the reboot button in LuCi does not reboot the device

can someone help please.

thank you

Lets see if the reboot command is installed, from the command prompt (SSH):

which reboot
ls -la $(which reboot)

reboot is usually a busybox applet

Edit: if there is no reboot command then this could work:
echo b > /proc/sysrq-trigger

ls -la $(which reboot)
lrwxrwxrwx 1 root root 14 Mar 23 02:09 /sbin/reboot -> ../bin/busybox

The reboot command is installed, so no idea why it is not working.

You can try echo b > /proc/sysrq-trigger to see if that reboots but there seems something off in your build.

Can you show
ubus call system board

{
"kernel": "5.15.150",
"hostname": "WhiteMulti",
"system": "MediaTek MT7621 ver:1 eco:3",
"model": "Xiaomi Mi Router 3G",
"board_name": "xiaomi,mi-router-3g",
"rootfs_type": "squashfs",
"release": {
"distribution": "OpenWrt",
"version": "23.05.3",
"revision": "r23809-234f1a2efa",
"target": "ramips/mt7621",
"description": "OpenWrt 23.05.3 r23809-234f1a2efa"
}
}

It looks like there are multiple versions did you check if you have used the correct image:
https://openwrt.org/toh/xiaomi/mir3g

only 1 image for the model in use, the other one is v2

v1 is 128 nand flash

good image

1 Like

Sometimes, a reboot can end up stalled as a function of a running process.

For example, if iPerf3 is running as a server, it will prevent reboot from working. The solution is to make it a daemon, as shown in this thread.

Have you installed/started any services such as iPerf or similar?

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.