Difference between revisions of "DDclient Dual Wan 2 Wan Clarkconnect"

From MS Computech
Jump to: navigation, search
(Created page with 'DDclient Dual Wan 2 Wan Clarkconnect 4x 5x fc redhat debian etch lenny ดาวโหลดไฟล์ <pre> http://rapidshare.com/files/244672176/ddclientv3.8.0-Dualwan.tar.g…')
 
Line 1: Line 1:
DDclient Dual Wan 2 Wan Clarkconnect 4x 5x fc redhat debian etch lenny
+
DDclient Dual Wan 2 Wan Clarkconnect 4x 5x fc redhat debian etch lenny  
  
ดาวโหลดไฟล์
+
ดาวโหลดไฟล์  
<pre>
+
<pre>http://rapidshare.com/files/244672176/ddclientv3.8.0-Dualwan.tar.gz
http://rapidshare.com/files/244672176/ddclientv3.8.0-Dualwan.tar.gz
 
 
</pre>
 
</pre>
แตกไฟล์ออกมาไว้ที่ /
+
แตกไฟล์ออกมาไว้ที่ /  
<pre>
+
<pre>tar zxvf ddclientv3.8.0-Dualwan.tar.gz /
tar zxvf ddclientv3.8.0-Dualwan.tar.gz /
 
 
</pre>
 
</pre>
แก้ไข ddclient.conf
+
แก้ไข ddclient.conf  
<pre>
+
<pre>nano /etc/ddclient/ddclient.conf
nano /etc/ddclient/ddclient.conf
 
  
 
# ddclient configuration file
 
# ddclient configuration file
Line 23: Line 20:
 
use=if, if=ppp0
 
use=if, if=ppp0
 
## DynDNS username and password here
 
## DynDNS username and password here
login=yourusername #<< ใส่ username
+
login=yourusername #&lt;&lt; ใส่ username
password=yourpassword #<< ใส่ password
+
password=yourpassword #&lt;&lt; ใส่ password
  
 
## Default options
 
## Default options
Line 31: Line 28:
  
 
## Dynamic DNS hosts
 
## Dynamic DNS hosts
yourdynamicname.dyndns.org #<< ใส่ชื่อ dyndns
+
yourdynamicname.dyndns.org #&lt;&lt; ใส่ชื่อ dyndns
 
</pre>
 
</pre>
แก้ไข ddclient.conf
+
แก้ไข ddclient.conf  
<pre>
+
<pre>nano /etc/ddclient/ddclient2.conf
nano /etc/ddclient/ddclient2.conf
 
  
 
# ddclient configuration file
 
# ddclient configuration file
Line 47: Line 43:
 
use=if, if=ppp1
 
use=if, if=ppp1
 
## DynDNS username and password here
 
## DynDNS username and password here
login=yourusername #<< ใส่ username
+
login=yourusername #&lt;&lt; ใส่ username
password=yourpassword #<< ใส่ password
+
password=yourpassword #&lt;&lt; ใส่ password
  
 
## Default options
 
## Default options
Line 55: Line 51:
  
 
## Dynamic DNS hosts
 
## Dynamic DNS hosts
yourdynamicname2.dyndns.org #<< ใส่ชื่อ dyndns
+
yourdynamicname2.dyndns.org #&lt;&lt; ใส่ชื่อ dyndns
 
</pre>
 
</pre>
ทำให้ Startup ( Clarkconnect, FC )
+
ทำให้ Startup ( Clarkconnect, FC )  
<pre>
+
<pre>chmod 755 /etc/ddclient/ddcli*
chmod 755 /etc/ddclient/ddcli*
 
 
chmod 755 /etc/init.d/ddcli*
 
chmod 755 /etc/init.d/ddcli*
 
chmod 755 /usr/sbin/ddcli*
 
chmod 755 /usr/sbin/ddcli*
Line 67: Line 62:
 
chkconfig ddclient2 on
 
chkconfig ddclient2 on
 
</pre>
 
</pre>
ทำให้ Startup ( DEB )
+
ทำให้ Startup ( DEB )  
<pre>
+
<pre>chmod 755 /etc/ddclient/ddcli*
chmod 755 /etc/ddclient/ddcli*
 
 
chmod 755 /etc/init.d/ddcli*
 
chmod 755 /etc/init.d/ddcli*
 
chmod 755 /usr/sbin/ddcli*
 
chmod 755 /usr/sbin/ddcli*
update-rc.d ddclient default
+
update-rc.d ddclient defaults
update-rc.d ddclient2 default
+
update-rc.d ddclient2 defaults
 
</pre>
 
</pre>
สั่งรัน
+
สั่งรัน  
<pre>
+
<pre>/etc/init.d/ddclient start
/etc/init.d/ddclient start
 
 
/etc/init.d/ddclient2 start
 
/etc/init.d/ddclient2 start
 
</pre>
 
</pre>

Revision as of 11:41, 15 June 2009

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

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

แก้ไข ddclient.conf

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