<?xml version="1.0" encoding="iso-8859-1"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
  "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<link rel="home" title="HomePage" href="HomePage.html" />
<link rel="help" title="HowToUseWiki" href="HowToUseWiki.html" />
<link rel="copyright" title="GNU General Public License" href="http://www.gnu.org/copyleft/gpl.html#SEC1" />
<link rel="author" title="The PhpWiki Programming Team" href="http://phpwiki.org/ThePhpWikiProgrammingTeam" />
<meta http-equiv="Content-Style-Type" content="text/css" />
<meta http-equiv="Content-Language" content="en" />
<meta name="robots" content="noindex,nofollow" />
<meta name="language" content="en" />
<meta name="document-type" content="Public" />
<meta name="document-rating" content="General" />
<meta name="generator" content="PhpWiki" />
<meta name="PHPWIKI_VERSION" content="1.3.14" />

<link rel="stylesheet" type="text/css" charset="iso-8859-1" href="phpwiki-printer.css" />
<title>PhpWiki - NUT ups module</title>
</head>
<body>

<div id="header">
  
<!-- Page title -->
<h1>NUT ups module</h1>
</div>
<div id="content">



<div class="wikitext"><h3>Back Up</h3>
<p class="tightenable top bottom">SME Versions Supported:<b> v  </b> - - Contribs.org <a href="Certification%20Process.html" class="named-wiki" title="Certification Process">certified</a> on:<b> NC </b></p>
<table class="wiki-dl-table" border="1" cellspacing="0" cellpadding="6"><tr class="tightenable top bottom"><th><i>Nav Bar</i></th>
<th><a href="Documentation.html" class="wiki">Documentation</a></th>
<th><a href="How-to%20Classification.html" class="wiki">How-to Classification</a></th>
<th><a href="Back%20Up.html" class="wiki">Back Up</a></th>
<td>NUT ups module</td>
</tr>
<tr class="tightenable top"><th><i>Comments</i></th>
<td colspan="4"><a href="NUT%20ups%20module%20Feedback.html" class="named-wiki" title="NUT ups module Feedback">Please add your comments about this How To</a> <br /></td>
</tr>
</table>
<p class="tightenable">Author(s):   <b> Duncan </b> <br />
Contributor(s):   <b></b> <br />
License: <b>Unknown</b> <br /></p>
<table class="wiki-dl-table" border="1" cellspacing="0" cellpadding="6"><tr class="tightenable bottom"><th>Created:</th>
<th><i>NA</i></th>
<th>Last updated:</th>
<td>31 Dec 2003</td>
</tr>
</table>
<p class="tightenable top bottom"><i>This wiki page has been prepared by Contribs Doc Team</i></p>
<hr />
<h3>About this How To</h3>
<p class="tightenable top"><b>Summary:</b> NUT ups module <br /></p>
<p class="tightenable"><b>Keywords:</b> NUT, ups, bestfortress, serial port <br /></p>
<p class="tightenable"><b>Tips:</b>   <br /></p>
<p class="tightenable"><b>Known Limitations and Caveats:</b>   <br /></p>
<p class="tightenable bottom"><b>Downloads:</b> <br /></p>
<hr />
<h3>How To</h3>
<p class="tightenable top">URL: <a href="http://forums.contribs.org/viewtopic.php?t=9337" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />NUT</span> ups module</a> <a href="http://forums.contribs.org/viewtopic.php?t=9337" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />http://forums.contribs.org/viewtopic.php?t=9337</span></a>
<br /> <br />
A very brief howto.</p>
<p class="tightenable">/sbin/e-smith/config set nut service status enabled
/sbin/e-smith/signal-event post-upgrade
/sbin/e-smith/signal-event reboot</p>
<p class="tightenable">The default is for a USB UPS - so it will probably fail.</p>
<p class="tightenable">I use a Sola 550 (which uses the bestfortress driver and serial ports)</p>
<p class="tightenable">edit</p>
<p class="tightenable">/etc/ups/ups.conf like so</p>
<ol><li class="tightenable bottom"><hr />
</li>
<li class="tightenable top bottom">DO NOT MODIFY THIS FILE! It is updated automatically by the</li>
<li class="tightenable top bottom">SME Server software. Instead, modify the source template in</li>
<li class="tightenable top bottom">an /etc/e-smith/templates-custom directory. For more</li>
<li class="tightenable top bottom">information, see</li>
<li class="tightenable top bottom"><a href="HomePage.html/Customizing" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />HomePage.html/Customizing</span></a></li>
</ol>
<p class="tightenable top bottom">#</p>
<ol><li class="tightenable top bottom">copyright (C) 2002 Mitel Networks Corporation</li>
<li class="tightenable top"><hr />
</li>
</ol>
<p class="tightenable"><a href="UPS.html" class="wiki">UPS</a>
driver = bestfortress
port = /dev/ttyS0</p>
<p class="tightenable">And
/etc/sysconfig/ups</p>
<ol><li class="tightenable bottom"><hr />
</li>
<li class="tightenable top bottom">DO NOT MODIFY THIS FILE! It is updated automatically by the</li>
<li class="tightenable top bottom">SME Server software. Instead, modify the source template in</li>
<li class="tightenable top bottom">an /etc/e-smith/templates-custom directory. For more</li>
<li class="tightenable top bottom">information, see</li>
<li class="tightenable top bottom"><a href="HomePage.html/Customizing" target="" class="namedurl"><span style="white-space: nowrap"><img src="images/http.png" alt="" class="linkicon" border="0" />HomePage.html/Customizing</span></a></li>
</ol>
<p class="tightenable top bottom">#</p>
<ol><li class="tightenable top bottom">copyright (C) 2002 Mitel Networks Corporation</li>
<li class="tightenable top"><hr />
</li>
</ol>
<p class="tightenable">DEVICE=/dev/ttyS0
MODEL=bestfortress</p>
<p class="tightenable">OPTIONS=</p>
<p class="tightenable">SERVER=yes</p>
<p class="tightenable">As it says DO NOT MODIFY THIS FILE! - the changes will probably not survive long so make and edit the templates in /etc/e-smith/templates-custom/etc as required.</p>
<p class="tightenable">I had some permission problems with /dev/ttyS0 so i did the following</p>
<p class="tightenable">chmod a+r /dev/ttyS0
chmod a+w /dev/ttyS0</p>
<p class="tightenable bottom">The defaults worked fine - system halted and UPS shutdown. System came backup with no problems when power to the UPS was restored.
<br /> <br /></p>
<table class="wiki-dl-table" border="1" cellspacing="0" cellpadding="6"><tr class="tightenable top bottom"><th><i>Nav Bar</i></th>
<th><a href="Documentation.html" class="wiki">Documentation</a></th>
<th><a href="How-to%20Classification.html" class="wiki">How-to Classification</a></th>
<th><a href="Back%20Up.html" class="wiki">Back Up</a></th>
<td>NUT ups module</td>
</tr>
<tr class="tightenable top bottom"><th><i>Comments</i></th>
<td colspan="4"><a href="NUT%20ups%20module%20Feedback.html" class="named-wiki" title="NUT ups module Feedback">Please add your comments about this How To</a></td>
</tr>
</table>
<hr />
<h3>Feedback</h3>
<p class="tightenable top bottom"><a href="NUT%20ups%20module%20Feedback.html" class="wiki">NUT ups module Feedback</a> Add your comments to this page.
<br /> <br /></p>
<span class="plugin" id="CommentPlugin422"></span><p class="tightenable top bottom"><br /> <br /></p>
<hr />
<h3>Wiki Links List</h3>
<span class="plugin" id="BackLinksPlugin221"><table cellpadding="0" cellspacing="1" border="0" class="pagelist" width="100%" summary="Columns: Page Name, Hits.">
<caption align="top">
Those pages link to <a href="NUT%20ups%20module.html" class="wiki">NUT ups module</a>:</caption>
<colgroup span="2"></colgroup>
<thead>
<tr>
<th align="center" valign="middle" class="gridbutton"><a href="NUT%20ups%20module.html?directory=%2Ftmp%2Fwikidumphtml&amp;sortby=%2Bpagename&amp;id=251" class="gridbutton" title="Click to sort by pagename">&nbsp;<img src="images/buttons/no_order.png" width="7" height="7" border="0" alt="." />&nbsp;Page Name&nbsp;<img src="images/buttons/no_order.png" width="7" height="7" border="0" alt="." />&nbsp;</a></th>
<th align="center" valign="middle" class="gridbutton"><a href="NUT%20ups%20module.html?directory=%2Ftmp%2Fwikidumphtml&amp;sortby=-hits&amp;id=251" class="gridbutton" title="Click to sort by hits">&nbsp;<img src="images/buttons/no_order.png" width="7" height="7" border="0" alt="." />&nbsp;Hits&nbsp;<img src="images/buttons/no_order.png" width="7" height="7" border="0" alt="." />&nbsp;</a></th>
</tr>
</thead>
<tbody>
<tr class="evenrow">
<td>&nbsp;<a href="NUT%20ups%20module%20Feedback.html" class="wiki">NUT ups module Feedback</a>&nbsp;</td>
<td align="right">&nbsp;688&nbsp;</td>
</tr>
<tr class="evenrow">
<td>&nbsp;<a href="UPS.html" class="wiki">UPS</a>&nbsp;</td>
<td align="right">&nbsp;833&nbsp;</td>
</tr>
</tbody>
</table>
</span></div>

<div id="footer">  <hr class="printer" noshade="noshade" />
<p class="editdate">Owner: <a href="hfwang.html" class="wiki">hfwang</a>  Last edited on January 16, 2005  2:46 am by <a href="hfwang.html" class="wiki">hfwang</a></p>
</div>

</div>
<!-- Add your Disclaimer here -->
</body>
</html>
