<html>
<head>
<style><!--
.hmmessage P
{
margin:0px;
padding:0px
}
body.hmmessage
{
font-size: 12pt;
font-family:Calibri
}
--></style></head>
<body class='hmmessage'><div dir='ltr'>Hello,<div><br></div><div>I am presently upgrading my servers. The old ones are running Suse 10.1 and I am upgrading to the most recent Debian.</div><div><br></div><div>Oh, and I am not an IT guy rather a hacker who loves Linux and seems to enjoy getting myself confused.</div><div><br></div><div>Presently I am trying to get the Nut running and am having problems. </div><div><br></div><div>I have the master server working but it does not inform the slave server to shut down.</div><div><br></div><div>For the most part I borrowed the settings from my present servers (the ones running Suse 10.1). </div><div><br></div><div>Below is the setup (all references are from the Nut perspective) and when I supply low batter/AC the master server shuts down but the client server does not.</div><div><br></div><div>Keep in mind I copied the parameters from my existing server (master 192.168.0.3, clien 192.168.0.4) which has been running fine for years (although I remember many head banging times getting that to run at the time).</div><div><br></div><div>My new server IP's are:</div><div><span style="line-height: 16px; font-size: 12pt;"> 192.168.0.7 is the master</span></div><div><span style="line-height: 16px;"> 192.168.0.6 is the client</span></div><div><br></div><div><span style="line-height: 16px;"><br></span></div><div><span style="line-height: 16px; font-size: 12pt;">Thank you for any help - Steve</span></div><div><br></div><div><br></div><div>
<p style="margin-bottom: 0cm; line-height: 100%"><b>On the Master
Server I have:</b></p>
<p style="margin-bottom: 0cm; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0cm; line-height: 100%">nut.conf</p>
<p style="margin-bottom: 0cm; line-height: 100%"> MODE=netserver</p>
<p style="margin-bottom: 0cm; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0cm; line-height: 100%">ups.conf</p>
<p style="margin-bottom: 0cm; line-height: 100%"> [sdrups]</p>
<p style="margin-bottom: 0cm; line-height: 100%"> driver =
genericups</p>
<p style="margin-bottom: 0cm; line-height: 100%"> port = /dev/ttyS1</p>
<p style="margin-bottom: 0cm; line-height: 100%"> desc = "For
Server & Backup"</p>
<p style="margin-bottom: 0cm; line-height: 100%"> upstype=9</p>
<p style="margin-bottom: 0cm; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0cm; line-height: 100%">upsd.conf</p>
<p style="margin-bottom: 0cm; line-height: 100%"> ACL all 0.0.0.0/0</p>
<p style="margin-bottom: 0cm; line-height: 100%"> ACL localhost
127.0.0.1/255.255.255.0</p>
<p style="margin-bottom: 0cm; line-height: 100%"> ACL server
192.168.0.6/255.255.255.0</p>
<p style="margin-bottom: 0cm; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0cm; line-height: 100%"> ACCEPT localhost</p>
<p style="margin-bottom: 0cm; line-height: 100%"> ACCEPT server</p>
<p style="margin-bottom: 0cm; line-height: 100%"> REJECT all</p>
<p style="margin-bottom: 0cm; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0cm; line-height: 100%">upsd.users</p>
<p style="margin-bottom: 0cm; line-height: 100%"> [root]</p>
<p style="margin-bottom: 0cm; line-height: 100%"> password =
autocadba2</p>
<p style="margin-bottom: 0cm; line-height: 100%"> upsmon master</p>
<p style="margin-bottom: 0cm; line-height: 100%"> instcmds = ALL</p>
<p style="margin-bottom: 0cm; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0cm; line-height: 100%"><b>On the Client
Server I have:</b></p>
<p style="margin-bottom: 0cm; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0cm; line-height: 100%">nut.conf</p>
<p style="margin-bottom: 0cm; line-height: 100%"> MODE=netserver</p>
<p style="margin-bottom: 0cm; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0cm; line-height: 100%">ups.conf</p>
<p style="margin-bottom: 0cm; line-height: 100%"> [sdrups]</p>
<p style="margin-bottom: 0cm; line-height: 100%"> driver =
genericups</p>
<p style="margin-bottom: 0cm; line-height: 100%"> port = /dev/ttyS1</p>
<p style="margin-bottom: 0cm; line-height: 100%"> desc = "For
Server & Backup"</p>
<p style="margin-bottom: 0cm; line-height: 100%"> upstype=9</p>
<p style="margin-bottom: 0cm; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0cm; line-height: 100%">upsd.conf</p>
<p style="margin-bottom: 0cm; line-height: 100%"> ACL all 0.0.0.0/0</p>
<p style="margin-bottom: 0cm; line-height: 100%"> ACL localhost
127.0.0.1/255.255.255.0</p>
<p style="margin-bottom: 0cm; line-height: 100%"> ACL backup
192.168.0.7/255.255.255.0</p>
<p style="margin-bottom: 0cm; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0cm; line-height: 100%"> ACCEPT localhost</p>
<p style="margin-bottom: 0cm; line-height: 100%"> ACCEPT backup</p>
<p style="margin-bottom: 0cm; line-height: 100%"> REJECT all</p>
<p style="margin-bottom: 0cm; line-height: 100%"><br>
</p>
<p style="margin-bottom: 0cm; line-height: 100%">upsd.users</p>
<p style="margin-bottom: 0cm; line-height: 100%"> [root]</p>
<p style="margin-bottom: 0cm; line-height: 100%"> password =
autocadba2</p>
<p style="margin-bottom: 0cm; line-height: 100%"> upsmon master</p>
<p style="margin-bottom: 0cm; line-height: 100%"> instcmds = ALL</p>
<p style="margin-bottom: 0cm; line-height: 100%"><br>
</p></div> </div></body>
</html>