Run a www command on tomato?

Discussion in 'Tomato Firmware' started by rajil_s, Nov 22, 2008.

  1. rajil_s

    rajil_s Addicted to LI Member

    i have a remote PAP2 running behind a tomato firmware based WRT54GL. Sometimes, the PAP2 is not able to connect to the asterisk server. At those time i have to issue a in a browser to reboot the PAP2.

    Unfortunately, tomato doesnt have a browser so i usually do an ssh into the remote WRT54GL, do a port 80 forward to my local machine and use my own machines browser. I was wondering if i can issue directly from the command line interface of tomato?

    I think netcat should be able to do it, but that package is not installed on tomato.

    any ideas?
  2. astehn

    astehn LI Guru Member

    I'm fairly new at this, so I'm not sure this will work in your situation because I'm not sure about how things are handled by your web interface. But here's the command that I bet you could issue from the command line in Tomato to do what you want:

    wget - q http://user:password@

    For your case, you would just substitute your actual user name and your actual password and give it a shot!
  3. rajil_s

    rajil_s Addicted to LI Member

    Thanks wget seems to work ok.
  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