Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
No-ip.com through a broadband router (NAT)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
Syldorian
n00b
n00b


Joined: 14 Jan 2004
Posts: 31

PostPosted: Fri Oct 08, 2004 4:10 pm    Post subject: No-ip.com through a broadband router (NAT) Reply with quote

Hi, I searched the boards for an answer to this, but I couldn't find exactly what I needed. I've got a no-ip.com account, and I need some way to update the IP from my public address. I was running an IPCop box before, so this wasn't a problem, but now I have a standalone Belkin router. I've seen lots of ways to grab the public IP from www.whatismyip.com, but I need some way to update no-ip's records with that information. Is there some simple way to do this from the command line, so I could set up a cronjob to keep it up-to-date?

I really appreciate any help. I wish I was better at scripting, so maybe I could do this myself.

Thanks for any replies.
Back to top
View user's profile Send private message
orionrobots
Apprentice
Apprentice


Joined: 07 Oct 2003
Posts: 289
Location: London, Uk

PostPosted: Fri Oct 08, 2004 4:50 pm    Post subject: ddclient Reply with quote

I use dyndns.org with DDclient - and I think it can be configured for other similar services.

AFAIK its in portage - emerge ddclient - fairly easy to set up.
_________________
Danny Staple, curator of http://orionrobots.co.uk
Adopt an unanswered post initiative https://forums.gentoo.org/search.php?search_id=unanswered
Back to top
View user's profile Send private message
Syldorian
n00b
n00b


Joined: 14 Jan 2004
Posts: 31

PostPosted: Fri Oct 08, 2004 7:33 pm    Post subject: Reply with quote

Thanks, orionrobots. I have a command that will send my public IP to standard out (from whatismyip.com). Do you know if it's possible to pipe that into ddclient? I wasn't able to get to ddclient's homepage to find out myself.
Back to top
View user's profile Send private message
nobspangle
Veteran
Veteran


Joined: 23 Mar 2004
Posts: 1318
Location: Manchester, UK

PostPosted: Sat Oct 09, 2004 9:50 am    Post subject: Reply with quote

Code:
# emerge -s noip
Searching...
[ Results for search key : noip ]
[ Applications found : 1 ]

*  net-dns/noip-updater
      Latest version available: 2.1.1-r1
      Latest version installed: [ Not Installed ]
      Size of downloaded files: 69 kB
      Homepage:    http://www.no-ip.com
      Description: no-ip.com dynamic DNS updater
      License:     GPL-2
That should do the trick.
Back to top
View user's profile Send private message
orionrobots
Apprentice
Apprentice


Joined: 07 Oct 2003
Posts: 289
Location: London, Uk

PostPosted: Sun Oct 10, 2004 9:12 am    Post subject: Reply with quote

Syldorian wrote:
Thanks, orionrobots. I have a command that will send my public IP to standard out (from whatismyip.com). Do you know if it's possible to pipe that into ddclient? I wasn't able to get to ddclient's homepage to find out myself.


I think nobspangles solution is worth a shot first, but with ddclient - it has some default settings of its own to get your iP address from a server (it has a few listed), so you may not need whatismyip.com. You may even find it has whatismyip.com listed already somewhere in its config file.
_________________
Danny Staple, curator of http://orionrobots.co.uk
Adopt an unanswered post initiative https://forums.gentoo.org/search.php?search_id=unanswered
Back to top
View user's profile Send private message
adsmith
Veteran
Veteran


Joined: 26 Sep 2004
Posts: 1386
Location: NC, USA

PostPosted: Sun Oct 10, 2004 10:06 pm    Post subject: Reply with quote

I have a setup like this with a LinkSys router and no-ip (tock.no-ip.org).

linksysmon (not in portage, but I can supply you with an ebuild), which watches the router through SNMP, catches IP changes of the DSL, and then it calls noip2update to do the DNS when the IP changes.
Back to top
View user's profile Send private message
Syldorian
n00b
n00b


Joined: 14 Jan 2004
Posts: 31

PostPosted: Mon Oct 11, 2004 3:17 am    Post subject: Reply with quote

Hey, thanks everybody. I think I got it working. The noip-updater software seems to have a setting to check the public address on a NAT network, so I'm just using it.

I appreciate all the help.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum