LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 01-29-2014, 04:51 AM   #1
roberto32
LQ Newbie
 
Registered: Dec 2013
Location: Slovakia (Modra)
Distribution: Suse 13.1. LMDE 13, ubuntu 12.04(not a newbie but passwd recovery is really weird a bug?)
Posts: 21

Rep: Reputation: Disabled
ddclient - login si invalid


I installed ddclient and edit ddclient.conf I'm using freedns.afraid.org
Code:
protocol=freedns                               
#proxy=fasthttp.sympatico.ca:80                 # default proxy
server=freedns.afraid.org                       # default server
#server=members.dyndns.org:8245                 # default server (bypassing proxies)
robertobalu.com.crabdance.com  # kde treba tu moju domenu specifikovat???
robertobalu.com.chickenkiller.com

login=my_login_name_at_freedns.afraid.org      
password=my_pass

Code:
]WARNING:  skipping host: robertobalu.com.chickenkiller.com: 'login=' is an invalid login.
WARNING:  skipping host: robertobalu.com.crabdance.com: 'login=' is an invalid login.
I chcecked the login info many times and it's 100% correct

Last edited by roberto32; 01-29-2014 at 04:53 AM.
 
Old 01-29-2014, 07:05 AM   #2
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,340

Rep: Reputation: Disabled
If you look closer, you'll see that it says that 'login=' is an invalid login. That is, an empty string is not a valid login, which certainly is true.

The order of parameters in ddclient.conf is important. You need to define the "login" and "password" parameter before specifying the server(s).
 
Old 01-29-2014, 08:11 AM   #3
roberto32
LQ Newbie
 
Registered: Dec 2013
Location: Slovakia (Modra)
Distribution: Suse 13.1. LMDE 13, ubuntu 12.04(not a newbie but passwd recovery is really weird a bug?)
Posts: 21

Original Poster
Rep: Reputation: Disabled
thanks but now I'm getting errors like this
Code:
2014-01-29T14:54:44.013329+01:00 linux-clui ddclient[27650]: WARNING:  file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''
2014-01-29T14:54:44.015313+01:00 linux-clui ddclient[27272]: WARNING:  file /var/cache/ddclient/ddclient.cache, line 3: Invalid Value for keyword 'ip' = ''
2014-01-29T14:54:44.018667+01:00 linux-clui ddclient[27650]: WARNING:  file /var/cache/ddclient/ddclient.cache, line 4: Invalid Value for keyword 'ip' = ''
2014-01-29T14:54:44.019302+01:00 linux-clui ddclient[27272]: WARNING:  file /var/cache/ddclient/ddclient.cache, line 4: Invalid Value for keyword 'ip' = ''
2014-01-29T14:54:44.023800+01:00 linux-clui ddclient[27650]: WARNING:  unable to determine IP address
2014-01-29T14:54:44.027197+01:00 linux-clui ddclient[27650]: WARNING:  unable to determine IP address
2014-01-29T14:58:57.608535+01:00 linux-clui ddclient[30350]: WARNING:  unable to determine IP address
Like do I've to set use=web, web=robertobalu.com.crabdance.com

Last edited by roberto32; 01-29-2014 at 10:00 AM. Reason: incomplete info
 
Old 01-29-2014, 08:27 AM   #4
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,340

Rep: Reputation: Disabled
If you've told ddclient how to determine the system's IP address, you didn't include that part in the (excerpt from?) ddclient.conf you posted initially.

There's supposed to be a "use=" parameter telling ddclient how to obtain the external IP address to be used when updating dynamic DNS records. It then writes that value to the file /var/cache/ddclient/ddclient.cache, to avoid unnecessarily updating the DNS record(s) if the IP address hasn't changed since ddclient last ran. As it currently can't find that IP address, the corresponding field in the cache file is empty.

Try adding "use=web", or "use=if" if the public IP address is directly assigned to an interface on your box. Se this page for more information about ddclient.
 
Old 01-29-2014, 11:20 AM   #5
roberto32
LQ Newbie
 
Registered: Dec 2013
Location: Slovakia (Modra)
Distribution: Suse 13.1. LMDE 13, ubuntu 12.04(not a newbie but passwd recovery is really weird a bug?)
Posts: 21

Original Poster
Rep: Reputation: Disabled
so I set
Code:
use=web, web=mydomainname
I set ddclient as a cron job to run every minute so my IP will be upadated at freedns.afraid.org, but when I run
Code:
 ddclient -daemon=0 -debug -verbose -noquiet
I get unable to determine IP adress warning
Code:
=== opt ====
opt{cache}                           : <undefined>
opt{cmd}                             : <undefined>
opt{cmd-skip}                        : <undefined>
opt{daemon}                          : 0
opt{debug}                           : 1
opt{exec}                            : <undefined>
opt{facility}                        : <undefined>
opt{file}                            : <undefined>
opt{force}                           : <undefined>
opt{foreground}                      : <undefined>
opt{fw}                              : <undefined>
opt{fw-login}                        : <undefined>
opt{fw-password}                     : <undefined>
opt{fw-skip}                         : <undefined>
opt{geturl}                          : <undefined>
opt{help}                            : <undefined>
opt{host}                            : <undefined>
opt{if}                              : <undefined>
opt{if-skip}                         : <undefined>
opt{ip}                              : <undefined>
opt{login}                           : <undefined>
opt{mail}                            : <undefined>
opt{mail-failure}                    : <undefined>
opt{max-interval}                    : 2160000
opt{min-error-interval}              : 300
opt{min-interval}                    : 30
opt{options}                         : <undefined>
opt{password}                        : <undefined>
opt{pid}                             : <undefined>
opt{postscript}                      : <undefined>
opt{priority}                        : <undefined>
opt{protocol}                        : <undefined>
opt{proxy}                           : <undefined>
opt{query}                           : <undefined>
opt{quiet}                           : 0
opt{retry}                           : <undefined>
opt{server}                          : <undefined>
opt{ssl}                             : <undefined>
opt{syslog}                          : <undefined>
opt{test}                            : <undefined>
opt{timeout}                         : <undefined>
opt{use}                             : <undefined>
opt{verbose}                         : 1
opt{web}                             : <undefined>
opt{web-skip}                        : <undefined>
=== globals ====
globals{daemon}                      : 60
globals{debug}                       : 1
globals{login}                       : roberto32
globals{mail-failure}                : root
globals{password}                    : high68flier
globals{pid}                         : /var/run/ddclient.pid
globals{protocol}                    : freedns
globals{quiet}                       : 0
globals{server}                      : freedns.afraid.org
globals{ssl}                         : 1
globals{syslog}                      : 1
globals{use}                         : web
globals{verbose}                     : 1
globals{web}                         : robertobalu.com.crabdance.com
=== config ====
config{robertobalu.com.chickenkiller.com}{atime} : 0
config{robertobalu.com.chickenkiller.com}{cacheable} : ARRAY(0x2ce4d90)
config{robertobalu.com.chickenkiller.com}{cmd} : <undefined>
config{robertobalu.com.chickenkiller.com}{cmd-skip} : 
config{robertobalu.com.chickenkiller.com}{fw} : 
config{robertobalu.com.chickenkiller.com}{fw-login} : <undefined>
config{robertobalu.com.chickenkiller.com}{fw-password} : 
config{robertobalu.com.chickenkiller.com}{fw-skip} : 
config{robertobalu.com.chickenkiller.com}{host} : robertobalu.com.chickenkiller.com
config{robertobalu.com.chickenkiller.com}{if} : ppp0
config{robertobalu.com.chickenkiller.com}{if-skip} : 
config{robertobalu.com.chickenkiller.com}{ip} : <undefined>
config{robertobalu.com.chickenkiller.com}{login} : roberto32
config{robertobalu.com.chickenkiller.com}{max-interval} : 2160000
config{robertobalu.com.chickenkiller.com}{min-error-interval} : 300
config{robertobalu.com.chickenkiller.com}{min-interval} : 300
config{robertobalu.com.chickenkiller.com}{mtime} : 0
config{robertobalu.com.chickenkiller.com}{password} : high68flier
config{robertobalu.com.chickenkiller.com}{protocol} : freedns
config{robertobalu.com.chickenkiller.com}{server} : freedns.afraid.org
config{robertobalu.com.chickenkiller.com}{status} : 
config{robertobalu.com.chickenkiller.com}{use} : web
config{robertobalu.com.chickenkiller.com}{warned-min-error-interval} : 0
config{robertobalu.com.chickenkiller.com}{warned-min-interval} : 0
config{robertobalu.com.chickenkiller.com}{web} : robertobalu.com.crabdance.com
config{robertobalu.com.chickenkiller.com}{web-skip} : 
config{robertobalu.com.chickenkiller.com}{wtime} : 30
config{robertobalu.com.crabdance.com}{atime} : 0
config{robertobalu.com.crabdance.com}{cacheable} : ARRAY(0x2ce4da8)
config{robertobalu.com.crabdance.com}{cmd} : <undefined>
config{robertobalu.com.crabdance.com}{cmd-skip} : 
config{robertobalu.com.crabdance.com}{fw} : 
config{robertobalu.com.crabdance.com}{fw-login} : <undefined>
config{robertobalu.com.crabdance.com}{fw-password} : 
config{robertobalu.com.crabdance.com}{fw-skip} : 
config{robertobalu.com.crabdance.com}{host} : robertobalu.com.crabdance.com
config{robertobalu.com.crabdance.com}{if} : ppp0
config{robertobalu.com.crabdance.com}{if-skip} : 
config{robertobalu.com.crabdance.com}{ip} : <undefined>
config{robertobalu.com.crabdance.com}{login} : roberto32
config{robertobalu.com.crabdance.com}{max-interval} : 2160000
config{robertobalu.com.crabdance.com}{min-error-interval} : 300
config{robertobalu.com.crabdance.com}{min-interval} : 300
config{robertobalu.com.crabdance.com}{mtime} : 0
config{robertobalu.com.crabdance.com}{password} : high68flier
config{robertobalu.com.crabdance.com}{protocol} : freedns
config{robertobalu.com.crabdance.com}{server} : freedns.afraid.org
config{robertobalu.com.crabdance.com}{status} : 
config{robertobalu.com.crabdance.com}{use} : web
config{robertobalu.com.crabdance.com}{warned-min-error-interval} : 0
config{robertobalu.com.crabdance.com}{warned-min-interval} : 0
config{robertobalu.com.crabdance.com}{web} : robertobalu.com.crabdance.com
config{robertobalu.com.crabdance.com}{web-skip} : 
config{robertobalu.com.crabdance.com}{wtime} : 30
=== cache ====
cache{robertobalu.com.chickenkiller.com}{atime} : 0
cache{robertobalu.com.chickenkiller.com}{host} : robertobalu.com.chickenkiller.com
cache{robertobalu.com.chickenkiller.com}{mtime} : 0
cache{robertobalu.com.chickenkiller.com}{status} : 
cache{robertobalu.com.chickenkiller.com}{warned-min-error-interval} : 0
cache{robertobalu.com.chickenkiller.com}{warned-min-interval} : 0
cache{robertobalu.com.chickenkiller.com}{wtime} : 30
cache{robertobalu.com.crabdance.com}{atime} : 0
cache{robertobalu.com.crabdance.com}{host} : robertobalu.com.crabdance.com
cache{robertobalu.com.crabdance.com}{mtime} : 0
cache{robertobalu.com.crabdance.com}{status} : 
cache{robertobalu.com.crabdance.com}{warned-min-error-interval} : 0
cache{robertobalu.com.crabdance.com}{warned-min-interval} : 0
cache{robertobalu.com.crabdance.com}{wtime} : 30
DEBUG:    proxy  = 
DEBUG:    url    = robertobalu.com.crabdance.com
DEBUG:    server = robertobalu.com.crabdance.com
CONNECT:  robertobalu.com.crabdance.com
CONNECTED:  using HTTP
SENDING:  GET / HTTP/1.0
SENDING:   Host: robertobalu.com.crabdance.com
SENDING:   User-Agent: ddclient/3.8.1
SENDING:   Connection: close
SENDING:   
RECEIVE:  HTTP/1.1 200 OK
RECEIVE:  Date: Wed, 29 Jan 2014 17:09:33 GMT
RECEIVE:  Server: Apache/2.4.6 (Linux/SUSE)
RECEIVE:  Last-Modified: Tue, 21 Jan 2014 16:37:35 GMT
RECEIVE:  ETag: "a3-4f07da030d39f"
RECEIVE:  Accept-Ranges: bytes
RECEIVE:  Content-Length: 163
RECEIVE:  Connection: close
RECEIVE:  Content-Type: text/html
RECEIVE:  
RECEIVE:  <html>
RECEIVE:  <head>
RECEIVE:  Welcome to my website
RECEIVE:  </head>
RECEIVE:  <body>
RECEIVE:  <script type ="text/javascript">
RECEIVE:  document.write("co cumis chces jednu do ciferniku");
RECEIVE:  </script>
RECEIVE:  </body>
RECEIVE:  </html>
DEBUG:    get_ip: using web, robertobalu.com.crabdance.com reports <undefined>
WARNING:  unable to determine IP address
DEBUG:    proxy  = 
DEBUG:    url    = robertobalu.com.crabdance.com
DEBUG:    server = robertobalu.com.crabdance.com
CONNECT:  robertobalu.com.crabdance.com
CONNECTED:  using HTTP
SENDING:  GET / HTTP/1.0
SENDING:   Host: robertobalu.com.crabdance.com
SENDING:   User-Agent: ddclient/3.8.1
SENDING:   Connection: close
SENDING:   
RECEIVE:  HTTP/1.1 200 OK
RECEIVE:  Date: Wed, 29 Jan 2014 17:09:33 GMT
RECEIVE:  Server: Apache/2.4.6 (Linux/SUSE)
RECEIVE:  Last-Modified: Tue, 21 Jan 2014 16:37:35 GMT
RECEIVE:  ETag: "a3-4f07da030d39f"
RECEIVE:  Accept-Ranges: bytes
RECEIVE:  Content-Length: 163
RECEIVE:  Connection: close
RECEIVE:  Content-Type: text/html
RECEIVE:  
RECEIVE:  <html>
RECEIVE:  <head>
RECEIVE:  Welcome to my website
RECEIVE:  </head>
RECEIVE:  <body>
RECEIVE:  <script type ="text/javascript">
RECEIVE:  document.write("co cumis chces jednu do ciferniku");
RECEIVE:  </script>
RECEIVE:  </body>
RECEIVE:  </html>
DEBUG:    get_ip: using web, robertobalu.com.crabdance.com reports <undefined>
WARNING:  unable to determine IP address
 
Old 01-29-2014, 03:43 PM   #6
Ser Olmy
Senior Member
 
Registered: Jan 2012
Distribution: Slackware
Posts: 3,340

Rep: Reputation: Disabled
You're not supposed to specify your own web page as the "web=" parameter. The idea is to point the script at a web page that reports the IP address of the client back to it.

If you omit the "web=" parameter, the script should use a web page provided by DynDNS as a default. That ought to work.
 
Old 01-30-2014, 04:17 AM   #7
roberto32
LQ Newbie
 
Registered: Dec 2013
Location: Slovakia (Modra)
Distribution: Suse 13.1. LMDE 13, ubuntu 12.04(not a newbie but passwd recovery is really weird a bug?)
Posts: 21

Original Poster
Rep: Reputation: Disabled
thanks I solve it I set
Code:
use=vigor-2200usb, fw=192.168.1.1:80
fw-login=user,  fw-password=myrooter_pass
(even if I've vigor 2700 but if the older is supported why the newer shouldn't be ) and it works fine
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
ddclient and ddclient.conf help to understand wolfsar Linux - Networking 8 12-28-2012 10:55 AM
keep getting invalid login when trying to login via telnet said76 Ubuntu 1 08-23-2011 08:58 PM
invalid login attempts not refused using deny hosts and conf of denyhost not working tkmsr Linux - Security 1 10-28-2010 08:00 AM
qmail + courier imap + squirrelmail...can't login using squirremail..user invalid rnj Linux - Newbie 6 10-11-2004 11:14 PM
Yahoo messenger for Linux gives invalid login taillefer Linux - Software 3 03-22-2004 01:46 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:46 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration