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燈, 水草

請輸入看板名稱,例如:BuyTogether站內搜尋

TOP