Reset OpenWrt configuration if firstboot fails
These commands are used for resetting a router that runs OpenWRT router in the failsafe mode. To get into failsafe mode, hold down the reset button for several seconds during power on, set your computer's static address to 192.168.1.2/24 and telnet to 192.168.1.1 to enter the commands. You'll lose all your configs.
mount_root mtd -r erase rootfs_data reboot -f