<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr">
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Deep Joy, it worked!!!</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Changing upsd.conf to only contain "LISTEN 0.0.0.0 3493" solved the problem. <br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Syslog now looks like the attached Syslog Nut extract2 file.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Many thanks for your suggestion Charles.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Gene, I do use the firewall in my ISP supplied router, but I don't know how that stacks up against DDWRT. I do have a flashable router in the cupboard, so I might just give it a try.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Thanks all for your help.</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
One happy bunny signing off...</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
Paul N.<br>
</div>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
<br>
</div>
<div id="appendonsend"></div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> Nut-upsuser <nut-upsuser-bounces+newberype=hotmail.co.uk@alioth-lists.debian.net> on behalf of Gene Heskett <gheskett@shentel.net><br>
<b>Sent:</b> 07 March 2020 17:53<br>
<b>To:</b> nut-upsuser@alioth-lists.debian.net <nut-upsuser@alioth-lists.debian.net><br>
<b>Subject:</b> Re: [Nut-upsuser] NUT-Server will not start at boot with Cyberpower PR1500</font>
<div> </div>
</div>
<div class="BodyFragment"><font size="2"><span style="font-size:11pt;">
<div class="PlainText">On Saturday 07 March 2020 12:38:07 Paul Newbery wrote:<br>
<br>
> Hi Charles,<br>
> Thanks for your response. No, I only put 192.168.1.64 as an extra<br>
> option as I want to allow Slave access from another computer.<br>
> Otherwise, access will normally only be from localhost. There is only<br>
> one network interface on this machine. I will try it out with "LISTEN<br>
> 0.0.0.0 3493" and see what happens. I must confess I usually run<br>
> without a firewall as I'm only running a home network, but I suppose I<br>
> really should start using it! I will report back.<br>
> Paul N.<br>
> ________________________________<br>
> From: Charles Lepple <clepple@gmail.com><br>
> Sent: 07 March 2020 15:50<br>
> To: Paul Newbery <newberype@hotmail.co.uk><br>
> Cc: nut-upsuser@alioth-lists.debian.net<br>
> <nut-upsuser@alioth-lists.debian.net> Subject: Re: [Nut-upsuser]<br>
> NUT-Server will not start at boot with Cyberpower PR1500<br>
><br>
> On Mar 6, 2020, at 2:02 PM, Paul Newbery <newberype@hotmail.co.uk> <br>
wrote:<br>
> > I have since been trying to get them working with the NUT software,<br>
> > which I can do, but I simply cannot get them to start at system<br>
> > start up. It can be seen from the "Syslog Nut Extract" that<br>
> > upsdrvctl successfully loads the driver, but nut-server fails to<br>
> > start and the driver then stops as it is no longer required.<br>
> > However, upsmon continues to load successfully and proceeds to fill<br>
> > up the syslog with error messages.<br>
><br>
> Mar  6 14:05:02 paul-desktop upsd[947]: fopen /var/run/nut/upsd.pid:<br>
> No such file or directory Mar  6 14:05:02 paul-desktop upsd[947]:<br>
> /etc/nut/upsd.conf is world readable Mar  6 14:05:02 paul-desktop<br>
> upsd[947]: /etc/nut/upsd.conf is world readable Mar  6 14:05:02<br>
> paul-desktop upsd[947]: not listening on 192.168.1.64 port 3493 Mar  6<br>
> 14:05:02 paul-desktop upsd[947]: listening on ::1 port 3493 Mar  6<br>
> 14:05:02 paul-desktop upsd[947]: listening on 127.0.0.1 port 3493 Mar <br>
> 6 14:05:02 paul-desktop upsd[947]: no listening interface available<br>
> Mar  6 14:05:02 paul-desktop upsd[947]: not listening on 192.168.1.64<br>
> port 3493<br>
><br>
> ^ At this point, the 192.168.1.64 network interface may not be up. Are<br>
> you intending to allow NUT to only listen on localhost and one<br>
> specific network interface? Or is there only one physical network<br>
> interface total?<br>
><br>
> If the latter, I recommend "LISTEN 0.0.0.0" to listen on all local<br>
> addresses. If the former, I would use a firewall that does filtering<br>
> well before the packets touch NUT code, and that can also block<br>
> packets destined to other interfaces until the one allowed interface<br>
> is up.<br>
<br>
I would add that the best place for the firewall is in your router, by <br>
reflashing it with dd-wrt. In 2 decades of running it that way here, no <br>
one has come thru it to gain nefarious access has managed to do so.  By <br>
putting your switch on the local side of your router, you have the run <br>
of your local network, with no firewalls to have to putz with but <br>
dd-wrt's sharp teeth are keeping the black hats out.  Not to mention it <br>
has no TLA back doors.<br>
<br>
Cheers, Gene Heskett<br>
-- <br>
"There are four boxes to be used in defense of liberty:<br>
 soap, ballot, jury, and ammo. Please use in that order."<br>
-Ed Howdershelt (Author)<br>
If we desire respect for the law, we must first make the law respectable.<br>
 - Louis D. Brandeis<br>
Genes Web page <<a href="http://geneslinuxbox.net:6309/gene">http://geneslinuxbox.net:6309/gene</a>><br>
<br>
_______________________________________________<br>
Nut-upsuser mailing list<br>
Nut-upsuser@alioth-lists.debian.net<br>
<a href="https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser">https://alioth-lists.debian.net/cgi-bin/mailman/listinfo/nut-upsuser</a></div>
</span></font></div>
</body>
</html>