Web interface

From DD-WRT Wiki

Revision as of 22:24, 24 March 2006 by 63.238.104.227 (Talk)
Jump to: navigation, search

You are here: Main Page/DD-WRT Docu (EN)/Web Interface

This is an infant wiki! Please help by fixing formatting and adding content!

Contents

Introduction

The easiest way to configure your WRT54G with DD-WRT installed is through the web interface. This provides an experience more like configuring a desktop application. :-). Also, this may look a bit different from other web applications you have seen in the past.

The current standard interface of v23
The current standard interface of v23

Accessing

  • Open a web browser
  • In the location bar, enter <Router_IP>
  • Hit Enter/Return or click Go
  • There is no username to enter
  • Enter the password for your router.

By default, <Router_IP> is 192.168.1.1
Default username is left blank however use root (so username and pwd can be saved to browser [or use firefox, cause it doesn't care])
Default password is 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.

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 (Klick 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 default, 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.


You are here: Main Page/DD-WRT Docu (EN)/Web Interface