no http GUI login--just ssh

Discussion in 'Tomato Firmware' started by ajnabi, Jun 24, 2009.

  1. ajnabi

    ajnabi Addicted to LI Member

    I have just upgraded to tomato from DD-wrt. I had no problem logging in via the http GUI while setting it up. I had only one ethernet cable connected to one of the 4 lan ports.

    Everything looked good,so I disconnected it from my laptop (the config machine) and reconnected it to the network.

    All the computers are working fine; laptops and desktops are connecting via DHCP and static IP. Everything is fine except I can't access the router except via ssh.

    Is there a way to check and set the GUI access settings via ssh?

    Here is a mapping of my open ports on the router.
    Code:
    $ nmap router
    
    Starting Nmap 4.53 ( http://insecure.org ) at 2009-06-24 18:23 EDT
    Interesting ports on router (192.168.0.1):
    Not shown: 1710 closed ports
    PORT     STATE SERVICE
    22/tcp   open  ssh
    53/tcp   open  domain
    443/tcp  open  https
    5000/tcp open  UPnP
    
    Nmap done: 1 IP address (1 host up) scanned in 9.496 seconds
    
    
    When logging into https://192.168.0.1/

    I get:
    Any insights helpful.

    Thanks,
    Frank
     
  2. Planiwa

    Planiwa Network Guru Member

    *** caution -- may make things worse ***


    Might try

    nvram find http

    take a look at the http variables.

    from LAN: telnet router 80

    (will get connection refused)

    in router, enable httpd (insecure):
    maybe kill old one(s) first:

    killall httpd
    httpd


    now retry telnet router 80 -- if no longer refused, try browser

    otherwise, try changing nvram variables ...

    e.g. enable http:

    nvram set http_enable=1
    should work without commit

    (and restart httpd again)

    things like that . . .

    worst case -- reset nvram and reconfigure
     
  3. ajnabi

    ajnabi Addicted to LI Member

    Yes!!!

    nvram find http

    and

    nvram set http_enable=1

    helped me to know how to use the command line in tomato. Of coures the help command helps too.

    Thanks!!!

    Here's what I did:

    # nvram find http
    NC_HomePage=http://www.dd-wrt.com
    bird_ospf=Please read the BIRD setup instructions at http://bird.network.cz/bird.html
    ddnsx0=noip<name@domail.calm:privatePassWord<somewhereOnNoIp.com<<<<
    http_client_ip=192.168.1.143
    http_client_mac=???????????
    http_enable=0
    http_id=TIDabfc872a50354d70
    http_lanport=80
    http_method=post
    http_passwd=privatePassWord
    http_redirect_destination=0.0.0.0
    http_redirect_enable=0
    http_redirect_port=3128
    http_source_network=0.0.0.0
    http_username=
    http_wanport=8080
    https_crt=
    https_crt_cn=
    https_crt_save=0
    https_enable=1
    https_lanport=443
    remote_mgt_https=1
    snmpd_conf=See http://www.net-snmp.org for expert snmpd.conf options
    wd_httpdcon=10
    wd_httpdname=WiFiDog
    wd_httpport=80

    # nvram set http_enable=1
    # nvram find http_enable=1
    http_enable=1

    # reboot && exit
     
  4. proofy

    proofy Networkin' Nut Member

    got the same problem and use now only http.
    got this error in /var/log/messages

    Code:
    Jan  1 01:32:30 repeater daemon.info httpd[504]: Generating SSL certificate...
    Jan  1 01:32:30 repeater authpriv.warn dropbear[502]: Failed reading '/etc/dropbear/dropbear_dss_host_key', disabling DSS
    Jan  1 01:32:30 repeater authpriv.info dropbear[508]: Running in background
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice