I have purchased a BT Home Hub 5A router off eBay which is running LEDE v17.01.4. After the router had been rebooted I was no longer able to login to the UI using the default gateway IP in a web browser.
I am how ever, able to enter fail safe mode in putty via SSH but running the following commands does not reset my routers default settings it just retains my damaged config.
Can I re-flash my router from within fail safe mode?
The router only has the WiFi LED lit blue and the broadband LED is not lit up on the front of the router when its finished its boot sequence.
This is a screenshot of the routers /tmp folder. I have copy the firmware file which has the name lede-17.01.4-lantiq-xrx200-BTHOMEHUBV5A-squashfs-sysupgrade.bin.
The IP Address of the router is 192.168.1.1. The IP address of my local PC is 192.168.1.73.
Here is a screenshot of the SSH connection on the router. I first cd into the /tmp directory to show where the firmware is located.
In then ran the following command nc 192.168.1.1 3333 > /tmp/lede-17.01.4-lantiq-xrx200-BTHOMEHUBV5A-squashfs-sysupgrade.bin.
This didn't do anything. so I tried the windows method.
First I navigated to the downloads folder on my PC the I cd into the nc111nt folder were netcat is installed.
I then ran the command nc -l -p 3333 < lede-17.01.4-lantiq-xrx200-BTHOMEHUBV5A-squashfs-sysupgrade.bin
This didn't work also, what am I doing wrong here.
However, in WinSCP, it looks like you already have it copied to /tmp, so continue the OpenWRT instructions at the install firmware with current settings section.
You're not listening...the nc command is used to "copy" the firmware to the router.
The WinSCP screenshot you posted shows you have already done that...
The next command you should run is in the OpenWRT instructions settings section "install firmware with current settings". Scroll down to that location on the page.
root@(none):~# sysupgrade /tmp/lede-17.01.4-lantiq-xrx200-BTHOMEHUBV5A-squashfs-
sysupgrade.bin
Image metadata not found
Use sysupgrade -F to override this check when downgrading or flashing to vendor firmware
Image check 'fwtool_check_image' failed.
So the ran
root@(none):~# sysupgrade -F /tmp/lede-17.01.4-lantiq-xrx200-BTHOMEHUBV5A-squash
fs-sysupgrade.bin
Image metadata not found
Image check 'fwtool_check_image' failed but --force given - will update anyway!
Saving config files...
killall: watchdog: no process killed
Failed to connect to ubus