Package: ddclient
Version: 3.6.7-2
Severity: normal

I use ddclient on two different NATs to support two different dyndns
hostnames. One is behind a LinkSys BEFSR41 and works perfectly. The other
is behind a LinkSys WRT54G and cannot retrieve the IP address from the
firewall. They are configured identically (down to the password on the
routers being the same). Running ddclient -debug -verbose, it appears that
ddclient is simply hitting the wrong URL on the WRT54G. The correct URL for
the BEFSR41 is http://192.168.1.1:80/Status.htm and ddclient uses it
correctly. The correct URL for the WRT54G is
http://192.168.1.1:80/Status_Router.asp and ddclient should fall back on
that. Alternately, there could be another option for "use" specific to the
WRT54G. I've submitted this as a bug rather than a wishlist only because I
expect that if I can specify "linksys" then it should work with any LinkSys
NAT router. See below for (sanitized) output:

# ddclient -debug -verbose
=== opt ====
opt{cache}                           : <undefined>
opt{cmd}                             : <undefined>
opt{cmd-skip}                        : <undefined>
opt{daemon}                          : <undefined>
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}                    : 2592000
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{syslog}                          : <undefined>
opt{test}                            : <undefined>
opt{timeout}                         : <undefined>
opt{use}                             : <undefined>
opt{verbose}                         : 1
opt{web}                             : <undefined>
opt{web-skip}                        : <undefined>
=== globals ====
globals{debug}                       : 1
globals{fw}                          : 192.168.1.1:80
globals{fw-password}                 : XXXXX
globals{login}                       : YYYYY
globals{password}                    : ZZZZZ
globals{pid}                         : /var/run/ddclient.pid
globals{protocol}                    : dyndns2
globals{quiet}                       : 0
globals{server}                      : members.dyndns.org
globals{use}                         : linksys
globals{verbose}                     : 1
=== config ====
config{MYHOST.dnsalias.org}{atime} : 0
config{MYHOST.dnsalias.org}{backupmx} : 0
config{MYHOST.dnsalias.org}{cacheable} : ARRAY(0x102b9f24)
config{MYHOST.dnsalias.org}{custom} : 0
config{MYHOST.dnsalias.org}{host}  : MYHOST.dnsalias.org
config{MYHOST.dnsalias.org}{ip}    : <undefined>
config{MYHOST.dnsalias.org}{login} : YYYYY
config{MYHOST.dnsalias.org}{max-interval} : 2592000
config{MYHOST.dnsalias.org}{min-error-interval} : 300
config{MYHOST.dnsalias.org}{min-interval} : 30
config{MYHOST.dnsalias.org}{mtime} : 0
config{MYHOST.dnsalias.org}{mx}    : 
config{MYHOST.dnsalias.org}{password} : ZZZZZ
config{MYHOST.dnsalias.org}{protocol} : dyndns2
config{MYHOST.dnsalias.org}{server} : members.dyndns.org
config{MYHOST.dnsalias.org}{static} : 0
config{MYHOST.dnsalias.org}{status} : 
config{MYHOST.dnsalias.org}{warned-min-error-interval} : 0
config{MYHOST.dnsalias.org}{warned-min-interval} : 0
config{MYHOST.dnsalias.org}{wildcard} : 0
config{MYHOST.dnsalias.org}{wtime} : 30
=== cache ====
CONNECT:  192.168.1.1:80
CONNECTED: 
SENDING:  GET /Status.htm HTTP/1.0
SENDING:   Host: 192.168.1.1:80
SENDING:   Authorization: Basic XXXXX
SENDING:   User-Agent: ddclient/3.6.7
SENDING:   Connection: close
SENDING:   
RECEIVE:  HTTP/1.0 404 Not Found
RECEIVE:  Server: httpd
RECEIVE:  Date: Sat, 21 Oct 2006 06:12:11 GMT
RECEIVE:  Content-Type: text/html
RECEIVE:  Connection: close
RECEIVE:  
RECEIVE:  <HTML><HEAD><TITLE>404 Not Found</TITLE></HEAD>
RECEIVE:  <BODY BGCOLOR="#cc9999"><H4>404 Not Found</H4>
RECEIVE:  File not found.
RECEIVE:  </BODY></HTML>
DEBUG:    get_ip: using linksys, http://192.168.1.1:80/Status.htm reports 
<undefined>
WARNING:  unable to determine IP address


-- System Information:
Debian Release: testing/unstable
  APT prefers testing
  APT policy: (990, 'testing'), (500, 'unstable'), (500, 'stable')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15-1-powerpc-smp
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)

Versions of packages ddclient depends on:
ii  debconf [debconf-2.0]         1.5.1      Debian configuration management sy
ii  perl [perl5]                  5.8.8-4    Larry Wall's Practical Extraction 

ddclient recommends no packages.

-- debconf information:
  ddclient/run_daemon: false
  ddclient/interface:
  ddclient/protocol: dyndns2
  ddclient/run_ipup: false
  ddclient/username:
  ddclient/newconfigfmt:
  ddclient/names:
  ddclient/modifiedconfig:
  ddclient/server:
  ddclient/daemon_interval: 300
  ddclient/service: www.dyndns.org


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to