Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
rshambar opened this issue Mar 7, 2024 · 3 comments
Open

Comments

@rshambar
Copy link

rshambar commented Mar 7, 2024

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
Copy link
Contributor

samuel-w commented Mar 9, 2024

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> [email protected]:/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
Copy link
Author

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

@ShiromMakkad
Copy link

ShiromMakkad commented Mar 25, 2024

@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:

  • To select SNAPSHOT, click the dropdown with the version number
  • After the build, download the sysupgrade file (I hope this is right)

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants