On Wed, 2006-08-02 at 06:33 -0500, Steve Jeppesen wrote:
On Tue, 01 Aug 2006 17:46:14 -0400 Ken Schneider wrote:
IIANM I added the following to the perl script:
'linksys-ver2' => { 'name' => 'Linksys FW version 2', 'url' => '/Status_Router.asp', 'skip' => 'var wan_ip = ', },
because the it was not correct in the original script and added the following to the ddclient.conf file:
Ken,
I take it that was an older version, I've found these two entries in version 3.6.6;
'linksys-ver2' => { 'name' => 'Linksys FW version 2', 'url' => '/RouterStatus.htm', 'skip' => 'WAN.*?Address', }, and
'linksys-wrt854g' => { 'name' => 'Linksys WRT854G FW', 'url' => '/Status_Router.asp', 'skip' => 'IP Address:', },
is it possible either of these would work? If not, should I just change linksys-ver2 to match what you posted instead of adding another listing for ver2?
bare with me, I'm not used to doing these sort of things!
I am using SuSE 9.3 on the machine that runs ddclient and installed that in May of last year. The memory not being what it once was I seem to recall that I modified the -ver2 entry. I verified the router connection errors I think in /var/log/messages to make the necessary changes. I just know that what I am using works to update both of the domains at dyndns.org that I manage. Also, you can add as many entries in the ddclient script as you want. For the "usr" simply log into the router and note the url used for the status page, I think it is different from what "ver2" shows by default. YMMV. -- Ken Schneider UNIX since 1989, linux since 1994, SuSE since 1998