tldr: firstboot reports "jffs2reset: writing /dev/ubi0_1 failed: Operation not permitted" in failsafe
on MI R3G. What should I try next?
I have a fresh mi r3g router which I've been struggling with. Including: wiring up a serial cable, buying a usb adaptor, finding a driver for Mojave, setting up a tftp server, etc. etc
I now have open wrt booting on the router, but it doesn't appear to bring up any interfaces.
Well in failsafe it claims to have brought up eth0, but I can't ping it.
So in failsafe I tried to do firstboot
and that complains, as show below.
Any suggestions?
...
-----------------------------------------------------
OpenWrt SNAPSHOT, r8958-8c485fb
-----------------------------------------------------
================= FAILSAFE MODE active ================
special commands:
* firstboot reset settings to factory defaults
* mount_root mount root-partition with config files
after mount_root:
* passwd change root's password
* /etc/config directory with config files
for more help see:
https://openwrt.org/docs/guide-user/troubleshooting/
- failsafe_and_factory_reset
- root_password_reset
=======================================================
root@(none):/# mount
/dev/root on / type squashfs (ro,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,noatime)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,noatime)
tmpfs on /dev type tmpfs (rw,nosuid,noatime,size=512k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,noatime,mode=600,ptmxmode=000)
tmpfs on /tmp type tmpfs (rw,nosuid,nodev,noatime)
root@(none):/# firstboot
[ 32.530266] jffs2reset: This will erase all settings and remove any installed packages. Are you sure? [N/y]
y
[ 34.958257] jffs2reset: /dev/ubi0_1 is not mounted
[ 34.963187] jffs2reset: /dev/ubi0_1 will be erased on next mount
[ 34.969244] jffs2reset: writing /dev/ubi0_1 failed: Operation not permitted
root@(none):/#