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

Disable web interface of the routers by using ssh

Discussion in 'Tomato Firmware' started by Tippmann, Feb 20, 2012.

  1. Tippmann

    Tippmann Networkin' Nut Member

    Hi guys first of all i would like to thank you for everything this is a very nice project and so far is getting a lot of attention. Well i jast wanted to know if you guys can add a feature like "no web-management" on cisco devices and if it already has it please let me know hot to do it no just for my wireless netwok but for my lan network also. thank you in advance
     
  2. Monk E. Boy

    Monk E. Boy Network Guru Member

    After logging in...

    nvram set http_enable="0"
    nvram commit

    Note this will disable it until you so the same with "1" instead of "0".
     
  3. Tippmann

    Tippmann Networkin' Nut Member

    actually this worked a little bit better

    1. SSH to Tomato router
    2. nvram set remote_management=1
    3. nvram set action_service=admin-restart
    4. nvram commit
    5. kill -USR1 1
    This will restart all admin services WITHOUT rebooting your router, and will bring up the web-based management. To shut it down when you are done:

    1. SSH to Tomato router
    2. nvram set remote_management=0
    3. nvram set action_service=admin-restart
    4. nvram commit
    5. kill -USR1 1

    http://www.linksysinfo.org/index.php?threads/selectively-enabling-disabling-http-s-remote-admin.26479/
     
  4. Tippmann

    Tippmann Networkin' Nut Member

    thank you anyways
     
  5. Planiwa

    Planiwa LI Guru Member

Share This Page