OpenWrt Forum Archive

Topic: Webif is blank

The content of this topic has been archived on 10 Apr 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Just installed WhiteRussian RC6 on my WRT54G 2.2, no problems and telnet/ssh/dhcpd/etc up and running. Can connect to the web server, the index.html redirects to /cgi-bin/webif.sh, but the page then served is blank! (webif.sh in turn is set to exec ./webif/info.sh). I have not tampered with any settings (yet), so this seems to be default. (yet I've found nothing in doc/faq/forum, www.x-wrt.org is down)

Any ideas?

make sure it isn't your browser cache fault ...

Not a cache problem. Same problem after clearing firefox cache. And IE actually gives an error: "Cannot connect to server"! I think it has to do with the httpd on OpenWRT, here is why...

Had a look at what's happening using Ethereal and Charles (HTTP debug proxy). Client connects to openwrt ok, sends request, receives HTTP/200 OK and data (seems like it sends everything, can see the </html> in the data), but it seems like the server terminates the connection afterwards in a way that the client does not accept (Charles gives a "RemoteServerClosedConnectionException"). So this leads me to think this is about the httpd and the way it terminates connections? Maybe some setting in httpd conf file?

Anyone?

Grrr.. really annoying

The same problem exists with thttpd. Lighttpd displays the pages ok, but can not run as root and thus the updating (requiring root privs to run nvram) fails with the error message "/bin/sh: nvram: not found", and there does not seem to be a workaround.

Anyone???

I am having the same problem with my WRT54G!

the as a separate ticket dealing with the openwrt wiki not the webif

The discussion might have continued from here.