[OpenWrt-Devel] [PATCH] [packages] net/updatedd: Fix dyndns host for ovh

2008-06-15 Thread Olivier Sobrie
Ovh dyndns page has moved from http://ovh.com/nic... to
http://www.ovh.com/nic...
Using ovh.com as DYNDNSHOST causes updatedd to return 'Internal Server Error'.
Fix it to www.ovh.com

Signed-off-by: Olivier Sobrie <[EMAIL PROTECTED]>
---
 net/updatedd/patches/002-ovh-dyndnshost.patch |   12 
 1 files changed, 12 insertions(+), 0 deletions(-)
 create mode 100644 net/updatedd/patches/002-ovh-dyndnshost.patch

diff --git a/net/updatedd/patches/002-ovh-dyndnshost.patch 
b/net/updatedd/patches/002-ovh-dyndnshost.patch
new file mode 100644
index 000..0e617d9
--- /dev/null
+++ b/net/updatedd/patches/002-ovh-dyndnshost.patch
@@ -0,0 +1,12 @@
+diff -pruN updatedd-2.6-ori/src/plugins/libovh.h 
updatedd-2.6/src/plugins/libovh.h
+--- updatedd-2.6-ori/src/plugins/libovh.h  2006-09-07 22:32:59.0 
+0200
 updatedd-2.6/src/plugins/libovh.h  2008-06-08 13:12:17.0 +0200
+@@ -21,7 +21,7 @@
+ 
+ #include 
+ 
+-#define DYNDNSHOST"ovh.com"
++#define DYNDNSHOST"www.ovh.com"
+ #define PORT  80
+ 
+ #define BUFSIZE   512
-- 
1.5.2.2

___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] [packages] net/updatedd: Fix dyndns host for ovh

2008-06-15 Thread Oliver Ertl
Can you give the ddns-scripts a try?

ddns-scripts is more flexible in it's configurations and was desinged to make 
use of UCI.
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel


Re: [OpenWrt-Devel] [PATCH] [packages] net/updatedd: Fix dyndns host for ovh

2008-06-15 Thread Olivier Sobrie
Hi,

On Sun, Jun 15, 2008 at 01:27:07PM +0200, Oliver Ertl wrote:
> Can you give the ddns-scripts a try?
> ddns-scripts is more flexible in it's configurations and was desinged to make 
> use of UCI.

I just made the test with ddns-script. I works with:
/etc/config/ddns: option service_name "www.ovh.com"
/usr/lib/ddns/services:
 "www.ovh.com" "http://[USERNAME]:[EMAIL 
PROTECTED]/nic/update?system=dyndns&hostname=[DOMAIN]&myip=[IP]"

I only ran the script 'sh /usr/lib/ddns/dynamic_dns_updater.sh ovh', I didn't
test the whole mechanism with hotplug, etc.

[EMAIL PROTECTED]:~# sh /usr/lib/ddns/dynamic_dns_updater.sh ovh
...
Update Output:
 nochg 81.242.60.36frlain8 16:42:13 GMTUnix) mod_ssl/2.0.63 OpenSSL/0.9.8c
mod_perl/2.0.3 Perl/v5.8.8

Of course if I use ovh.com instead of www.ovh.com I get the same error that
says that the page has moved to www.ovh.com/nic...

-- 
Olivier Sobrie
___
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
http://lists.openwrt.org/cgi-bin/mailman/listinfo/openwrt-devel