Topic: sh script

Post sh script
by McMaster on 2017年12月15日

Hi
I am trying to run the crontab skript in a raspberry PI

But I just get "badauth" as the answer. Right now I am using my account password. I read you can setup a separate password. How and where do I do that... do you think that is the problem?

This is the line I am running
echo url="https://api.dynu.com/nic/update?hostname=vrg.macmaster.se&password=PASSWORD" | curl -k -o ~/dynudns/dynu.log -K -

Reply with quote | Report
Post Re: sh script
by timothytw on 2017年12月16日

Check vrg.macmaster.se is set up as a hostname or a subdomain for macmaster.se in the Dynu control panel.

If you have signed up for macmaster.se as dynamic DNS service and added vrg.macmaster.se in the 'Aliases' section, you need to use the following update URL:

https://api.dynu.com/nic/update?hostname=macmaster.se&alias=vrg&password=PASSWORD

Reply with quote | Report
Post Re: sh script
by timothytw on 2017年12月16日

The IP update password can be set in the Manage Credentials section of the control panel.

Reply with quote | Report
Post Re: Re: sh script
by McMaster on 2017年12月18日

timothytw wrote:Check vrg.macmaster.se is set up as a hostname or a subdomain for macmaster.se in the Dynu control panel.

If you have signed up for macmaster.se as dynamic DNS service and added vrg.macmaster.se in the 'Aliases' section, you need to use the following update URL:

https://api.dynu.com/nic/update?hostname=macmaster.se&alias=vrg&password=PASSWORD
Awesome, this did the trick.

THANKS!!!

Reply with quote | Report
2024年11月24日 10:07
Loading...