Correct configuration when having dynamic IP

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
User avatar
Notorious
Posts: 501
Joined: Thu May 28, 2009 3:50 pm
Location: Sweden

Correct configuration when having dynamic IP

Post by Notorious »

I recently had to change ISP and am now forced to use a dynamic IP.
I need some good info on how to set it up so that if IP changes, the login-server will pick up on this, and ppl can get in without me having to restart server.

I've registered the ip at no-ip.org, let's call it myserver.no-ip.org

In my login I have this:
ExternalHostname = myserver.no-ip.org
InternalHostname = 127.0.0.1
RouterHostname = myserver.no-ip.org (not really behind a router, but just in case)
LoginserverHostname = myserver.no-ip.org
IpUpdateTime = 5

In my server config, I have this:
ExternalHostname = myserver.no-ip.org
InternalHostname = *
GameserverHostname = myserver.no-ip.org

If I put a * on ExternalHostname in the server config, loginserver will get an error, saying it can't find *, so I put the no-ip there instead, and it works great. Servers connect to the loginserver, and ppl can connect to the server, and all is OK...
BUT, this morning I noticed the IP had changed, and the loginserver hadn't picked up on the change, and nobody could get in for a couple of hours.

Before I updated to my current version of the server, I tested all this on my not so updated test-server, and there I could enter * as external hostname in the config for the server, but since then, it seems the loginserver has changed quite a bit, and this setting (*) is no longer valid.

Or am I doing something wrong?

Please advice!

Much appreciated.
hope
Posts: 1160
Joined: Thu Aug 30, 2007 5:17 pm

Re: Correct configuration when having dynamic IP

Post by hope »

myserver.no-ip.org dont use this
User avatar
Notorious
Posts: 501
Joined: Thu May 28, 2009 3:50 pm
Location: Sweden

Re: Correct configuration when having dynamic IP

Post by Notorious »

"myserver.no-ip.org dont use this"

Is this the full and complete answer to my question then? To not use dynamic IP?

Then what the heck is this good for:

Code: Select all

# The delay in minutes after which the login updates the gameservers IP's (usefull when their ip is dynamic)# Default: 15IpUpdateTime = 5
And the info claiming it's useful when using dynamic IP is completely misleading and should be removed.
Nemesis_hommage
Posts: 53
Joined: Fri Nov 06, 2009 9:42 am

Re: Correct configuration when having dynamic IP

Post by Nemesis_hommage »

maybe just change the refrehtime of the no-ip duc
User avatar
Notorious
Posts: 501
Joined: Thu May 28, 2009 3:50 pm
Location: Sweden

Re: Correct configuration when having dynamic IP

Post by Notorious »

It's not that the IP isn't updated by the DUC - this works perfectly - but the server don't recognize the change, and this is what I thought it meant by "IpUpdateTime". So either it's not working as it should, or I'm doing something wrong, and therefore I wrote the question, but so far the only reply I got told me to not use dynamic IP.
magestik
Posts: 31
Joined: Tue Jul 19, 2005 3:21 pm

Re: Correct configuration when having dynamic IP

Post by magestik »

have you installed the Dynamic DNS update client from NO-IP.COM (in the download section).
This lil prog runs in the background and tells no-ip.com if your IP changes, which then updates your 'myserver.noip.org' setting.
User avatar
Notorious
Posts: 501
Joined: Thu May 28, 2009 3:50 pm
Location: Sweden

Re: Correct configuration when having dynamic IP

Post by Notorious »

magestik wrote:have you installed the Dynamic DNS update client from NO-IP.COM (in the download section).
This lil prog runs in the background and tells no-ip.com if your IP changes, which then updates your 'myserver.noip.org' setting.
Yes, I have, and as I said, the update of the IP to no-ip.com works perfectly, but the server is still unavailable to the players, even after hours since the update of the IP, because it seems the loginserver doesn't detect the change of IP.
What I'm asking is if I have done the configuration correctly, or if I may have missed something.

It could very well be a one-time-thing, that it didn't work. I'm waiting for the IP to change to verify if it works or not! :D
User avatar
Notorious
Posts: 501
Joined: Thu May 28, 2009 3:50 pm
Location: Sweden

Re: Correct configuration when having dynamic IP

Post by Notorious »

Not a one-time-thing. Had a new IP today, and once again, loginserver didn't recognize the change. I tried to restart the loginserver, but even though I could login, I couldn't connect to the server itself.

Is there anybody out there who has a working solution for this?
noob256
Posts: 11
Joined: Sun Aug 05, 2007 12:52 pm
Location: germany

Re: Correct configuration when having dynamic IP

Post by noob256 »

i found that for me the software tool to update dynamic dns didnt update correctly at times.
though they do not advise it, updating worked for me much better entering the no-ip (or dyndns) acc data in my router and loosing the software tool.
but still wouldnt work for me either with the loginserv.
so in the end i ordered a static ip from a small-sized business company who are re-renting unused ips from their pool sometimes for a decent price (used wrocklage.de). i don t know how that works in sweden but you might consider such an option.
the keltir is a feeble slob
all people want his fang
they re going crazy like a mob
and rape him in a gang

he ain t amused by such a plot
but says "lolwut i do not care
i let the gremlin take my spot
and spawn inside antharas lair".
Post Reply