Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Down a Novell Netware fileserver remotely
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
be7a
n00b
n00b


Joined: 02 Sep 2004
Posts: 9

PostPosted: Sun Aug 14, 2005 5:51 pm    Post subject: Down a Novell Netware fileserver remotely Reply with quote

i got a netware 6.0 fileserver and want to shut it down with my linux-box in case of power-loss.
my ups reports the linux-server when the power is offline and the linux server has to stop the other computers. how to shutdown my novell-server?
Back to top
View user's profile Send private message
theneb
n00b
n00b


Joined: 07 Jan 2005
Posts: 38
Location: UK

PostPosted: Sun Aug 14, 2005 6:17 pm    Post subject: Reply with quote

Make an small script to login and shut em down.
Back to top
View user's profile Send private message
libtest
n00b
n00b


Joined: 17 Aug 2005
Posts: 1

PostPosted: Wed Aug 17, 2005 8:43 pm    Post subject: Reply with quote

You can check this:

http://forge.novell.com/modules/xfmod/project/?openssh

It should work Netware 6.0, although it is not officially supported. You can try something like:

ssh netware_server 'load shutdown.ncf'

shutdown.ncf should be:

clear station all
down

Never tried that, just an idea.
Back to top
View user's profile Send private message
be7a
n00b
n00b


Joined: 02 Sep 2004
Posts: 9

PostPosted: Sun Aug 21, 2005 3:14 pm    Post subject: Reply with quote

i did what you told me libtest but there is the same prob:
i have to use password authentication (openssh for novell netware doesnt support key-auth).
my script is:
Code:
ssh admin@192.168.0.2 <<**
mypw
down
**

but it doesnt work because the server promts for the password.
i thought it was ok to send the password within the script ("mypw") but it doesnt work ...

i also tryed to do:
Code:
ssh -f admin@192.168.0.2 down << mypw


i dont know how to automatically send my pw when the server promts for it :/
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
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 vote in polls in this forum