Porterhouse

Members
  • Content Count

    72
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Porterhouse

  • Rank
    Newbie

Converted

  • Gender
    Undisclosed

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

  1. @digitalfixer - I believe the Clinet/Server reference in the apcupsd manual is to APC's NIS service, where a server (any server) is physically connected to a UPS via a serial or modbus cable, but then also serves out the same status info to other devices (clients) OF THAT UPS. Which is not what I was trying to do. However the very next section is what I WAS looking for. See below for this slightly amended ver (to aid brevity): PowerChute Network Shutdown Driver (PCNET) As of 3.14, Apcupsd supports the PowerChute Network Shutdown protocol ... an alternative to SNMP for use with APC'
  2. I found these posts on how to configure for a NIS service, i.e. where a unRAID (or other) server is serving out status of the UPS that it's also physically connected to via a serial cable: https://lime-technology.com/forum/index.php?topic=31071.msg429068#msg429068 https://lime-technology.com/forum/index.php?topic=25710.msg223928#msg223928 But that's NOT what I'm trying to figure out here ... I found this un-answered Q from 'Slimer' on the same issue I have: https://lime-technology.com/forum/index.php?topic=46063.msg440388#msg440388 I also saw somewhere a passing comment fr
  3. @Ashe - Thanks for the link ... but it doesn't work for me (on my sandbox ver 6.2.0-beta21) I've tried every combination of settings for - Ether/PCnet/IP-with-&-without: user/pwd/ports ... but I can't get even close to 'Refreshing' and ultimately I just get ... 'Communication Lost' coupled with 'No Information' at the bottom of the screen collected from the UPS. I should add that obviously the original question is solved, but it would be great to get this extra bit of functionality tested too, so as to have a complete picture/record of what's possible or not. There may be others
  4. OK - HOLD that question !!. I found some help in the 'Help' lines for the 'USP Settings' page. YES - you can point your unRAID UPS Settings page at an IP Address (of a UPS' Ethernet Mgmt Card), using these settings (but don't get too excited - it isn't working yet) : --------------------------------------------------------------- UPS Cable Ether Custom UPS cable: < > Blank UPS type: PCnet Device: 192.168.xx<username>:<passphrase>: PORT# ---------
  5. @digitalfixer - Thanks for clarifying that. Can anyone advise further - can the UPS Settings page be used to configure access/monitoring of an APC UPS via a telnet session to it's NIC - given that I can have the same admin dialogue with the UPS via either it's serial port or it's NIC. IE, can I replace '/dev/ttyUSB0' with '192.168.xx.yy:22' or whatever the telnet port happens to be set to and 'USB' with 'NET'... or can only the NUT plugin do this ? I did try a few combinations but it didn't seem to work ... but should it? ... or do I need to use NUT for that instead?
  6. BINGO !!! Thanks Ashe !! It looks like the key config detail which I was missing ... was the name of the device (/dev/ttyUSB0) in the device field of the UPS settings page. Having entered this the status immediately changed to (I think it was) .... Resuming .... followed by 'Online' It's now working fine !! I note that the setting 'UPS Cable' - doesn't seem to make a difference whether it's set to 'USB' or 'smart'. I haven't tried every other combo. However .. @Ashe - how/where do you get that sexy graphical interface to UPS Settings I have Beta 6.2.0-beta21 .
  7. Thanks for all those pointers then ... Meanwhile, the following was useful APC serial config info which other may need & which helped me get Putty talking to my APC (vintage SmartUPS 700) on my W10 laptop via a USB port: From the APC/Schneider support forum: Make sure that there is no application that is using the serial port. For testing you can use Putty and set the port settings to 2400-8-None-1-XOn/XOff. Once you are on the Putty screen press "Shift+Y", this should return an SM on the screen. Press "Shift+A" after seeing SM and this should produce a beep and the LEDs in fro
  8. Despite lots of reading-up, trial and error I can't seem to get my v6.2.(or a v6.1.3) server to see an APC Smartups on a com port. I've connected it via a Startech USB-Serial adapter (ICUSB2321F) and a pukka APC black db9 cable (940-0024C). I've checked that the UPS is communication correctly by jacking into it via Putty (configured: 2400b/8/1/none/RTS) from a Windows 10 laptop (using the same cable combo), and this all works fine, viz: ------------------------------- User Name : apc Password : *** American Power Conversion Network Management Card AOS
  9. @binky: That worked perfectly thanks. ECDSA/SSH key no longer being challenged following a reboot of my SOURCE c/w target server's name/IP noted in: /boot/config/ssh/known_hosts due to this being re-created (as /root/.ssh/known_hosts) by the syntax added to: /boot/config/go @ken-ji Noted. Thanks Solved!
  10. I did't find anything on my issue in the wiki or posted earlier here, so here goes my question. How can I stop rsync flagging an ECDSA key error, which seems to come back after every reboot, so is presumably related to the non-persistence of / The error I'm seeing is something like (copied from a googled thread .. but with the specifics redacted by me): The authenticity of host '[servername]:portnum ([nn.nn.nn.nn]:portnum)' can't be established. ECDSA key fingerprint is xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx. Are you sure you want to continue connecting (yes/no)? ye
  11. I hope this is the right place to ask this ... I'm not new to scripting but definitely out of practice by about 20 years. I've written a half decent BASH script to rsync two unRAID 6 servers on a disk by disk basis. I can make this work for one disk or for all disks, using 'case' statements. However, I want to extend this to selecting multiple disks (thus permitting me to skip certain disks) using this line: #DEV version:- #for i in `ls -d /mnt/d*|grep -v disks|grep -E '$disknum'`; do find $i -maxdepth 1 -not -empty -type d|grep -vx $i;done > /boot/scripts/syncup.list I'
  12. Can anyone please explain why I can can no longer find the script and associated files which I've just spent 2 days developing and testing, as root, and which were stored in & off /root. I've been using putty to write a script, logged in as root, which was actually all done and tested, finito benito. I even had a backup, but not unfortunately a print-out or a remote copy of my script, which is as ironic as it was horrifying to discover, since it was a script to sync (rsync) my main server to my backup server, disk by disk. I can only assume this is due to me bouncing my server to replace
  13. @dmacies - Thanks. I didn't spot your comment earlier but I'll take that onboard, since I have allocated the whole disk to the VM anyway.
  14. Update: I've now tested this with a spinning disks too, with a W10 VM, configured as a local drive to the VM but also shared out on my network, as a target folder for an app running as a Windows service (although only tested this with) Blue Iris 4.. This has now allowed me to use/re-use a WD Purple disk for this data. Purple's are apparently specifically designed for CCTV capture .. and also I suspect this config will result in less hammer on my parity disk.