PDA

Bekijk de volledige versie : Olegs 1.9.2.7-5 and shutdown with DBox



Fox_Green
21-05-2005, 14:05
I wanted to write a shutdown-script for the WlHdd.
However my instruction does not work:
wget -q ' http://admin:admin@192.168.178.5/apply.cgi?action_mode=halt '

What is wrong?

FoxG :confused:

demichve
29-04-2006, 07:24
Use telnet skript:


#!/bin/sh
#
# Quick & Dirty Telnet-Script
#
#
tpipe()
{
sleep 3
echo "admin" # Username
sleep 2
echo "xxxxx" # Password
sleep 3
echo "halt" # Command
sleep 2
echo "exit" # Logoff
sleep 2
}
tpipe|telnet 192.168.178.120 # Hostname or IP-address