HOW TO INSTALL ddclient FOR FC6T3+BSNL/Sterlite MT882 ADSL
----------------------------------------------------------
I have recently installed ddclient in my Fedora core 6 Test 3 machine. I am
using a BSNL (Calcutta) broadband connection for this purpose and my ADSL
modem is Huawei SmartAX MT882 type. Following steps are necessary to install
ddclient for the above setup.
1. Register yourself at www.dyndns.org for the dynamic DNS service.
2. Download ddclient.tar.gz from the ddclient site.
3. Expand ddclient tar ball, change directory and configure as
per the instruction provided at README document.
4. Your /etc/ddclient/ddclient.conf should be as follows for MT882 ADSL modem.
daemon=300
syslog=yes
mail=root
mail-failure=root
pid=/var/run/ddclient.pid
ssl=no # for better use ssl=yes
# Special configuration for MT882
fw-login=admin, fw-password=admin
use=fw, fw=192.168.1.10/hwhtml/status/st_log.html, fw-skip='192.168.1.10'
# Registration information at dyndns
login=user_name
password=user_pasword
#mx=mx.for.your.host
#backupmx=yes|no
#wildcard=yes|no
server=members.dyndns.org,\
protocol=dyndns2 \
user_name.dyndns.org
6. Configure virtual server services for MT882 ADSL modem. Keep http and https,ssh on.
That's all.
Additional configuration may some time more help full and make a robust system.
You can setup cron to send an e-mail to your gmail address ( or any
other server) from where you can get IP information, in case your dyndns fails.
1. Setup a script inform_ip to send a mail
#!/bin/sh
# ddclient sent a mail to your.name@gmail.com
/usr/sbin/ddclient -geturl http://192.168.1.10/hwhtml/status/st_log.html -login admin -password admin 2>/dev/null | gawk '/im_backend/{ printf "is %s\n",$7 }' | /bin/mail -s "Home IP on `date`" your.name@gmail.com
2. Setup a script for cron (my.cron) and add using crontab
1,15,30,45 * * * * inform_ip
$crontab my.cron
Reboot and verify the whole system.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
HOW TO INSTALL ddclient FOR FC6T3+BSNL/Sterlite MT882 ADSL
----------------------------------------------------------
I have recently installed ddclient in my Fedora core 6 Test 3 machine. I am
using a BSNL (Calcutta) broadband connection for this purpose and my ADSL
modem is Huawei SmartAX MT882 type. Following steps are necessary to install
ddclient for the above setup.
1. Register yourself at www.dyndns.org for the dynamic DNS service.
2. Download ddclient.tar.gz from the ddclient site.
3. Expand ddclient tar ball, change directory and configure as
per the instruction provided at README document.
4. Your /etc/ddclient/ddclient.conf should be as follows for MT882 ADSL modem.
daemon=300
syslog=yes
mail=root
mail-failure=root
pid=/var/run/ddclient.pid
ssl=no # for better use ssl=yes
# Special configuration for MT882
fw-login=admin, fw-password=admin
use=fw, fw=192.168.1.10/hwhtml/status/st_log.html, fw-skip='192.168.1.10'
# Registration information at dyndns
login=user_name
password=user_pasword
#mx=mx.for.your.host
#backupmx=yes|no
#wildcard=yes|no
server=members.dyndns.org,\ protocol=dyndns2 \ user_name.dyndns.org
6. Configure virtual server services for MT882 ADSL modem. Keep http and https,ssh on.
That's all.
Additional configuration may some time more help full and make a robust system.
You can setup cron to send an e-mail to your gmail address ( or any
other server) from where you can get IP information, in case your dyndns fails.
1. Setup a script inform_ip to send a mail
#!/bin/sh
# ddclient sent a mail to your.name@gmail.com
/usr/sbin/ddclient -geturl http://192.168.1.10/hwhtml/status/st_log.html -login admin -password admin 2>/dev/null | gawk '/im_backend/{ printf "is %s\n",$7 }' | /bin/mail -s "Home IP on `date`" your.name@gmail.com
2. Setup a script for cron (my.cron) and add using crontab
1,15,30,45 * * * * inform_ip
$crontab my.cron
Reboot and verify the whole system.