[arch-ports] updating dynamic address dns
hi, I have a dynamic address, I try to install ddclient (from aur) but I havent positive result ... with conf: daemon=300 syslog=yes mail=root mail-failure=root pid=/var/run/ddclient.pid ssl=yes protocol=dyndns2 server=dyndns.it login=xxxxxxxx password=yyyyyyyy sacarde.homepc.it is there any other package to update address for dynamic-DNS ? on ppc of course thankyou sacarde@tiscali.it
Would be interesting to see what it actually says about why it failed. sacarde wrote:
hi, I have a dynamic address, I try to install ddclient (from aur) but I havent positive result ...
with conf:
daemon=300 syslog=yes mail=root mail-failure=root pid=/var/run/ddclient.pid ssl=yes protocol=dyndns2 server=dyndns.it login=xxxxxxxx password=yyyyyyyy sacarde.homepc.it
is there any other package to update address for dynamic-DNS ?
on ppc of course
thankyou
sacarde@tiscali.it
_______________________________________________ arch-ports mailing list arch-ports@archlinux.org http://archlinux.org/mailman/listinfo/arch-ports
On Sunday 15 July 2007 17:03:27 you wrote:
Would be interesting to see what it actually says about why it failed.
I view that IP address is not updated I use script on /etc/rc.d/ddclient like the one for i386 if I run, I have: ddclient -daemon=0-debug -verbose Use of uninitialized value in numeric lt (<) at /usr/sbin/ddclient line 1005.
Am Sonntag, den 15.07.2007, 17:21 +0200 schrieb sacarde:
On Sunday 15 July 2007 17:03:27 you wrote:
Would be interesting to see what it actually says about why it failed.
I view that IP address is not updated
I use script on /etc/rc.d/ddclient like the one for i386
if I run, I have:
ddclient -daemon=0-debug -verbose Use of uninitialized value in numeric lt (<) at /usr/sbin/ddclient line 1005.
the reason for this message is a missing space, try again with: ddclient -daemon=0 -debug -verbose
On Sunday 15 July 2007 19:14:04 you wrote:
ddclient -daemon=0 -debug -verbose
ddclient -daemon=0 -debug -verbose WARNING: file /var/cache/ddclient/ddclient.cache, line 4: Invalid Value for keyword 'ip' = '' === opt ==== opt{cache} : <undefined> opt{cmd} : <undefined> opt{cmd-skip} : <undefined> opt{daemon} : 0 opt{debug} : 1 opt{exec} : <undefined> opt{facility} : <undefined> opt{file} : <undefined> opt{force} : <undefined> opt{fw} : <undefined> opt{fw-login} : <undefined> opt{fw-password} : <undefined> opt{fw-skip} : <undefined> opt{geturl} : <undefined> opt{help} : <undefined> opt{host} : <undefined> opt{if} : <undefined> opt{if-skip} : <undefined> opt{ip} : <undefined> opt{login} : <undefined> opt{mail} : <undefined> opt{mail-failure} : <undefined> opt{max-interval} : 2160000 opt{min-error-interval} : 300 opt{min-interval} : 30 opt{options} : <undefined> opt{password} : <undefined> opt{pid} : <undefined> opt{priority} : <undefined> opt{protocol} : <undefined> opt{proxy} : <undefined> opt{query} : <undefined> opt{quiet} : 0 opt{retry} : <undefined> opt{server} : <undefined> opt{ssl} : <undefined> opt{syslog} : <undefined> opt{test} : <undefined> opt{timeout} : <undefined> opt{use} : <undefined> opt{verbose} : 1 opt{web} : <undefined> opt{web-skip} : <undefined> === globals ==== globals{daemon} : 60 globals{debug} : 1 globals{login} : sacarde globals{mail} : root globals{mail-failure} : root globals{password} : Cardell1 globals{pid} : /var/run/ddclient.pid globals{protocol} : dyndns2 globals{quiet} : 0 globals{server} : dyndns.it globals{ssl} : 1 globals{syslog} : 1 globals{verbose} : 1 === config ==== config{sacarde.homepc.it}{atime} : 1184509530 config{sacarde.homepc.it}{backupmx} : 0 config{sacarde.homepc.it}{cacheable} : ARRAY(0x103ec460) config{sacarde.homepc.it}{custom} : 0 config{sacarde.homepc.it}{host} : sacarde.homepc.it config{sacarde.homepc.it}{ip} : <undefined> config{sacarde.homepc.it}{login} : sacarde config{sacarde.homepc.it}{max-interval} : 2160000 config{sacarde.homepc.it}{min-error-interval} : 300 config{sacarde.homepc.it}{min-interval} : 30 config{sacarde.homepc.it}{mtime} : 0 config{sacarde.homepc.it}{mx} : config{sacarde.homepc.it}{password} : Cardell1 config{sacarde.homepc.it}{protocol} : dyndns2 config{sacarde.homepc.it}{server} : dyndns.it config{sacarde.homepc.it}{static} : 0 config{sacarde.homepc.it}{status} : noconnect config{sacarde.homepc.it}{warned-min-error-interval} : 0 config{sacarde.homepc.it}{warned-min-interval} : 0 config{sacarde.homepc.it}{wildcard} : 0 config{sacarde.homepc.it}{wtime} : 30 === cache ==== cache{c.org}{host} : c.org cache{sacarde.homepc.it}{atime} : 1184509530 cache{sacarde.homepc.it}{backupmx} : 0 cache{sacarde.homepc.it}{custom} : 0 cache{sacarde.homepc.it}{host} : sacarde.homepc.it cache{sacarde.homepc.it}{mtime} : 0 cache{sacarde.homepc.it}{mx} : cache{sacarde.homepc.it}{static} : 0 cache{sacarde.homepc.it}{status} : noconnect cache{sacarde.homepc.it}{warned-min-error-interval} : 0 cache{sacarde.homepc.it}{warned-min-interval} : 0 cache{sacarde.homepc.it}{wildcard} : 0 cache{sacarde.homepc.it}{wtime} : 30 cache{sacarde.homepc.org}{atime} : 1184444504 cache{sacarde.homepc.org}{backupmx} : 0 cache{sacarde.homepc.org}{custom} : 0 cache{sacarde.homepc.org}{host} : sacarde.homepc.org cache{sacarde.homepc.org}{mtime} : 0 cache{sacarde.homepc.org}{mx} : cache{sacarde.homepc.org}{static} : 0 cache{sacarde.homepc.org}{status} : noconnect cache{sacarde.homepc.org}{warned-min-error-interval} : 1184444575 cache{sacarde.homepc.org}{warned-min-interval} : 0 cache{sacarde.homepc.org}{wildcard} : 0 cache{sacarde.homepc.org}{wtime} : 30 DEBUG: get_ip: using ip, ip reports <undefined> WARNING: unable to determine IP address Can't exec "sendmail": No such file or directory at /usr/sbin/ddclient line 1344. ddclient: cannot execute command | sendmail -oi root.
You might want to change your password now... you posted it to a public ML >.< sacarde wrote:
On Sunday 15 July 2007 19:14:04 you wrote:
ddclient -daemon=0 -debug -verbose
ddclient -daemon=0 -debug -verbose WARNING: file /var/cache/ddclient/ddclient.cache, line 4: Invalid Value for keyword 'ip' = '' === opt ==== opt{cache} : <undefined> opt{cmd} : <undefined> opt{cmd-skip} : <undefined> opt{daemon} : 0 opt{debug} : 1 opt{exec} : <undefined> opt{facility} : <undefined> opt{file} : <undefined> opt{force} : <undefined> opt{fw} : <undefined> opt{fw-login} : <undefined> opt{fw-password} : <undefined> opt{fw-skip} : <undefined> opt{geturl} : <undefined> opt{help} : <undefined> opt{host} : <undefined> opt{if} : <undefined> opt{if-skip} : <undefined> opt{ip} : <undefined> opt{login} : <undefined> opt{mail} : <undefined> opt{mail-failure} : <undefined> opt{max-interval} : 2160000 opt{min-error-interval} : 300 opt{min-interval} : 30 opt{options} : <undefined> opt{password} : <undefined> opt{pid} : <undefined> opt{priority} : <undefined> opt{protocol} : <undefined> opt{proxy} : <undefined> opt{query} : <undefined> opt{quiet} : 0 opt{retry} : <undefined> opt{server} : <undefined> opt{ssl} : <undefined> opt{syslog} : <undefined> opt{test} : <undefined> opt{timeout} : <undefined> opt{use} : <undefined> opt{verbose} : 1 opt{web} : <undefined> opt{web-skip} : <undefined> === globals ==== globals{daemon} : 60 globals{debug} : 1 globals{login} : sacarde globals{mail} : root globals{mail-failure} : root globals{password} : Cardell1 globals{pid} : /var/run/ddclient.pid globals{protocol} : dyndns2 globals{quiet} : 0 globals{server} : dyndns.it globals{ssl} : 1 globals{syslog} : 1 globals{verbose} : 1 === config ==== config{sacarde.homepc.it}{atime} : 1184509530 config{sacarde.homepc.it}{backupmx} : 0 config{sacarde.homepc.it}{cacheable} : ARRAY(0x103ec460) config{sacarde.homepc.it}{custom} : 0 config{sacarde.homepc.it}{host} : sacarde.homepc.it config{sacarde.homepc.it}{ip} : <undefined> config{sacarde.homepc.it}{login} : sacarde config{sacarde.homepc.it}{max-interval} : 2160000 config{sacarde.homepc.it}{min-error-interval} : 300 config{sacarde.homepc.it}{min-interval} : 30 config{sacarde.homepc.it}{mtime} : 0 config{sacarde.homepc.it}{mx} : config{sacarde.homepc.it}{password} : Cardell1 config{sacarde.homepc.it}{protocol} : dyndns2 config{sacarde.homepc.it}{server} : dyndns.it config{sacarde.homepc.it}{static} : 0 config{sacarde.homepc.it}{status} : noconnect config{sacarde.homepc.it}{warned-min-error-interval} : 0 config{sacarde.homepc.it}{warned-min-interval} : 0 config{sacarde.homepc.it}{wildcard} : 0 config{sacarde.homepc.it}{wtime} : 30 === cache ==== cache{c.org}{host} : c.org cache{sacarde.homepc.it}{atime} : 1184509530 cache{sacarde.homepc.it}{backupmx} : 0 cache{sacarde.homepc.it}{custom} : 0 cache{sacarde.homepc.it}{host} : sacarde.homepc.it cache{sacarde.homepc.it}{mtime} : 0 cache{sacarde.homepc.it}{mx} : cache{sacarde.homepc.it}{static} : 0 cache{sacarde.homepc.it}{status} : noconnect cache{sacarde.homepc.it}{warned-min-error-interval} : 0 cache{sacarde.homepc.it}{warned-min-interval} : 0 cache{sacarde.homepc.it}{wildcard} : 0 cache{sacarde.homepc.it}{wtime} : 30 cache{sacarde.homepc.org}{atime} : 1184444504 cache{sacarde.homepc.org}{backupmx} : 0 cache{sacarde.homepc.org}{custom} : 0 cache{sacarde.homepc.org}{host} : sacarde.homepc.org cache{sacarde.homepc.org}{mtime} : 0 cache{sacarde.homepc.org}{mx} : cache{sacarde.homepc.org}{static} : 0 cache{sacarde.homepc.org}{status} : noconnect cache{sacarde.homepc.org}{warned-min-error-interval} : 1184444575 cache{sacarde.homepc.org}{warned-min-interval} : 0 cache{sacarde.homepc.org}{wildcard} : 0 cache{sacarde.homepc.org}{wtime} : 30 DEBUG: get_ip: using ip, ip reports <undefined> WARNING: unable to determine IP address Can't exec "sendmail": No such file or directory at /usr/sbin/ddclient line 1344. ddclient: cannot execute command | sendmail -oi root.
_______________________________________________ arch-ports mailing list arch-ports@archlinux.org http://archlinux.org/mailman/listinfo/arch-ports
On Sunday 15 July 2007 19:27:25 Greg Helton wrote:
You might want to change your password now... you posted it to a public ML >.<
sorry I changed it thankyou
Am Sonntag, den 15.07.2007, 13:27 -0400 schrieb Greg Helton:
You might want to change your password now... you posted it to a public ML >.<
Just what I wanted to say. Shit happens ;-). You're behind some sort of router, right? The script can't find your ip-address, you need to configure the (use=...) section according to your hardware.
On Sunday 15 July 2007 19:39:06 Armin Luntzer wrote:
Am Sonntag, den 15.07.2007, 13:27 -0400 schrieb Greg Helton:
You might want to change your password now... you posted it to a public ML >.<
Just what I wanted to say. Shit happens ;-).
You're behind some sort of router, right? The script can't find your ip-address, you need to configure the (use=...) section according to your hardware.
I try with use=web, web=http://checkip.dyndns.org, web-skip='Current IP Address: ' or with use=web, web=checkip.dyndns.org or only use=web same error, ip isnot updated
_______________________________________________ arch-ports mailing list arch-ports@archlinux.org http://archlinux.org/mailman/listinfo/arch-ports
Am Sonntag, den 15.07.2007, 19:44 +0200 schrieb sacarde:
I try with
use=web, web=http://checkip.dyndns.org, web-skip='Current IP Address: '
or with
use=web, web=checkip.dyndns.org
or only
use=web
same error, ip isnot updated
works for me with: use=web, web=checkip.dyndns.org/, web-skip='Current IP Address: '
works for me with:
use=web, web=checkip.dyndns.org/, web-skip='Current IP Address: '
I have standard configuration on my NETGEAR DG834G may be there the problem thankyou
I have standard configuration on my NETGEAR DG834G
may be there the problem
I think have updated and configured my router I ask you... when I run ddclient -daemon=0 -debug -verbose I read at bottom ... ... RECEIVE: <html><head><title>Current IP Check</title></head><body>Current IP Address: 151.72.111.227</body></html> DEBUG: get_ip: using web, http://checkip.dyndns.org/ reports 151.72.111.227 Use of uninitialized value in string ne at /usr/sbin/ddclient line 1966. WARNING: skipping update of sacarde.homepc.it from <nothing> to 151.72.111.227. WARNING: last updated <never> but last attempt on Mon Jul 16 17:13:06 2007 failed. WARNING: Wait at least 5 minutes between update attempts. Can't exec "sendmail": No such file or directory at /usr/sbin/ddclient line 1344. ddclient: cannot execute command | sendmail -oi root. I havent sendmail.... it reach my ip right why sendmail ?? thankyou
Can't exec "sendmail": No such file or directory at /usr/sbin/ddclient line 1344. ddclient: cannot execute command | sendmail -oi root.
I installed postfix, now I have: RECEIVE: <html><head><title>Current IP Check</title></head><body>Current IP Address: 151.72.111.227</body></html> DEBUG: get_ip: using web, http://checkip.dyndns.org/ reports 151.72.111.227 Use of uninitialized value in string ne at /usr/sbin/ddclient line 1966. WARNING: skipping update of sacarde.homepc.it from <nothing> to 151.72.111.227. WARNING: last updated <never> but last attempt on Mon Jul 16 18:25:26 2007 failed. WARNING: Wait at least 5 minutes between update attempts. postdrop: warning: unable to look up public/pickup: No such file or directory I dont understand: means of: <nothing> and what is: public/pickup
On Mon, Jul 16, 2007 at 06:32:01PM +0200, sacarde wrote:
Can't exec "sendmail": No such file or directory at /usr/sbin/ddclient line 1344. ddclient: cannot execute command | sendmail -oi root.
I installed postfix, now I have:
RECEIVE: <html><head><title>Current IP Check</title></head><body>Current IP Address: 151.72.111.227</body></html> DEBUG: get_ip: using web, http://checkip.dyndns.org/ reports 151.72.111.227 Use of uninitialized value in string ne at /usr/sbin/ddclient line 1966. WARNING: skipping update of sacarde.homepc.it from <nothing> to 151.72.111.227. WARNING: last updated <never> but last attempt on Mon Jul 16 18:25:26 2007 failed. WARNING: Wait at least 5 minutes between update attempts. postdrop: warning: unable to look up public/pickup: No such file or directory
I dont understand: means of: <nothing>
and what is: public/pickup This seems to be a problem in your postfix configuration... you did configure it, right? At the very least, you'll want to: edit /etc/postfix/aliases # set alias of root to your username to get # admin mail postalias /etc/postfix/aliases # hash this table edit /etc/postfix/main.cf # edit a few things here: myhostname # shouldn't need to change this from the default # (unspecified, it uses the value set in /etc/rc.conf mydomain # again, shouldn't need to change this unless you # didn't set it in /etc/rc.conf. If your box isn't a # mail host online, then just ignor ethis entirely.. myorigin # you probably want to leave this as the default # $myhostname inetinterfaces = localhost # this makes your mail daemon not # listen on network interfaces for # new mail mydestination = $myhostname, localhost.$mydomain, localhost # if you know why you need it, you can append other # things here. Otherwise, stick with those three. mynetworks_style = host # don't trust remote users, don't relay their mail. This # is probably redundant in light of inetinterfaces being # set to only bind to localhost, but paranoia is good.
Now, fire up postfix: /etc/rc.d/postfix start Use sendmail to make sure mail sent to root ends up in your mail spool:
$ sendmail -t # enter what comes below to: root from: <youruser> subject: testing alias map
Test ^D $
And check that it ends up in the local mailspool. If you use a gui client to read email, any decent one should be able to add a local mailspool. It'll be called "unix mail" or something like that. The spool is at /var/mail/$user Now you have mail delivery set up on your local machine. Now, as for ddclient... it is, in my opinion, crap. Use updatedd. I've attached a package build. Edit the configuration of your service in /usr/etc/updatedd-wrapper.conf, and then put updatedd-wrapper in a cron job. Do, as root:
# crontab -e and then insert this line: */10 * * * * /usr/bin/updatedd-wrapper which runs the updatedd-wrapper script every ten minutes.
Matthew
I solved ... removing /var/cache/ddclient/ddclient.cache there is an error in that file thankyou
participants (5)
-
Alexander Baldeck
-
Armin Luntzer
-
Greg Helton
-
Matthew William Cox
-
sacarde