Joined: 17 Aug 2006 Posts: 12 Location: United Kingdom
Posted: Sat Sep 09, 2006 22:45 Post subject: HTTP device admin not responding
Hi, today the HTTP administration on my router seemed to have stopped working completely...so I can't get onto the routers admin at all. I can still get into SSH fine and everything is still working ok, it's just the web admin which is ballsed.
It's a Linksys WRT54GL 1.1 running DD-WRT 23 SP1 standard I think. Is there any way I can check if the HTTPD is running on the router or something?
do you have the httpd process?
On which port did you enable web management? _________________ Regards
http://worldspot.net , the definitive hotspot management system.
Chillispot and DD-WRT compatible.
Joined: 17 Aug 2006 Posts: 12 Location: United Kingdom
Posted: Sun Sep 10, 2006 10:53 Post subject:
I haven't changed anything on there and the web administration was on the standard port...I tried to wget irssi onto the WRT earlier and the SSH session froze half way into extracting the gzip...that's when it stopped working.
Any solutions, eg can I fix it by doing the factory reset or do I have to reflash the firmware completely, because I could REALLY do without having to do that.
Edit: I'm guessing I fucked it when I tried to extract irssi, since the source is over 6mb...will I have to reflash the firmware over TFTP again?
Joined: 17 Jul 2006 Posts: 96 Location: Austin, Texas USA
Posted: Sun Sep 10, 2006 15:03 Post subject: Reflash?
If you had backed up your configuration I would reflash and then upgrade the firmware from your backup to what you had before this problem came to be. Shouldn't take to long..................... JMHO!
Joined: 17 Jul 2006 Posts: 96 Location: Austin, Texas USA
Posted: Sun Sep 10, 2006 15:15 Post subject:
Maybe one of the smarter folks will come around and know an easy fix. When I run into problems and if the 30 second reset can't get me back then I'll reflash while I can still communicate with the router.
Joined: 17 Aug 2006 Posts: 12 Location: United Kingdom
Posted: Sun Sep 10, 2006 15:26 Post subject:
Update: over ssh, I ran /usr/sbin/httpd and it apparently did something, as I can now get to the login prompt (enter root and the pass) but once I hit enter, I just got a white screen. I reckon I will need to reflash it, which is easy with TFTP.
use the startup script to do it automatically ( howto in the wiki and everywhere in the forum using the "search" button ) _________________ - WRT54gs v4 @ 225 Mhz - DD-WRT V24 vpn -
- SD/MMC Mod 128 MB - Serial port & JTAG -
- Diversity switch removed -
I just purchased a WRT54GL and encountered the exact same problem dog134 did. I've also TFTP'd the mini_wrt54g.bin to the router directly during CFE/PMON, and it made no difference.
The problem appears to be that httpd is segfaulting or crashing in some way.
After Linux loads, init scripts are started, and eventually httpd starts. Upon visiting port 80, you'll be prompted for a username/password. When entering the correct information, all you get is a blank page. That blank page consists the HTML DOCTYPE, the html and head start tags, and that's it. Yes, you read that correctly.
If using -h /www (which specifies a docroot directory for the webserver), works around the problem, then I'm left thinking this is a bug in DD-WRT SP2. I've quite a lot of experience with the WRT* series of routers (I've worked on the HyperWRT and Sveasoft firmwares providing code fixes), so it's definitely not "user error".