DDclient and DynDNS
Dear all, I have a SuSE8.1 fully patched box which connects to the internet and received a dynamic IP from its ISP. In order to always be able to connect to this box whenever it is on line I have created an account in dyndns and have assigned the dynamic IP configuration as stated. Downloaded the client ddclinet from their site and configured as much as I could... However the system doesn't seem to update the IP through the configuration file. Can someone explain to me how this file is supposed to be setup or perhaps a different site that will do the same things for me but with much less work?? Thanks all! Chris
Hi Chris, Chris Roubekas wrote:
Dear all,
I have a SuSE8.1 fully patched box which connects to the internet and received a dynamic IP from its ISP. In order to always be able to connect to this box whenever it is on line I have created an account in dyndns and have assigned the dynamic IP configuration as stated. Downloaded the client ddclinet from their site and configured as much as I could... However the system doesn't seem to update the IP through the configuration file. Can someone explain to me how this file is supposed to be setup or perhaps a different site that will do the same things for me but with much less work??
Thanks all! Chris
ddclient works fine on my side. Keep in mind that the proposed crontab syntax doesn't fit into SuSE (I guess it's more Debian-oriented), so you have to correct it. Maybe you could post your .conf file (modify login and passwd settings) for us to figure out what goes wrong... Martin
Chris Roubekas wrote:
Dear all,
I have a SuSE8.1 fully patched box which connects to the internet and received a dynamic IP from its ISP. In order to always be able to connect to this box whenever it is on line I have created an account in dyndns and have assigned the dynamic IP configuration as stated. Downloaded the client ddclinet from their site and configured as much as I could... However the system doesn't seem to update the IP through the configuration file. Can someone explain to me how this file is supposed to be setup or perhaps a different site that will do the same things for me but with much less work??
Thanks all! Chris
How do you connect to your ISP ? ADSL/Cable/analog-modem ? How do you detect the IP-address of the connection ? Please specify a little bit more. At home I have an ADSL-modem/router. To know what IP address it has (external) ddclient goes to a web-page of the router to get this (I need to supply the username and the password of the router). With this ddclient checks if the IP-address has changed. If it has, it updates dyndns. Of course to do this you need to specify the username and password of dyndns. The setup to get the IP-address from the router is rather straightforward. With a browser go to the page of your router were you see the external IP-address. Look at the page-source (=raw html), and look for the text preceding the IP-address. Take this as the text to scan for in the ddclient-configuration. Make sure that there is no possibility to get the wrong IP-address. If this is impossible for some reason (at work I have a router wich doesn't support this) you have to use the Internet to get your IP-address (=loss of bandwidth). HTH a bit. -- Met vriendelijke groeten, Koenraad Lelong R&D Manager ACE electronics n.v.
On Tue, Mar 09, 2004 at 12:39:55PM +0100, Koenraad Lelong wrote:
Chris Roubekas wrote:
Dear all,
I have a SuSE8.1 fully patched box which connects to the internet and received a dynamic IP from its ISP. In order to always be able to connect to this box whenever it is on line I have created an account in dyndns and have assigned the dynamic IP configuration as stated. Downloaded the client ddclinet from their site and configured as much as I could... However the system doesn't seem to update the IP through the configuration file. Can someone explain to me how this file is supposed to be setup or perhaps a different site that will do the same things for me but with much less work??
Thanks all! Chris
How do you connect to your ISP ? ADSL/Cable/analog-modem ? How do you detect the IP-address of the connection ? Please specify a little bit more.
I don't know how committed you are to DynDNS, so this may not help. I use ZoneEdit, and the update process is trivial in the extreme. In my /etc/ppp/ip-up.local, I have the following line: curl http://myid:mypwd@dynamic.zoneedit.com/auth/dynamic.html?host=www2.altaregos... This command is seen by an http server on their end, and they pick the IP address out of the http server environment and do all the work on their end. myid and mypwd are passwords to their site, and the host= domain is a little "lab" environment I experiment with. This is my home gateway/router/server, running SuSE 9.0. My "production" site www.altaregos.com is hosted elsewhere. ZoneEdit points my main web and email addresses there, and my "sandbox" here. And best of all is the price. So long as I stay with five or fewer domains (I now have four) it's 100% discount. -- Daryl Lee Open the present--it's a gift.
Daryl Lee wrote:
On Tue, Mar 09, 2004 at 12:39:55PM +0100, Koenraad Lelong wrote:
Chris Roubekas wrote:
Dear all,
I have a SuSE8.1 fully patched box which connects to the internet and received a dynamic IP from its ISP. In order to always be able to connect to this box whenever it is on line I have created an account in dyndns and have assigned the dynamic IP configuration as stated. Downloaded the client ddclinet from their site and configured as much as I could... However the system doesn't seem to update the IP through the configuration file. Can someone explain to me how this file is supposed to be setup or perhaps a different site that will do the same things for me but with much less work??
Thanks all! Chris
...
I don't know how committed you are to DynDNS, so this may not help. I use ZoneEdit, and the update process is trivial in the extreme. In my /etc/ppp/ip-up.local, I have the following line:
curl http://myid:mypwd@dynamic.zoneedit.com/auth/dynamic.html?host=www2.altaregos...
DynDNS with ddclient can do this also, but why waste bandwith (I check every 5 minutes !) ? Only if my IP-address is changed I send an update to dynDNS. Ah, I see, I think you don't have a permanent connection, or no external router. Apart from that, dynDNS can provide you with a domain-name, ZoneEdit does not, as far as I can see on their web-site. But that's a question of preference. -- Met vriendelijke groeten, Koenraad Lelong R&D Manager ACE electronics n.v.
participants (4)
-
Chris Roubekas
-
Daryl Lee
-
Koenraad Lelong
-
Martin Mielke