dangowrt / owrt-ubi-installer

OpenWrt firmware installer for the Linksys E8450 aka. Belkin RT3200
GNU General Public License v2.0
395 stars 52 forks source link

Rookie installs debugging build by accident and cannot reverse it. #174

Open rshambar opened 8 months ago

rshambar commented 8 months ago

Hello, in an effort to flash my Belkin RT3200 (aka Linksys e8450) I accidentally use the 'v1.1.1: also build bl2 image for debugging issue', I flashed the '...recovery-installer.itb', then the '...squashfs-sysupgrade.itb'. I now cannot get to a UI and while I can SSH into the router I cannot seem to download or install an update to overwrite what I have flashed. Is there a path to re-flash this with the latest v1.0.3. I am very novice with the command line so any direction and support you could provide would be terrific, thanks!

samuel-w commented 8 months ago

Since you've flashed the 1.1.1 version, you can only use 24.xx snapshot builds of OpenWRT. Trying to downgrade will probably brick your router.

Go to https://firmware-selector.openwrt.org, select E8450 UBI and SNAPSHOT, click "Customize installed packages and/or first boot script" (add any packages you want here), and click REQUEST BUILD. This will create an image that includes the Luci web UI.

Copy the firmware to your router with scp (something like scp <name and location of file> root@192.168.1.1:/tmp/ from your computer) and flash it with sysupgrade /tmp/<name of file copied>.

Alternatively, you can run opkg update and opkg install luci through SSH to get the UI, but it might not work.

rshambar commented 8 months ago

Thanks for the help, you are right it wouldn't let me downgrade and the opkg failed to download.

ShiromMakkad commented 8 months ago

@samuel-w I'm in the same boat. I successfully followed your instructions, but I'm not seeing the webUI at 192.168.1.1. I did get internet restored to my PC though! I don't know what the SSID or password to get my other devices working for now.

Couple points for anyone else following your instructions:

Unlike rshambar, I didn't flash '...squashfs-sysupgrade.itb' before losing internet connection during the first flashing process. Not sure if that matters since your instructions seem like it's doing the same thing over ssh. If it helps, here are the packages that were in the build:

base-files busybox ca-bundle dnsmasq dropbear firewall4 fitblk fstools kmod-gpio-button-hotplug kmod-leds-gpio kmod-mt7622-firmware kmod-mt7915-firmware kmod-nft-offload kmod-usb3 libc libgcc libustream-mbedtls logd luci mtd netifd nftables odhcp6c odhcpd-ipv6only opkg ppp ppp-mod-pppoe procd procd-seccomp procd-ujail uboot-envtools uci uclient-fetch urandom-seed urngd wpad-basic-mbedtls

EDIT: Reinstalling luci and installing luci-ssl with opkg install luci-ssl and rebooting fixed the issue. Everything seems to be working. Thanks for the help!

Will I be able to update to a stable release down the line? If so, does will be a stable version of this repo or just the next stable OpenWRT version?