SYSTEM WARNING: 'date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone.' in '/usr/share/mantis/www/core.php' line 264

0001542: DDNS for no-ip.com does not work - MantisBT
MantisBT - Endian Firewall
View Issue Details
0001542Endian FirewallOther Servicespublic2009-02-01 21:432012-01-13 11:42
jaebird 
 
normalminoralways
acknowledgedopen 
2.2-rc3 
 
0001542: DDNS for no-ip.com does not work
no-ip.com dynamic dns update does not work. It seems that the config file format for noip client no longer accepts the format endian is providing.

The config file endian uses is: /var/efw/ddns/noipsettings and uses the text file format of 10 key/value pairs. Apparently at some point noip changed it to a binary file format. When executing /usr/bin/noip it outputs:

'/var/efw/ddns/noipsettings' is not a valid configuration file. Ending!

The version into noip reports is: Linux-2.1.1
No tags attached.
has duplicate 0004331new  setddns.pl fails to update noip DDNS service 
child of 0001937confirmed peter-endian issues to fix with ddns 
Issue History
2009-02-01 21:43jaebirdNew Issue
2010-09-20 18:22peter-endianRelationship addedchild of 0001937
2010-09-20 18:23peter-endianStatusnew => acknowledged
2012-01-13 11:42luca-endianNote Added: 0007629
2012-04-20 11:18luca-endianRelationship addedhas duplicate 0004331

Notes
(0007629)
luca-endian   
2012-01-13 11:42   
I found how to fix this problem manually.

First of all change the line 100 in /usr/local/bin/setddns.pl
from:
my @ddnscommand = ('/usr/bin/noip','-c',"${swroot}/ddns/noipsettings",'-i',"$ip");

to:
my @ddnscommand = ('/usr/bin/noip','-i',"$ip");

Then via command line run the no-ip configuration wizard with and specify the red interface (it doesn't really matter) and provide your credentials.

root@efw:/var/efw/ddns # /usr/bin/noip -C

Auto configuration for Linux client of no-ip.com.

Multiple network devices have been detected.

Please select the Internet interface from this list.

By typing the number associated with it.
0 eth3
1 br0
2 br1
3 br1
4 br1
5 ipsec0
6 tun0
0
Please enter the login/email string for no-ip.com your-login-name
Please enter the password for user 'your-login-name' ********

Only one host [xxx.no-ip.org] is registered to this account.
It will be used.
Please enter an update interval:[30]
Do you wish to run something at successful update?[N] (y/N) N

New configuration file '/usr/local/etc/no-ip2.conf' created.

In this way all the endian scripts wil be able to work normally.
You can immediately see if it works by running the "force update" button on the gui, your no-ip record should be updated right away.