APC UPS Data Center & Enterprise Solutions Forum
Schneider, APC support forum to share knowledge about installation and configuration for Data Center and Business Power UPSs, Accessories, Software, Services.
Posted: โ2021-07-08 02:13 AM . Last Modified: โ2024-02-29 10:13 PM
Link copied. Please paste this link to share this article on your social media post.
Posted: โ2021-07-08 02:13 AM . Last Modified: โ2024-02-29 10:13 PM
Hi,
I've got a problem to reach an UPS with apcupsd over ethernet.
Here my Setup:
Smart-UPS 2200 (Firmware Revision: UPS 09.3 (ID18)) with an Network Management Card 2 - AP9630 (Version: v6.2.0)
DNS bvg-usv001
IP 192.168.65.24
debian host with apcupsd
DNS bund-shutdown
IP 192.168.66.26
The apcups_conf:
UPSNAME bvg-usv001
UPSCABLE ether
UPSTYPE pcnet
DEVICE 192.168.65.24:admin:test123
LOCKFILE /var/lock
SCRIPTDIR /etc/apcupsd
PWRFAILDIR /etc/apcupsd
NOLOGINDIR /etc
ONBATTERYDELAY 6
BATTERYLEVEL 5
MINUTES 3
TIMEOUT 0
ANNOY 300
ANNOYDELAY 60
NOLOGON disable
KILLDELAY 0
NETSERVER on
NISIP 127.0.0.1
NISPORT 3551
EVENTSFILE /var/log/apcupsd.events
EVENTSFILEMAX 10
UPSCLASS standalone
UPSMODE disable
STATTIME 0
STATFILE /var/log/apcupsd.status
LOGSTATS off
DATATIME 0
The account and password work with the Website. But I got still a comlost:
apcaccess
APC : 001,018,0458
DATE : 2017-06-13 10:29:39 +0200
HOSTNAME : bund-shutdown
VERSION : 3.14.12 (29 March 2014) debian
UPSNAME : bvg-usv001
CABLE : Ethernet Link
DRIVER : PCNET UPS Driver
UPSMODE : Stand Alone
STARTTIME: 2017-06-13 10:29:36 +0200
STATUS : COMMLOST
MBATTCHG : 5 Percent
MINTIMEL : 3 Minutes
MAXTIME : 0 Seconds
NUMXFERS : 0
TONBATT : 0 Seconds
CUMONBATT: 0 Seconds
XOFFBATT : N/A
STATFLAG : 0x05000100
END APC : 2017-06-13 14:19:25 +0200
When I test the port on bvg-usv001:
nmap -p 3052 bvg-usv001
Starting Nmap 6.47 ( http://nmap.org ) at 2017-06-13 14:23 CEST
Nmap scan report for bvg-usv001 (192.168.65.24)
Host is up (0.0063s latency).
rDNS record for 192.168.65.24: bvg-usv001.bvg.local
PORT STATE SERVICE
3052/tcp closed powerchute
MAC Address: 00:C0:B7:ED:0B:DA (American Power Conversion)
Nmap done: 1 IP address (1 host up) scanned in 0.46 seconds
I guess I've to open the port?
On the USV I tried to set the debian Server as Powerchute Client, but that didn't open the port. I doesn't do anything on the firewall ๐
Bye
Gregor
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: โ2021-07-08 02:13 AM . Last Modified: โ2024-02-29 10:13 PM
The PCNET driver relies on a passphrase rather than a password. On my AP9606 it defaults to "admin user phrase". So the driver needs to look like this :
UPSTYPE pcnet
DEVICE 192.168.2.231:apc:admin user phrase
You might want to re-check your authentication just to ensure it is set up right.
If you fire up tcpdump you should see the PCNET packets back and forwards, from memory they are plaintext anyway.
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: โ2021-07-08 02:13 AM . Last Modified: โ2024-02-29 10:13 PM
The PCNET driver relies on a passphrase rather than a password. On my AP9606 it defaults to "admin user phrase". So the driver needs to look like this :
UPSTYPE pcnet
DEVICE 192.168.2.231:apc:admin user phrase
You might want to re-check your authentication just to ensure it is set up right.
If you fire up tcpdump you should see the PCNET packets back and forwards, from memory they are plaintext anyway.
Link copied. Please paste this link to share this article on your social media post.
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.