Line 25: |
Line 25: |
| This contrib is the official and maintained version for SME Server 8, some Free or paid services of dynamic dns had been incorporated to the contribs. | | This contrib is the official and maintained version for SME Server 8, some Free or paid services of dynamic dns had been incorporated to the contribs. |
| ====Installation==== | | ====Installation==== |
− | * For SME8
| + | = For SME8 = |
− | {{Note box|msg=The new version is now in smecontribs,see [[bugzilla: 8019]]}}
| |
| yum install --enablerepo=smecontribs smeserver-ddclient | | yum install --enablerepo=smecontribs smeserver-ddclient |
| + | then |
| + | signal-event ddclient |
| + | or |
| + | signal-event post-upgrade; signal-event reboot |
| | | |
| + | = For SME9 = |
| + | yum install --enablerepo=smecontribs smeserver-ddclient |
| then | | then |
| signal-event ddclient | | signal-event ddclient |
Line 34: |
Line 39: |
| signal-event post-upgrade; signal-event reboot | | signal-event post-upgrade; signal-event reboot |
| | | |
− | {{Note box|IF you want the latest version of smeserver-ddclient you have to install from [[stephdl]] repository}}
| + | = For SME10 = |
− | | + | yum install --enablerepo=smecontribs,openfusion smeserver-ddclient |
− | You have to enable the [[stephdl]] and [[epel]] repositories.
| + | then |
− | | |
− | yum install --enablerepo=stephdl,epel smeserver-ddclient | |
| signal-event ddclient | | signal-event ddclient |
| or | | or |
Line 44: |
Line 47: |
| | | |
| | | |
− | * For SME9
| + | <headertabs/> |
− | {{Note box|msg=The new version is now in smecontribs,see [[bugzilla: 8338]]}}
| + | |
− | You have to enable the [[stephdl]] and [[epel]] repositories.
| |
− | yum install --enablerepo=stephdl,epel smeserver-ddclient
| |
| | | |
− | then
| |
− | signal-event ddclient
| |
− | or
| |
− | signal-event post-upgrade; signal-event reboot
| |
| | | |
| A new panel will be added to the server manager. | | A new panel will be added to the server manager. |
Line 85: |
Line 82: |
| config setprop ddclient DeamonUpdate 60 | | config setprop ddclient DeamonUpdate 60 |
| signal-event ddclient | | signal-event ddclient |
− |
| |
− | * full db ddclient
| |
− | # config show ddclient
| |
− | ddclient=service
| |
− | DeamonUpdate=300
| |
− | status=enabled
| |
− | urlcheckip=checkip.dyndns.org
| |
| | | |
| * use SSL | | * use SSL |
Line 101: |
Line 91: |
| then | | then |
| signal-event ddclient | | signal-event ddclient |
| + | |
| + | * full db ddclient |
| + | # config show ddclient |
| + | ddclient=service |
| + | DeamonUpdate=300 |
| + | SSL=yes |
| + | status=enabled |
| + | urlcheckip=checkip.dyndns.org |
| + | |
| + | * method |
| + | this will allow you to set the way you retrieve the new IP. By default this use the web request to an external url, which you can set. THis would work for all server, even if not gateway. However you can get many timeout depending of the website you try to reach to get the IP. |
| + | |
| + | available methods : |
| + | ** smeIF : will get IP from external interface. BEST choice if your SME act as gateway. |
| + | ** smeCMD : will get the IP from the configuration DB : /sbin/e-smith/db configuration getprop ExternalInterface IPAddress |
| + | ** web : will get the ip from webpage at the URL in property 'urlcheckip' and use the filter from property 'webskip' |
| + | ** if : will get the IP from the network interface which name is in property 'Extinterface' |
| + | ** ip : will manually force the ip in property 'ForceIP' |
| + | ** cmd : will call the script in property 'cmd' and use the filter in the property 'cmdskip' to get the IP |
| + | ** 'CUSTOM' : replace CUSTOM by one of the accepted value of the ddclient command for use option. Yo also have to fill the property 'fwaddress' which is the gateway address, and could also fill the properties 'fwlogin', 'fwpassword' and 'fwskip' |
| + | |
| + | -use=2wire : obtain IP from 2Wire 1701HG Gateway at the -fw {address}. |
| + | -use=3com-3c886a : obtain IP from 3com 3c886a 56k Lan Modem at the -fw {address}. |
| + | -use=3com-oc-remote812 : obtain IP from 3com OfficeConnect Remote 812 at the -fw {address}. |
| + | -use=alcatel-510 : obtain IP from Alcatel Speed Touch 510 at the -fw {address}. |
| + | -use=alcatel-stp : obtain IP from Alcatel Speed Touch Pro at the -fw {address}. |
| + | -use=allnet-1298 : obtain IP from Allnet 1298 at the -fw {address}. |
| + | -use=cayman-3220h : obtain IP from Cayman 3220-H DSL at the -fw {address}. |
| + | -use=cisco : obtain IP from Cisco FW at the -fw {address}. |
| + | -use=cisco-asa : obtain IP from Cisco ASA at the -fw {address}. |
| + | -use=dlink-524 : obtain IP from D-Link DI-524 at the -fw {address}. |
| + | -use=dlink-604 : obtain IP from D-Link DI-604 at the -fw {address}. |
| + | -use=dlink-614 : obtain IP from D-Link DI-614+ at the -fw {address}. |
| + | -use=e-tech : obtain IP from E-tech Router at the -fw {address}. |
| + | -use=elsa-lancom-dsl10 : obtain IP from ELSA LanCom DSL/10 DSL FW at the -fw {address}. |
| + | -use=elsa-lancom-dsl10-ch01 : obtain IP from ELSA LanCom DSL/10 DSL FW (isdn ch01) at the -fw {address}. |
| + | -use=elsa-lancom-dsl10-ch02 : obtain IP from ELSA LanCom DSL/10 DSL FW (isdn ch01) at the -fw {address}. |
| + | -use=linksys : obtain IP from Linksys FW at the -fw {address}. |
| + | -use=linksys-rv042-wan1 : obtain IP from Linksys RV042 Dual Homed Router WAN Port 2 at the -fw {address}. |
| + | -use=linksys-rv042-wan2 : obtain IP from Linksys RV042 Dual Homed Router WAN Port 2 at the -fw {address}. |
| + | -use=linksys-ver2 : obtain IP from Linksys FW version 2 at the -fw {address}. |
| + | -use=linksys-ver3 : obtain IP from Linksys FW version 3 at the -fw {address}. |
| + | -use=linksys-wcg200 : obtain IP from Linksys WCG200 FW at the -fw {address}. |
| + | -use=linksys-wrt854g : obtain IP from Linksys WRT854G FW at the -fw {address}. |
| + | -use=maxgate-ugate3x00 : obtain IP from MaxGate UGATE-3x00 FW at the -fw {address}. |
| + | -use=netcomm-nb3 : obtain IP from NetComm NB3 at the -fw {address}. |
| + | -use=netgear-dg834g : obtain IP from netgear-dg834g at the -fw {address}. |
| + | -use=netgear-rp614 : obtain IP from Netgear RP614 FW at the -fw {address}. |
| + | -use=netgear-rt3xx : obtain IP from Netgear FW at the -fw {address}. |
| + | -use=netgear-wgt624 : obtain IP from Netgear WGT624 at the -fw {address}. |
| + | -use=netgear-wpn824 : obtain IP from Netgear WPN824 FW at the -fw {address}. |
| + | -use=netopia-r910 : obtain IP from Netopia R910 FW at the -fw {address}. |
| + | -use=olitec-SX200 : obtain IP from olitec-SX200 at the -fw {address}. |
| + | -use=rtp300 : obtain IP from Linksys RTP300 at the -fw {address}. |
| + | -use=sitecom-dc202 : obtain IP from Sitecom DC-202 FW at the -fw {address}. |
| + | -use=smc-barricade : obtain IP from SMC Barricade FW at the -fw {address}. |
| + | -use=smc-barricade-7004vbr : obtain IP from SMC Barricade FW (7004VBR model config) at the -fw {address}. |
| + | -use=smc-barricade-7401bra : obtain IP from SMC Barricade 7401BRA FW at the -fw {address}. |
| + | -use=smc-barricade-alt : obtain IP from SMC Barricade FW (alternate config) at the -fw {address}. |
| + | -use=sohoware-nbg800 : obtain IP from SOHOWare BroadGuard NBG800 at the -fw {address}. |
| + | -use=sveasoft : obtain IP from Sveasoft WRT54G/WRT54GS at the -fw {address}. |
| + | -use=vigor-2200usb : obtain IP from Vigor 2200 USB at the -fw {address}. |
| + | -use=watchguard-edge-x : obtain IP from Watchguard Edge X FW at the -fw {address}. |
| + | -use=watchguard-soho : obtain IP from Watchguard SOHO FW at the -fw {address}. |
| + | -use=westell-6100 : obtain IP from Westell C90-610015-06 DSL Router at the -fw {address}. |
| + | -use=xsense-aero : obtain IP from Xsense Aero at the -fw {address}. |
| + | |
| | | |
| ====Providers available==== | | ====Providers available==== |
Line 126: |
Line 183: |
| | | |
| ====Debug==== | | ====Debug==== |
− | If stuff goes bad you can debug | + | {{Note box|Even with the lower value acceptable (60s) it needs between 60 to 180s to see change in dns record.}} |
| + | |
| + | For debug mode you may need per-JSON-Any |
| + | |
| + | To install that you will need the EPEL repo: https://wiki.contribs.org/Epel |
| + | |
| + | Then |
| + | yum --enablerepo=epel install perl-JSON-Any |
| + | |
| + | * You can keep an eye on log |
| + | watch 'cat /var/log/messages|grep SUCCESS' |
| + | |
| + | * You can supervise dns record |
| + | watch 'dig any your_dynamic_dns_host.xxx @dns_server_of_your_dynamic_dns_provider' |
| + | |
| + | * If you want to know the dns servers of your dynamic provider, do |
| + | dig any your_dynamic_dns_host.xxx |
| + | and look about hosts in '''NS''' columns. |
| + | |
| + | * If stuff goes bad you can debug and see what is happening to the deamon |
| ddclient -daemon=0 -debug -verbose -noquiet | | ddclient -daemon=0 -debug -verbose -noquiet |
| and report please | | and report please |
| + | |
| + | * keep an eye on the ddclient cache |
| + | less /var/cache/ddclient/ddclient.cache |
| + | |
| ==== Bugs ==== | | ==== Bugs ==== |
| Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla] and select the smeserver-ddclient component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-ddclient|title=this link}}. | | Please raise bugs under the SME-Contribs section in [http://bugs.contribs.org/enter_bug.cgi bugzilla] and select the smeserver-ddclient component or use {{BugzillaFileBug|product=SME%20Contribs|component=smeserver-ddclient|title=this link}}. |
| + | |
| + | {{#bugzilla:columns=id,product,version,status,summary |sort=id |order=desc |component=smeserver-ddclient |noresultsmessage="No open bugs found."}} |
| + | ===Changelog=== |
| + | Only released version in smecontrib are listed here. |
| + | |
| + | {{ #smechangelog: smeserver-ddclient }} |
| | | |
| ===smeserver.free.fr version=== | | ===smeserver.free.fr version=== |