网页界面

From DD-WRT Wiki

Revision as of 09:57, 11 May 2007 by Roy (Talk | contribs)
Jump to: navigation, search

Contents

介绍

通过网页界面是配置安装了DD-WRT的WRT54G路由器是的最简单方法。网页配置的操作就像使用桌面应用程序一样方便。同时,这个配置界面可能和你以往所见的网页应用程序有点不同。

当前v23版的操作界面
当前v23版的操作界面


登陆

  • 开启网页浏览器
  • 在地址栏中输入<路由器IP地址>
  • 输入回车或者点击确认按钮
  • 无需输入用户名直接回车
  • 输入你的路由器的密码

默认情况下, <路由器IP地址> 为 192.168.1.1
默认的用户名为空或者使用root (这样用户名和密码可以被保存在浏览器中) [或者使用FireFox浏览器因为它无需用户名即可保存密码]. 备注: 在v23版本上需要使用用户名,默认为root
默认密码为 admin


Hint: if you're on a remote location with access to your router through telnet/ssh (e.g. by first logging in on a LAN server) and you want temporary web access from that location, you may use:

iptables -I INPUT -p tcp -s <remote_location_ip> --dport 80 -j ACCEPT

The webaccess will be secure again when the router reboots (unless you turned remote_administration on ofcourse ;)).


Regaining access

If for some reason you completely lose web access to the router (for example, at least in the official v23, you can't prevent wireless access to the web interface without also preventing wired access to it. I don't know if it's a bug or a feature but still, it's there), you can ssh into the router and start the web server by entering the following commands:
cd /www/
httpd
To connect through secure http, add the option -S at the end of the command. See the httpd man pages for more information about that command.

You can use this behavior to get a more secure router by activating the web interface only when you need to configure it, and then close the web server once you're done.
To close the web server, run the command " kill `cat /tmp/var/run/httpd.pid` " (note the backquotes) or " kill `cat /tmp/var/run/httpsd.pid` " if you ran the web server with the option -S to get secure http.

Interface Map (v23 SP1 Final)

  • Setup
    • Basic Setup
    • DDNS
    • MAC Address Clone
    • Advanced Routing
    • VLANs
  • Wireless
    • Basic Settings
    • RADIUS
    • Wireless Security
    • MAC Filter
    • Advanced Settings
    • WDS
  • Security
    • Firewall
    • VPN
  • Access Restrictions
    • Internet Access
  • Applications and Gaming
    • Port Range Forwarding
    • Port Forwarding
    • Port Triggering
    • UPnP
    • DMZ
    • QOS
  • Administration
    • Management
    • Hotspot
    • Services
    • Keep Alive
    • Log
    • Diagnostics
    • WOL
    • Factory Defaults
    • Firmware Upgrade
    • Backup
  • Status
    • Router
    • LAN
    • Wireless
    • Sys-Info

Simulation

The Old Alchemy interface of DD-WRT v22
The Old Alchemy interface of DD-WRT v22

A setup simulation of the old alchemy interface can be found here:


http://www.0711-stuttgart.de/192.168.1.23


This interface has been used in v22 and before, the new v23 and v24 interface has been completely redesigned and supports multiple languages and skins (take a look at the screenshot above)but you can still see the basic DD-WRT interface setup by viewing the simulation.


See a Site with Version DD-WRT V22finalR2 (Sorry about the Popup, the Webspace is for free) http://www.informatione.gmxhome.de/DDWRT/Standard/V22R2/index.html (Click on "GUI Setup").

DD-WRT V23final: http://www.informatione.gmxhome.de/DDWRT/Standard/V23final/index.html

(No Password needed)

Troubleshooting

If you forget your router's IP address or password you can press and hold the reset button on the back of the router for 5-30 seconds. This will reset all settings to their defaults, including the IP address and password. This will not unflash your router to the default firmware This will not work if Resetbuttond is set to disabled.

Make sure you are on the same subnet as your router. If your router is 192.168.1.1 and your computers IP address is 192.168.2.50 you may not be able to access the interface. Correct your computers IP address or reboot your computer.

Some pages may not refresh/update settings as expected when using Mozilla Firefox. Try using MSIE when having problems getting changes to stick, or when confronted with blank pages.