NASLite Network Attached Storage

www.serverelements.com
Task-specific simplicity with low hardware requirements.
It is currently Sat Jan 22, 2022 7:46 am

All times are UTC - 5 hours [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Sat May 28, 2005 3:50 pm 
Offline

Joined: Wed May 25, 2005 5:44 pm
Posts: 6
My question is, is it possible to write a script (not sure if this is the right term) to shut down the computer with NAS via my main computer through telnet?

I thought about something like a shortcute with an icon. That could be so nice (I guess)

Can anyone help? Thanks.


Top
 Profile  
 
 Post subject:
PostPosted: Mon May 30, 2005 5:30 am 
Offline

Joined: Tue Mar 29, 2005 12:56 pm
Posts: 15
TST10 is a freeware which accepts orders from a file.

PATH\TST10.exe /r:shutdown.txt /o:outpu.txt
shutdown.txt contains the orders
outpu.txt is the logfile

shutdown.txt contains
192.168.168.20 (IP of NASLite)
wait "login:"
send "admin\m"
wait "Password:"
send "****\m" (****=your password)
wait "Select: >"
send "8\m" (Option 8=Shutdown)
wait "Shutdown: [y/n] >"
send "y\m"
wait "test"

the last wait is only to keep the window open to see the shutdown message from NASLite


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 01, 2005 12:30 am 
Offline

Joined: Wed Feb 23, 2005 5:13 am
Posts: 52
Only thing I needed to change was that when entering ip address
enter as 192.168.xxx.xxx depending on your server but then have to add the port value in there as well so it total


192.168.0.9 23 <-- notice no colon just a space between the address and port number which is 23 for all NASLITE servers.


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC - 5 hours [ DST ]


Who is online

Users browsing this forum: No registered users and 3 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group