SomeWhereOverTheRainBow
Part of the Furniture
Does any body have a working configuration for setting up asuscomm.com inside in-a-dyn custom?
iterations = 1
provider update@asus.com {
hostname = yourhostname.asuscomm.com
username = "AAA"
password = "BBB"
}
nvram get lan_hwaddr
nvram get secret_code
I was just about to respond that I looked inside /etc/inadyn.conf and figured it out.. as for theAsus's DDNS requires you to first register the account with Asus. Simplest way to do this is to configure it through the webui, the router will then issue the special request to register it.
Once it's registered, then you can use it with a custom Inadyn configuration:
Code:iterations = 1 provider update@asus.com { hostname = yourhostname.asuscomm.com username = "AAA" password = "BBB" }
The username can be obtained with
Code:nvram get lan_hwaddr
And the password:
Code:nvram get secret_code
nvram values i just used
$(nvram get value) for each value
That won't work. That config file is not a shell script, so it cannot execute commands.
#!/bin/sh
cat << EOF >> /etc/inadyn.conf
iterations = 1
provider update@asus.com {
hostname = $(nvram get ddns_hostname_x)
username = "$(nvram get lan_hwaddr)"
password = "$(nvram get secret_code)"
checkip-command = "/usr/sbin/nvram get wan0_ipaddr"
wildcard = true
}
EOF
Code:#!/bin/sh cat << EOF >> /etc/inadyn.conf iterations = 1 provider update@asus.com { hostname = $(nvram get ddns_hostname_x) username = "$(nvram get lan_hwaddr)" password = "$(nvram get secret_code)" checkip-command = "/usr/sbin/nvram get wan0_ipaddr" wildcard = true } EOF
inside /jffs/scripts/inadyn.postconf
it is not for that I am setting up a pretty lengthy setup, but you are right I could also use the config method, but i am actually using ddns_hostname_x as a buffer to sub in only part of the actual domain address for multiple different sets of sub domains.Why do you want to use a custom script? I assume it was because you needed to support two different DDNS services, in which case ddns_hostname_x will already be used by that other service.
Hi.Asus's DDNS requires you to first register the account with Asus. Simplest way to do this is to configure it through the webui, the router will then issue the special request to register it.
Once it's registered, then you can use it with a custom Inadyn configuration:
Code:iterations = 1 provider update@asus.com { hostname = yourhostname.asuscomm.com username = "AAA" password = "BBB" }
The username can be obtained with
Code:nvram get lan_hwaddr
And the password:
Code:nvram get secret_code
Hi.
I have a correct entries in /etc/inadyn.conf file, but still get 401 authentication error. It's funy if my time is incorrect I can register hostname, but fails at certificate (not yet operational).
Welcome To SNBForums
SNBForums is a community for anyone who wants to learn about or discuss the latest in wireless routers, network storage and the ins and outs of building and maintaining a small network.
If you'd like to post a question, simply register and have at it!
While you're at it, please check out SmallNetBuilder for product reviews and our famous Router Charts, Ranker and plenty more!