PDA

View Full Version : How does the Web Interface Work ?



WlanMan
10-11-2004, 21:44
Hi

How does the Web Config of the 1.8 Series Work ?
In the older ones i thought it was completely cgi-script driven. The newer ones use static html pages with form data that points to a cgi file which is not in the filesystem but is reachable, so it seems embedet in the httpd binary. Is this right ?
What is the "good way" to do no-cosmetical enhancements to the Web Interdace ?

Greets

Styno
11-11-2004, 08:51
Hi

How does the Web Config of the 1.8 Series Work ?
In the older ones i thought it was completely cgi-script driven. The newer ones use static html pages with form data that points to a cgi file which is not in the filesystem but is reachable, so it seems embedet in the httpd binary. Is this right ?
What is the "good way" to do no-cosmetical enhancements to the Web Interdace ?

Greets
Yes, the cgi scripts are in compiles into the binary (for security reasons I think).

There are thoughts about creating a custom webinterface, but nothing concrete AFAIK. Personally I would be delighted if a PHP enables webserver would be used, so the community can create its own (packetized) interface, like *kuch* openwrt *kuch*.

WlanMan
11-11-2004, 16:23
Hi

OpenWRT, hehe. I will try this sometime the next days. i Couldnīt find any note describing how to set up the basic pppoe after installation.

Personaly, i think it would be good to have a web-config and a commandline tool to do the same so it can be done all over ssh (more secure for Hotspots and such things). Maybe a meta-language can be used to create web and/or text interfaces automatic from the features avaliable.

Also, a common standart for software plugins should be designed, since we habe USB disks there is no need to handle flashfs like linksys. But all plugins to date have there own more or less wired way to bring them up and running.

Greets :)

Styno
11-11-2004, 16:38
You can try to recompile a PHP enabled webbrowser for WL-500g. Look at this link: http://wl500g.info/showthread.php?t=495&

With PHP there will be possibilities to configure extra packages and other administrative stuff. Using a special commandline tool is not nessesary, theres one good tool around allready. I'll give you some hints: One word, 2 characters, looks like the roman number 6. Have you guessed it yet? Thats right: vi :D

WlanMan
11-11-2004, 16:47
Very amusing, vi. The Tool that gets the *eek* in Leenux :cool:.
And since most things are still configured with nvram it doesnīt helps much.
My intention is to configure the Router completely over a secure connection, not letting anyone even having the posibility to do brute-force on the web interface.
P.s: Web Interface only accessible from Lan should be a feature for the next release, many other routers have it. All in mind for a captive portal on the wl500.


Greets

Styno
11-11-2004, 22:40
Hmm, normally the webinterface IS only reachable from LAN, if you wish to disable webinterface access from WLAN you can add a firewall rule to do so.

You can also configure the router to reach the webinterface using SSH, this way you have a secure channel and abillity to configure the router.

In my opinion, lots of things can be changed/configured without using nvram. Asus is also movin settings out from nvram to flash.