Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
I have ddclient configured to use dyns.org, but for some reason it is not updating dyndns.org if my new ip addresses? Im not so sure there is a probably with my conf file as there maybe something blocking the port it uses.
Silly question: Did you read the README file in the package?
I tried to configure it based on the web help (ddclient.sourceforge.net) and really screwed it up the first time. Configuring the current package is very different for what you read online.
1) Can you tell if it is getting a valid IP address? Try running the debugger:
#ddclient -daemon=0 -debug -verbose -noquiet
and look though the output for hints.
2)If it has problems getting the IP address, try a different IP source like:
Originally posted by WhatsHisName Silly question: Did you read the README file in the package?
I tried to configure it based on the web help (ddclient.sourceforge.net) and really screwed it up the first time. Configuring the current package is very different for what you read online.
1) Can you tell if it is getting a valid IP address? Try running the debugger:
#ddclient -daemon=0 -debug -verbose -noquiet
and look though the output for hints.
*****Yea its not pulling the correct IP, its puling my LAN ip*********
2)If it has problems getting the IP address, try a different IP source like:
********Does this replace a line of code in my current config file, or do i just need to add it****************
3) Try running:
#ddclient -force # Force update of dyndns
******Think I found the real problem, my debian box can not ping any web addresses, and it does resolve them though, any thoughts on this**********
4)I have a lot of trouble resolving members.dyndns.org, so I now use an IP address in ddclient.conf.
******* thanks ill give this a shot***********
5) Maybe you just left it off, but I don’t see an update interval:
/etc/ddclient/ddclient.conf:
daemon=300 #update every 5 minutes
*******I didnt leave it out, thats my complete config file, I thought the default was set to update every 5 minutes, and if i wanted to modify it to another value, i would make that change******
Hope that helps.
PS: It is a really, really nice utility when you (eventually) get it to run, but the current documentation is horrible.
Thx again, any other additional info would be appreciated
When I use, ddclient -daemon=0 -debug -verbose -noquiet
When it tries to connect to an IP address it just hangs? This linux server is fairly new, I use it only as a lan server. I think I have an issue with my network, I am able to resolve internet addresses but u/a to ping them.
Yes, it sounds like the short term problem is a networking problem. My universal “helpful suggestion” is to stop the iptables service and try ddclient again.
I don’t understand. You can resolve a Fully Qualified Domain Name to an IP address, but pinging it doesn’t work? If you ping something like www.yahoo.com, what do you get? If the server is using a static IP address, are the gateway IP and DNS addresses properly defined on the server?
How odd. There seems to be a disconnect between the ability to get DNS and the ability to access the WAN gateway, almost like you are using an internal DNS server with a messed up WAN proxy.
Could you describe your LAN setup? Is the linux box directly connected to the WAN connection or do you use some type of linux or hardware gateway/router?
If the linux box is not the gateway, try assigning it a static IP address along with the gateway and DNS IP addresses. Likewise, if it has a static IP address, try using DHCP instead.
got a windows XP desktop, AIX box, and a debian woody box.
All connect to a router. Other machines connect fine.
The debian machine I do have 2 ethernet cards installed. Only really configured 1, Eth0. I plan on playing around with ip masquearding and trying it as a firewall at some time. Not sure if having to cards in there is an issue or not.
Here is my /etc/network/interfaces file
**************************************
auto lo
iface lo inet loopback
# The first network card - this entry was created during the Debian installation
# (network, broadcast and gateway are optional)
auto eth0
iface eth0 inet static
address 192.168.0.50
netmask 255.255.255.0
network 192.168.0.0
broadcast 192.168.0.255
gateway 192.168.0.1
You are probably right about the two NICs. I ran into similar problems on one linux box with two NICs, both connected to the LAN. Removing one solved the problems and it may work for you (or at least for diagnostic purposes). If you want to keep both, you should repost a question in this forum about using 2 NICs and the problem you are seeing with ping.
Back to ddclient, there is a debugging utility described in the README file that makes selecting which “use=...” to use trivial, if you want to use the router as the IP address source. It spits out a list of what each “use=...” configuration reports as the IP address and you can pick the one(s) that give the right IP address. For my Linksys router, there were 4 or 5 “use=...” options that gave the right IP address. And, of course, “use=linksys...” worked great.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.