1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

HTTPD no longer starting

Discussion in 'Tomato Firmware' started by dakiato, Mar 27, 2011.

  1. dakiato

    dakiato Networkin' Nut Member


    I am running Tomato on a WRT54G and I believe I have done something very stupid. Whilst setting up the ports to run the HTTPD on (Via the web interface) I accidentally set both http and ssh to port 6112 (Usually they are 6112 and 6113). Now the httpd no longer starts, but sshd does. I have sshed into the router but cannot seem to find the config file that tells it what port to start on.

    Also, attempting to start /usr/sbin/httpd -p 6113 causes the web interface to start, but whenever it is accessed I get an Error 500 Unkown - Read Error.

    Could someone tell me where the config file is to fix this?

    Thanks in advance.
  2. TexasFlood

    TexasFlood Network Guru Member

    Maybe if you disabled sshd startup and rebooted the router, httpd would start normally & allow you in to reconfigure as needed? So you might try like below, enabling telnet as a backup access just in case.
    nvram set sshd_eas=0
    nvram set telnetd_eas=1
    nvram commit
  3. dakiato

    dakiato Networkin' Nut Member

    Thank you sir. Your advice worked perfectly and was much appreciated.
  4. TT76

    TT76 Networkin' Nut Member

    Or you can setup http port following below.

    nvram set http_lanport=80
    nvram commit
  5. TexasFlood

    TexasFlood Network Guru Member

    Good point, maybe a couple of ways it can be approached.
    And perhaps https_lanport=443 depending on what's been tweaked.

Share This Page