Topic: sh script

Post sh script
by McMaster on vendredi 15 décembre 2017

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 samedi 16 décembre 2017

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 samedi 16 décembre 2017

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 lundi 18 décembre 2017

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
jeudi 26 décembre 2024 04:21
Loading...