Difference between revisions of "DDclient Dual Wan 2 Wan Clarkconnect"
From MS Computech
(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…') |
|||
(21 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
− | + | Contribute and test by [email protected]<br> | |
− | ดาวโหลดไฟล์ | + | DDclient Dual Wan 2 Wan Clarkconnect 4x 5x, FC, Redhat, Debian etch lenny |
− | < | + | |
− | http:// | + | ดาวโหลดไฟล์ |
+ | |||
+ | Download DDclient dualwan files<br> | ||
+ | |||
+ | <br> | ||
+ | |||
+ | '''For Clarkconnect''' <br> | ||
+ | [http://www.mscompute.com/files/ddclient-3.8.0.CC4-5.tar.gz Download]<br> | ||
+ | แตกไฟล์ออกมาไว้ที่ / | ||
+ | |||
+ | Extract all files in root directory /<br> | ||
+ | <pre>[root@gw ~]# tar zxvf ddclient-3.8.0.CC4-5.tar.gz | ||
+ | [root@gw ~]# cd ddclient-3.8.0.CC4-5 | ||
+ | [root@gw ~]# cp -f -R * / | ||
+ | [root@gw ~]# cd etc/init.d | ||
+ | [root@gw ~]# cp * /etc/init.d/ | ||
+ | [root@gw ~]# mkdir /var/cache/ddclient | ||
</pre> | </pre> | ||
− | + | แก้ไข ddclient.conf << Link ppp0 | |
− | + | ||
− | + | Edit ddclient.conf << Link ppp0<br> | |
− | + | <pre>[root@gw ~]# nano /etc/ddclient/ddclient.conf | |
− | |||
− | <pre> | ||
− | nano /etc/ddclient/ddclient.conf | ||
# ddclient configuration file | # ddclient configuration file | ||
Line 23: | Line 36: | ||
use=if, if=ppp0 | use=if, if=ppp0 | ||
## DynDNS username and password here | ## DynDNS username and password here | ||
− | login=yourusername # | + | login=yourusername #<< ใส่ username |
− | password=yourpassword # | + | password=yourpassword #<< ใส่ password |
## Default options | ## Default options | ||
Line 31: | Line 44: | ||
## Dynamic DNS hosts | ## Dynamic DNS hosts | ||
− | yourdynamicname.dyndns.org # | + | yourdynamicname.dyndns.org #<< ใส่ชื่อ dyndns |
</pre> | </pre> | ||
− | แก้ไข | + | แก้ไข ddclient2.conf << Link ppp1 |
− | <pre> | + | |
− | nano /etc/ddclient/ddclient2.conf | + | Edit ddclient2.conf << Link ppp1<br> |
+ | <pre>[root@gw ~]# nano /etc/ddclient/ddclient2.conf | ||
# ddclient configuration file | # ddclient configuration file | ||
Line 47: | Line 61: | ||
use=if, if=ppp1 | use=if, if=ppp1 | ||
## DynDNS username and password here | ## DynDNS username and password here | ||
− | login=yourusername # | + | login=yourusername #<< ใส่ username |
− | password=yourpassword # | + | password=yourpassword #<< ใส่ password |
## Default options | ## Default options | ||
Line 55: | Line 69: | ||
## Dynamic DNS hosts | ## Dynamic DNS hosts | ||
− | yourdynamicname2.dyndns.org #<< | + | yourdynamicname2.dyndns.org #<< ใส่ชื่อ dyndns |
+ | </pre> | ||
+ | Make it Startup ( '''Clarkconnect, FC''' ) | ||
+ | <pre>[root@gw ~]# chmod 755 /etc/ddclient/ddcli* | ||
+ | [root@gw ~]# chmod 755 /etc/init.d/ddcli* | ||
+ | [root@gw ~]# chmod 755 /usr/sbin/ddcli* | ||
+ | [root@gw ~]# chkconfig --add ddclient | ||
+ | [root@gw ~]# chkconfig --add ddclient2 | ||
+ | [root@gw ~]# chkconfig ddclient on | ||
+ | [root@gw ~]# chkconfig ddclient2 on | ||
</pre> | </pre> | ||
− | + | Make it Startup ( '''Debian''' ) | |
− | <pre> | + | <pre>[root@gw ~]# chmod 755 /etc/ddclient/ddcli* |
− | chmod 755 /etc/ddclient/ddcli* | + | [root@gw ~]# chmod 755 /etc/init.d/ddcli* |
− | chmod 755 /etc/init.d/ddcli* | + | [root@gw ~]# chmod 755 /usr/sbin/ddcli* |
− | chmod 755 /usr/sbin/ddcli* | + | [root@gw ~]# update-rc.d ddclient defaults |
− | + | [root@gw ~]# update-rc.d ddclient2 defaults | |
− | |||
− | |||
− | |||
</pre> | </pre> | ||
− | + | Run | |
− | <pre> | + | <pre>[root@gw ~]# /etc/init.d/ddclient start |
− | + | [root@gw ~]# /etc/init.d/ddclient2 start | |
− | |||
− | |||
− | |||
− | |||
</pre> | </pre> | ||
− | + | And finaly test.<br> | |
− | <pre> | + | <pre>[root@gw ~]# ps ax | grep ddcli |
− | / | + | 9071 pts/1 S+ 0:00 grep ddcli |
− | / | + | 25405 pts/1 S 0:00 ddclient - sleeping for 380 seconds |
+ | 25434 pts/1 S 0:00 ddclient2 - sleeping for 380 seconds | ||
</pre> | </pre> |
Latest revision as of 13:23, 15 May 2011
Contribute and test by [email protected]
DDclient Dual Wan 2 Wan Clarkconnect 4x 5x, FC, Redhat, Debian etch lenny
ดาวโหลดไฟล์
Download DDclient dualwan files
For Clarkconnect
Download
แตกไฟล์ออกมาไว้ที่ /
Extract all files in root directory /
[root@gw ~]# tar zxvf ddclient-3.8.0.CC4-5.tar.gz [root@gw ~]# cd ddclient-3.8.0.CC4-5 [root@gw ~]# cp -f -R * / [root@gw ~]# cd etc/init.d [root@gw ~]# cp * /etc/init.d/ [root@gw ~]# mkdir /var/cache/ddclient
แก้ไข ddclient.conf << Link ppp0
Edit ddclient.conf << Link ppp0
[root@gw ~]# 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
Edit ddclient2.conf << Link ppp1
[root@gw ~]# 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
Make it Startup ( Clarkconnect, FC )
[root@gw ~]# chmod 755 /etc/ddclient/ddcli* [root@gw ~]# chmod 755 /etc/init.d/ddcli* [root@gw ~]# chmod 755 /usr/sbin/ddcli* [root@gw ~]# chkconfig --add ddclient [root@gw ~]# chkconfig --add ddclient2 [root@gw ~]# chkconfig ddclient on [root@gw ~]# chkconfig ddclient2 on
Make it Startup ( Debian )
[root@gw ~]# chmod 755 /etc/ddclient/ddcli* [root@gw ~]# chmod 755 /etc/init.d/ddcli* [root@gw ~]# chmod 755 /usr/sbin/ddcli* [root@gw ~]# update-rc.d ddclient defaults [root@gw ~]# update-rc.d ddclient2 defaults
Run
[root@gw ~]# /etc/init.d/ddclient start [root@gw ~]# /etc/init.d/ddclient2 start
And finaly test.
[root@gw ~]# ps ax | grep ddcli 9071 pts/1 S+ 0:00 grep ddcli 25405 pts/1 S 0:00 ddclient - sleeping for 380 seconds 25434 pts/1 S 0:00 ddclient2 - sleeping for 380 seconds