Hi.
I always automatically type sudo su. I did the chmod 777 and got the same result. Here is what I got when I typed 'inadyn'. Notice 2 errors, 1 before the help file, and 1 after.
root@raspberrypi:/home/pi# inadyn
W:INADYN:CMD_LINE_OPT: Invalid option name at position 10 ('--default@no-ip.com')
INADYN Help
INADYN is a dynamic DNS client. That is, it maintains the IP address
of a host name. It periodically checks whether the IP address of the current machine
(the external visible IP address of the machine that runs INADYN) has changed.
If yes it performs an update in the dynamic dns server.
Typical usage:
-for dyndns.org system:
inadyn -u username -p password -a my.registrated.name
-for freedns.afraid.org:
inadyn --dyndns_system default@freedns.afraid.org -a my.registrated.name,hash -a anothername,hash2
'hash' is extracted from the grab url batch file that is downloaded from freedns.afraid.org
Parameters:
'--help': help
'-h': help
'--username': your membername/ hash
'-u': your membername / hash
'--password': your password. Optional.
'-p': your password
'--alias': alias host name. this option can appear multiple times.
'-a': alias host name. this option can appear multiple times.
'--input_file': the file containing [further] inadyn options.The default config file, '/etc/inadyn.conf' is used if inadyn is called without any cmd line options.
'--ip_server_name': - local IP is detected by parsing the response after returned by this server and URL.
The first IP in found in http response is considered 'my IP'.
Default value: 'checkip.dyndns.org /
'--dyndns_server_name': [[:port]]
The server that receives the update DNS request.
Allows the use of unknown DNS services that accept HTTP updates.
If no proxy is wanted, then it is enough to set the dyndns system. The default servers will be taken.
'--dyndns_server_url':
full URL relative to DynDNS server root.
Ex: /some_script.php?hostname=
'--dyndns_system': [NAME] - optional DYNDNS service type. SHOULD be one of the following:
-For dyndns.org DNS system: dyndns@dyndns.org OR statdns@dyndns.org OR customdns@dyndns.org.
-For freedns.afraid.org DNS system: default@freedns.afraid.org
-For www.zoneedit.com DNS system: default@zoneedit.com
-For www.no-ip.com DNS system: default@no-ip.com
-For generic DNS system: custom@http_svr_basic_auth
DEFAULT value is intended for default service at dyndns.org (most users): dyndns@dyndns.org
'--proxy_server': [NAME[:port]] - the http proxy server name and port. Default is none.
'--update_period': how often the IP is checked. The period is in [ms]. Default is about 1 min. Max is 10 days
'--update_period_sec': how often the IP is checked. The period is in [sec]. Default is about 1 min. Max is 10 days
'--forced_update_period': how often the IP is updated even if it is not changed. [in sec]
'--log_file': log file path abd name
'--background': run in background. output to log file or to syslog
'--verbose': set dbg level. 0 to 5
'--iterations': set the number of DNS updates. Default is 0, which means infinity.
'--syslog': force logging to syslog . (e.g. /var/log/messages). Works on **NIX systems only.
'--change_persona': after init switch to a new user/group. Parameters: to change to. Works on **NIX systems only.
'--version': print the version number
W:INADYN: Main: Error 'RC_CMD_PARSER_INVALID_OPTION' (0x50).
Also, do I type '--alias dyn_name.ddns.net' or just '--dyn_name.ddns.net ' for line 3?