DDclient Dual Wan 2 Wan Clarkconnect

From MS Computech
Revision as of 11:55, 15 June 2009 by 125.24.202.32 (talk)
Jump to: navigation, search

DDclient Dual Wan 2 Wan Clarkconnect 4x 5x fc redhat debian etch lenny

ดาวโหลดไฟล์

http://rapidshare.com/files/244672176/ddclientv3.8.0-Dualwan.tar.gz

แตกไฟล์ออกมาไว้ที่ /

tar zxvf ddclientv3.8.0-Dualwan.tar.gz /

แก้ไข ddclient.conf << Link ppp0

nano /etc/ddclient/ddclient.conf

# ddclient configuration file
daemon=600                  # check every 600 seconds
syslog=yes                  # log update msgs to syslog
[email protected] # Mail failed updates to user
pid=/var/run/ddclient.pid   # record PID in file.

## Detect IP with our CheckIP server
use=web, web=checkip.dyndns.com/, web-skip='IP Address'
use=if,	if=ppp0
## DynDNS username and password here
login=yourusername #<< ใส่ username
password=yourpassword #<< ใส่ password

## Default options
protocol=dyndns2
server=members.dyndns.org

## Dynamic DNS hosts
yourdynamicname.dyndns.org #<< ใส่ชื่อ dyndns

แก้ไข ddclient2.conf << Link ppp1

nano /etc/ddclient/ddclient2.conf

# ddclient configuration file
daemon=600                  # check every 600 seconds
syslog=yes                  # log update msgs to syslog
[email protected] # Mail failed updates to user
pid=/var/run/ddclient2.pid   # record PID in file.

## Detect IP with our CheckIP server
use=web, web=checkip.dyndns.com/, web-skip='IP Address'
use=if,	if=ppp1
## DynDNS username and password here
login=yourusername #<< ใส่ username
password=yourpassword #<< ใส่ password

## Default options
protocol=dyndns2
server=members.dyndns.org

## Dynamic DNS hosts
yourdynamicname2.dyndns.org #<< ใส่ชื่อ dyndns

ทำให้ Startup ( Clarkconnect, FC )

chmod 755 /etc/ddclient/ddcli*
chmod 755 /etc/init.d/ddcli*
chmod 755 /usr/sbin/ddcli*
chkconfig --add ddclient
chkconfig --add ddclient2
chkconfig ddclient on
chkconfig ddclient2 on

ทำให้ Startup ( DEB )

chmod 755 /etc/ddclient/ddcli*
chmod 755 /etc/init.d/ddcli*
chmod 755 /usr/sbin/ddcli*
update-rc.d ddclient defaults
update-rc.d ddclient2 defaults

สั่งรัน

/etc/init.d/ddclient start
/etc/init.d/ddclient2 start

ตรวจสอบ

ps ax | grep ddcli