So... it won't update!

medicnick83

Paramedic
Joined
Aug 23, 2006
Messages
21,005
I can connect to my PC from anywhere using address gdiza.adomainname.co.za:6001 (example)

But, when the IP's on my 'router' change, it doesn't update so currently, using my gdiza.adomainname.co.za:6001 address, I can't connect.

Setup of the "router" is as follows;

Shorewall setup,
Squid setup,
3 LAN Cards (ETH0, ETH1, ETH2 (not active currently),
2 PPP connections;
PPP0 is the international account (TelkomSA account)
PPP1 is the local account (TelkomSA account)

At some point there will be a PPP2 which will be another account, but for WebAfrica traffic so when I play on their servers, well, you know the idea.

How do I fix this?!? (if my IP's on PPP's change, I can connect to my PC via gdiza.adomainname.co.za:6001)

I know very little when it comes to this Gentoo Linux server (it was setup for me by my boss) and he could probably log in and fix it but I'd like to try fix it myself (with your help) and learn something!

So please guys, help me out; teach me something, treat me like I'm completely stupid (but do it nicely) so I can learn something here.
 
Last edited:

koffiejunkie

Executive Member
Joined
Aug 23, 2004
Messages
9,588
First, don't run Gentoo on a server unless you know what you're doing, which doesn't seem to be the case:

I know very little when it comes to this Gentoo Linux server...

Second, search Genoo's ports for 'ddclient' - it's a daemon that sits and waits for your IP to change, then updates your dynamic dns account. It can work with a number of providers, if I remember correctly.

Oh, and, RTFM!
 
Last edited:

MyWorld

Executive Member
Joined
Mar 24, 2004
Messages
5,001
koffiejunkie, i feel the need to reprimand you here a little - your attitude stinks in this case.

If you followed his posts in the past you would have know that he MUST use Gentoo, he has no choice in the matter.
http://mybroadband.co.za/vb/showthread.php?183708-You-re-not-going-to-believe-this

And this:
but I'd like to try fix it myself (with your help) and learn something!

So please guys, help me out; teach me something, treat me like I'm completely stupid (but do it nicely) so I can learn something here.
should be worthy of respect.

To answer the OP:
This only happens when you use dhcp on Gentoo and I do not know the correct way around this since I always used static IP on Gentoo exactly for this reason. The Gentoo forums or wiki should be able to assit you.
How I solved this was just to:
/etc/init.d/net.eth0 restart
This is not the correct way as far I'm aware, but it works and takes like 5 seconds.
 

koffiejunkie

Executive Member
Joined
Aug 23, 2004
Messages
9,588
koffiejunkie, i feel the need to reprimand you here a little - your attitude stinks in this case.

Really? If you read my 5980 posts you'd know that I generally have a fairly light-hearted approach to these matters (granted, I forgot to put the smiley in, but then I am serious about it). But I don't think it's reasonable to expect anyone to know my posting history before replying to my posts.

I did, after all, give him a recommendation, in Gentoo nomenclature, based on experience dealing with this exact problem, in Gentoo. And pointed him to the relevant documentation.

On a serious note, my quip about using Gentoo is based on my experience working for a large hosting provider. Most clients who use Gentoo don't do so because it addresses a specific need but instead because some misguided fanboy IT guy told them it's the "best" distro. As I said before, unless you know exactly what you're doing, it's not. It's arguably the worst.

Peace
 

koffiejunkie

Executive Member
Joined
Aug 23, 2004
Messages
9,588
To the OP, sorry if my first response sounded arsey. It certainly wasn't intended that way.
 
Top