Openwrt: Difference between revisions

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


opkg install nmap
==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
==Links==
https://wiki.openwrt.org/toh/tp-link/tl-wdr3600
183
209


==Traffic Monitor==
==Traffic Monitor==

Revision as of 20:46, 1 July 2018

opkg install nmap


opkg install nmap

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

Links

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

183 209

Traffic Monitor

opkg install iftop

iftop -i br-lan

Links

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

183 209