The router’s default IP is 192.168.1.1. To easily access the router, I first added an alias with the IP of the router’s subnet:
# ifconfig eth0:0 192.168.1.2
# route
Kernel IP routing table
Destination Gateway Genmask Flags Metric Ref Use Iface
192.168.1.0 * 255.255.255.0 U 0 0 0 eth0
192.168.0.0 * 255.255.255.0 U 0 0 0 eth0
# ping 192.168.1.1
PING wrt (192.168.1.1) 56(84) bytes of data.
64 bytes from wrt (192.168.1.1): icmp_seq=1 ttl=64 time=0.345 ms
64 bytes from wrt (192.168.1.1): icmp_seq=2 ttl=64 time=0.933 ms
^C
# nc -z -v 192.168.1.1 80
wrt [192.168.1.1] 80 (http) open
Now it’s eays to connect the router’s web interface and change it’s IP as needed.
If you have chinese firmware, then use this menu entry to upload new firmware:
More information you’ll find on the OpenWRT pages: Flashing
Comments are closed, but trackbacks and pingbacks are open.