FreeBSD 板


LINE

I. 前言 去年买了个 UPS ,不过一直懒得去测试到底停电之後能不能安全 Shutdown 还有到底能不能由COM1控制 UPS,因为dmesg并没有相关的讯息,後来突然熊熊发现 所附的光碟里头有支援FreeBSD的 ups daemon,因此 小弟就把一些经验分享给大家,如果有什麽漏误还请诸位大大指正。 II.规格 厂牌:台达电不断电供应系统(Delta UPS) 型号:S-series; S-650 类型:离线式(Off-Line) UPS 用途:个人工作站使用。 网页:http://www.deltaww.com/products/ups/s.htm (English) http://www.deltaww.com/ups/products/hardware/s650_series.htm (中文) 通讯介面: RS232 via com1 or com2 (/dev/cuaa0; /dev/cuaa1) 所附的软体:电力管理大师2000(UPSentury Smart 2000) (http://www.deltaww.com/ups/products/software/manager.htm) III. 网路资源/文件 For FreeBSD说明: http://www.deltaww.com/ups/products/software/spec_freebsd.htm 同时这个网页上也有简繁体、英文的pdf档使用说明。 IV. 测试平台及软体版本 测试平台: 4.8-STABLE 安装版本: FreeBSD 3.4 3.01.10版 V. 安装 简易安装:若要更详细的安装过程说明,请参阅官方网站上的说明。 1. 解压缩 freebsd3_4.tar #tar -xvf freebsd3_4.tar 2. 利用所附的 install shell安装 #./install 3. 之後会 step by step去设定安装的资料夹 Master / Slave 等问题,就依照个人需求 设定。 --> 详细安装过程: i. 安装开始,选择安装的目录: The default destination directory is" /usr/local/smart ". Enter your new destination directory below, or just press 'Enter' key for default. New destination directory: (直接按 Enter 接受预设。) ii. 是否确定要安装 UPSentry Smart 2000这个程式? Do you want to install the UPSentry Smart 2000 now ?[y|n] (按 y 继续安装程序。) iii.选择安装的介面: Please enter the COM port which connects to your UPS." For example: COM1 is /dev/cuaa0, COM2 is /dev/cuaa1." COM Port: (我是接在COM1 port, 所以我键入 /dev/cuaa0) iv. 输入主机的ip(rs232连线的主机) Please enter the IP address of the master which this computer will connect to. IP address is : (输入您的ip: ex:140.112.250.151) v. 选择通讯的模式: Please select the communication mode. 1. Master: If this computer connects to an UPS directly(RS232 or USB) and will administrate the UPS. 2. Serial Slave: If this computer connects to an UPS directly(RS232 or USB) but will only monitor the UPS. 3. Networking Slave: If this computer powered by an UPS but doesn't communicate with the UPS directly. Please enter '1' for Master, '2' for Serial Slave or '3' for Networking Slave: (我选择1,直接连线,Master模式。) vi. 是否启动UPS daemon Do you want to start upsd now ?[y|n] (我选择 y) vii.启动 upsd Starting upsd ... *下次 reboot之後,就会自动启动 upsd 4. 其他的问题在网页上的pdf档都写得蛮详尽的,我也正在阅读中。 V. 设定问题 相关设定:还在阅读中 ^^; VI.附录: A. 以下罗列出ports底下有的 upsd 软体 Port: apcupsd-3.8.6 Path: /usr/ports/sysutils/apcupsd Port: bkpupsd-1.0a Path: /usr/ports/sysutils/bkpupsd Port: mgeupsd-0.3 Path: /usr/ports/sysutils/mgeupsd Port: upsd-2.0.1.6_1 Path: /usr/ports/sysutils/upsd B. screenshot http://tchaikovsky.m7.ntu.edu.tw/~psilotum/img/upsd_main.jpg
upsd_scroll.jpg upsd_diagram.jpg upsd_config.jpg 如果有错误,还希望各位指正,多谢。 :) --



※ 发信站: 批踢踢实业坊(ptt.csie.ntu.edu.tw)
◆ From: 140.112.250.151







like.gif 您可能会有兴趣的文章
icon.png[问题/行为] 猫晚上进房间会不会有憋尿问题
icon.pngRe: [闲聊] 选了错误的女孩成为魔法少女 XDDDDDDDDDD
icon.png[正妹] 瑞典 一张
icon.png[心得] EMS高领长版毛衣.墨小楼MC1002
icon.png[分享] 丹龙隔热纸GE55+33+22
icon.png[问题] 清洗洗衣机
icon.png[寻物] 窗台下的空间
icon.png[闲聊] 双极の女神1 木魔爵
icon.png[售车] 新竹 1997 march 1297cc 白色 四门
icon.png[讨论] 能从照片感受到摄影者心情吗
icon.png[狂贺] 贺贺贺贺 贺!岛村卯月!总选举NO.1
icon.png[难过] 羡慕白皮肤的女生
icon.png阅读文章
icon.png[黑特]
icon.png[问题] SBK S1安装於安全帽位置
icon.png[分享] 旧woo100绝版开箱!!
icon.pngRe: [无言] 关於小包卫生纸
icon.png[开箱] E5-2683V3 RX480Strix 快睿C1 简单测试
icon.png[心得] 苍の海贼龙 地狱 执行者16PT
icon.png[售车] 1999年Virage iO 1.8EXi
icon.png[心得] 挑战33 LV10 狮子座pt solo
icon.png[闲聊] 手把手教你不被桶之新手主购教学
icon.png[分享] Civic Type R 量产版官方照无预警流出
icon.png[售车] Golf 4 2.0 银色 自排
icon.png[出售] Graco提篮汽座(有底座)2000元诚可议
icon.png[问题] 请问补牙材质掉了还能再补吗?(台中半年内
icon.png[问题] 44th 单曲 生写竟然都给重复的啊啊!
icon.png[心得] 华南红卡/icash 核卡
icon.png[问题] 拔牙矫正这样正常吗
icon.png[赠送] 老莫高业 初业 102年版
icon.png[情报] 三大行动支付 本季掀战火
icon.png[宝宝] 博客来Amos水蜡笔5/1特价五折
icon.pngRe: [心得] 新鲜人一些面试分享
icon.png[心得] 苍の海贼龙 地狱 麒麟25PT
icon.pngRe: [闲聊] (君の名は。雷慎入) 君名二创漫画翻译
icon.pngRe: [闲聊] OGN中场影片:失踪人口局 (英文字幕)
icon.png[问题] 台湾大哥大4G讯号差
icon.png[出售] [全国]全新千寻侘草LED灯, 水草

请输入看板名称,例如:Gossiping站内搜寻

TOP