Re: [討論] DD-WRT上跑Heartbeat

作者: piligo (霹靂狗)   2011-07-20 14:12:41
※ 引述《richjf (jeff)》之銘言:
: http://www.dd-wrt.com/wiki/index.php/LaFonera_Software_Heartbeat
: 照裡頭的做法執行,但官網上一直顯示是離線。
: 後來從他下面的連結 http://tinyurl.com/2agzdk 頁面去比對,
: 發現要多一個步驟
: Paste this into the Additional Cron Jobs box on the Admin > Management page
: then click Apply Settings.
: 輸入
: */5 * * * * root /tmp/simthefon/simthefon cron >/tmp/simthefon/simthefon.log
: 重開機後,到官網看就有上線了。
手上有一台FON+已刷DD-WRT,也成功把心跳送出去,但我想在這台FON+送出多台FON的
心跳,想請教大家該如何修改
*****************************************************************************
2011/07/21最新進度
推翻掉2011/07/20的步驟,流程照照官方的走,只是多增加了一個地方
*****************************************************************************
另外要在Cron Job多加一行,再多加一行
*/5 * * * * root /tmp/simthefon/simthefon cron >/tmp/simthefon/simthefon.log
*/5 * * * * root /tmp/simthefon/simthefon00 cron
>/tmp/simthefon/simthefon00.log
*****************************************************************************
成功運作該台的心跳後,採用telnet登入DD-WRT,然後步驟如下
cd /tmp/simthefon
cp simthefon simthefon00
vi simthefon00 (把WLMAC和MAC改掉)
然後再去DD-WRT的Web介面的 系統管理

Links booklink

Contact Us: admin [ a t ] ucptt.com