Page 1 of 1
[SOLVED] Reset WNDR4300 to default.
Posted: Wed Jan 02, 2019 3:41 pm
by CBx86
I made a mistake on network config and firewall, now i cant access my router.
I try 3 seconds reset nothing happens.
How i reset to default gargoyle?
Many Thanks!

Re: Reset WNDR4300 to default.
Posted: Wed Jan 02, 2019 4:11 pm
by Lantis
Failsafe reset
https://www.youtube.com/watch?v=_NqHpRHl8gQ
If you’re on 1.10 or later, use SSH instead of telnet
Re: Reset WNDR4300 to default.
Posted: Wed Jan 02, 2019 4:36 pm
by CBx86
Hi!
Does t work anymore.
I manage to get access to failsave using the backside reset button.
Anyway is unable to do firstboot:
Code: Select all
root@(none):~# mount_root
root@(none):~# firstboot
This will erase all settings and remove any installed packages. Are you sure? [N/y]
y
/dev/ubi0_1 is not mounted
/dev/ubi0_1 will be erased on next mount
writing /dev/ubi0_1 failed: Operation not permitted
/overlay is empty.
And nothing changes.
Also tried with jffs2reset.
Code: Select all
root@(none):~# ls /dev/
console mtd10 mtd4 mtd8ro mtdblock4 port ubi0_1
cpu_dma_latency mtd10ro mtd4ro mtd9 mtdblock5 ptmx ubi_ctrl
full mtd11 mtd5 mtd9ro mtdblock6 pts ubiblock0_0
kmsg mtd11ro mtd5ro mtdblock0 mtdblock7 random urandom
mem mtd1ro mtd6 mtdblock1 mtdblock8 shm watchdog
memory_bandwidth mtd2 mtd6ro mtdblock10 mtdblock9 tty zero
mtd0 mtd2ro mtd7 mtdblock11 network_latency ttyS0
mtd0ro mtd3 mtd7ro mtdblock2 network_throughput ubi0
mtd1 mtd3ro mtd8 mtdblock3 null ubi0_0
Thanks!
Re: Reset WNDR4300 to default.
Posted: Wed Jan 02, 2019 4:56 pm
by CBx86
Code: Select all
root@(none):~# df -h
Filesystem Size Used Available Use% Mounted on
rootfs 8.5M 8.5M 0 100% /
/dev/root 8.5M 8.5M 0 100% /
tmpfs 512.0K 0 512.0K 0% /dev
tmpfs 61.4M 24.0K 61.4M 0% /tmp
root@(none):~# mount_root
root@(none):~# df -h
Filesystem Size Used Available Use% Mounted on
rootfs 8.5M 8.5M 0 100% /
/dev/root 8.5M 8.5M 0 100% /
tmpfs 512.0K 0 512.0K 0% /dev
tmpfs 61.4M 24.0K 61.4M 0% /tmp
Re: Reset WNDR4300 to default.
Posted: Wed Jan 02, 2019 5:47 pm
by Lantis
Try sysupgrading to a new image from within the failsafe environment.
Re: Reset WNDR4300 to default.
Posted: Wed Jan 02, 2019 6:14 pm
by CBx86
How i do?
First time i need use failsafe environment.
Many thanks!
Re: Reset WNDR4300 to default.
Posted: Wed Jan 02, 2019 6:43 pm
by Lantis
You’ll need to use something like WinSCP to transfer the image into /tmp.
Then do something like
sysupgrade -n /tmp/name_of_image_file.img
Re: Reset WNDR4300 to default.
Posted: Wed Jan 02, 2019 6:56 pm
by CBx86
Fixed!
For knowledge base:
What i do:
All using wire:
PC: 192.168.1.2;
Mask: 255.255.255.0;
Gate: 192.168.1.1;
Cable on router;
Power on;
Power led on;
Press reset on bottom of router and keep pressed;
Led flash orange, keep pressing;
Led green, keep;
Led flash green you release reset button;
Ok.
Get your image file FACTORY. (I use Gargoyle Factory);
Rename the file for something simple eg: factory.img;
Now send a image file factory.img in BINARY using tftp;
Finish;
Router will reset;
Router like a new.
IZI
Many Thanks!
Re: Reset WNDR4300 to default.
Posted: Wed Jan 02, 2019 6:58 pm
by CBx86
Lantis wrote:You’ll need to use something like WinSCP to transfer the image into /tmp.
Then do something like
sysupgrade -n /tmp/name_of_image_file.img
I try a reflash. And works, Many thanks!
