Openwrt: Difference between revisions

From Futuragora Wiki
No edit summary
No edit summary
Line 1: Line 1:
opkg install nmap
opkg install nmap


==Failsafe mode==
==Failsafe mode==

Revision as of 00:37, 20 July 2018

Failsafe mode

1. Set your PC ip: 192.168.1.2 and subnetmask 255.255.255.0 and gateway 192.168.1.1

2. Power off the router

3. Disconnect the WAN cable

4. Only connect your PC Ethernet cable to ETH0

5. Power On the router

6. Wait for the router to start the boot sequence (SYS LED starts blinking)

7. 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)

8. telnet 192.168.1.1

9. run these commands

   mount_root ## this remounts your partitions from read-only to read/write mode
   firstboot  ## This will reset your router after reboot
   reboot -f ## And force reboot
   Login the web interface using web browser.


mount_root

uci set network.lan.proto=static uci set network.lan.ipaddr=192.168.1.10 uci set network.lan.netmask=255.255.255.0 uci set network.lan.gateway=192.168.1.1 uci set network.lan.dns=8.8.8.8

uci commit dhcp

Traffic Monitor

opkg install iftop

iftop -i br-lan

OpenVPN

https://wiki.openwrt.org/toh/tp-link/tl-wdr3600

183 209