Put your router in failsafe mode:
Set your PC ip: 192.168.1.2 and subnetmask 255.255.255.0 and gateway 192.168.1.1 (computer may need to restart)
Power off the router
Disconnect the WAN cable
Only connect your PC Ethernet cable to ETH0
Power On the router
Wait for the router to start the boot sequence (SYS LED starts blinking)
When SYS LED is blinking, hit restart button (SYS LED will be blink in a faster rate means your router is in failsafe Mode) (you have to hit the button before the router boots)(you may need to press the restart button twice to enter failsafe mode)
-----
'Factory reset' to default config
Enter console commands:
(You may need to activate Telnet on Windows)
# telnet 192.168.1.1
(wait for the OpenWrt BusyBox front page indicating "FAILSAFE MODE active)
=== IMPORTANT ============================
Use 'passwd' to set your login password
this will disable telnet and enable SSH
------------------------------------------
BusyBox v1.19.4 (2013-03-14 11:28:31 UTC) built-in shell (ash)
Enter 'help' for a list of built-in commands.
_______ ________ __
| |.-----.-----.-----.| | | |.----.| |_
| - || _ | -__| || | | || _|| _|
|_______|| __|_____|__|__||________||__| |____|
|__| W I R E L E S S F R E E D O M
-----------------------------------------------------
ATTITUDE ADJUSTMENT (12.09, r36088)
-----------------------------------------------------
* 1/4 oz Vodka Pour all ingredients into mixing
* 1/4 oz Gin tin with ice, strain into glass.
* 1/4 oz Amaretto
* 1/4 oz Triple sec
* 1/4 oz Peach schnapps
* 1/4 oz Sour mix
* 1 splash Cranberry juice
-----------------------------------------------------
root@(none):/#
# mount_root (to mount the JFFS2 partition)
# firstboot
# rm -r /overlay/* (or /overlay/upper/* on some routers)
# mtd -r erase rootfs_data (this will reboot the device as part of the process)
-----------
Once your router restart go to address: 192.168.1.1 in your browser
That's it.
No comments:
Post a Comment