Update from the Raspberry is failing. Update from the Raspberry...

Topic: Update from the Raspberry is failing.

Post Update from the Raspberry is failing.
by Wlodek on Thursday, August 2, 2018

According to the page
https://www.dynu.com/DynamicDNS/IPUpdateClient/RaspberryPi-Dynamic-DNS
describing the setup of the IP Update Client for Raspberry the following code should be used:
echo url="https://api.dynu.com/nic/update?username=USERNAME&password=PASSWORD" | curl -k -o ~/dynudns/dynu.log -K -

I tried using my dynu login name and password for the USERNAME and PASSWORD fields, but I always get badauth in the dynu.log file.
On the terminal window I get:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7 100 7 0 0 12 0 --:--:-- --:--:-- --:--:-- 12

I assume that the update is failing. Right? Why?

Reply with quote | Report
Post Re: Update from the Raspberry is failing.
by 2rboddns on Tuesday, October 20, 2020

Same here. I configured my raspberry according to your guide, and dynu.com shows update request, but IP address remains the same. Once I'm doing it's manually - working fine.

If any support could be provided?

Reply with quote | Report
Post Re: Update from the Raspberry is failing.
by vesey on Tuesday, October 20, 2020

Wlodek wrote:According to the page
https://www.dynu.com/DynamicDNS/IPUpdateClient/RaspberryPi-Dynamic-DNS
describing the setup of the IP Update Client for Raspberry the following code should be used:
echo url="https://api.dynu.com/nic/update?username=USERNAME&password=PASSWORD" | curl -k -o ~/dynudns/dynu.log -K -

I tried using my dynu login name and password for the USERNAME and PASSWORD fields, but I always get badauth in the dynu.log file.
On the terminal window I get:
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7 100 7 0 0 12 0 --:--:-- --:--:-- --:--:-- 12

I assume that the update is failing. Right? Why?
badauth code is given in 2 cases:

1. Your username and password does not match
2. All hostnames in your account are assigned to a group. The username/password combination updates hostnames in the account that are not assigned to a group. This case is not very obvious and clearly they could have come up with a better error code.

Reply with quote | Report
Post Re: Re: Update from the Raspberry is failing.
by vesey on Tuesday, October 20, 2020

2rboddns wrote:Same here. I configured my raspberry according to your guide, and dynu.com shows update request, but IP address remains the same. Once I'm doing it's manually - working fine.

If any support could be provided?
Where are you seeing 'dynu.com shows update request'?

Reply with quote | Report
Thursday, December 26, 2024 4:15 AM
Loading...