Executing scripts in Linksys Telnet session

Discussion in 'HyperWRT Firmware' started by jeff1132, Nov 27, 2004.

  1. jeff1132

    jeff1132 Network Guru Member

    I used wget to ftp some shell scripts to try to save typing...but they won't execute. Here's a screenshot of my telnet session, if someone could point me at my error....scripts are in /tmp dir.

    # ls -la ww*.sh
    -rwxr-xr-x 1 0 0 120 Nov 27 08:58 ww2.sh
    -rwxr-xr-x 1 0 0 156 Nov 27 08:52 ww1.sh
    #
    # cat ww2.sh
    #!/bin/sh
    /usr/sbin/iptables -R INPUT 7 -j logdrop
    /usr/sbin/iptables -R INPUT 1 -j logdrop -m state --state INVALID
    #
    # /tmp/ww2.sh
    /tmp/ww2.sh: not found
     
  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