Argomento: sh script

Post sh script
di McMaster su venerdì 15 dicembre 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 -

Rispondi con citazione | Segnalare
Post Re: sh script
di timothytw su sabato 16 dicembre 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

Rispondi con citazione | Segnalare
Post Re: sh script
di timothytw su sabato 16 dicembre 2017

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

Rispondi con citazione | Segnalare
Post Re: Re: sh script
di McMaster su lunedì 18 dicembre 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!!!

Rispondi con citazione | Segnalare
giovedì 19 dicembre 2024 08:39
Loading...