Page 1 of 1

Dedicated server problem. Please Help.

Posted: Wed Feb 01, 2012 7:33 pm
by murataj
If you want to receive support we need this info to help you properly.
» Find Revision
L2J Revision Number:
L2JDP Revision Number:

Hello, I had an interlude server once, but and it was working fine, but now this H5 really confuses me.. Can i get some help on making my server dedicated? This is the host file:

Code: Select all

# Copyright (c) 1993-2009 Microsoft Corp.## This is a sample HOSTS file used by Microsoft TCP/IP for Windows.## This file contains the mappings of IP addresses to host names. Each# entry should be kept on an individual line. The IP address should# be placed in the first column followed by the corresponding host name.# The IP address and the host name should be separated by at least one# space.## Additionally, comments (such as these) may be inserted on individual# lines or following the machine name denoted by a '#' symbol.## For example:##      102.54.94.97     rhino.acme.com          # source server#       38.25.63.10     x.acme.com              # x client host # localhost name resolution is handled within DNS itself.#   127.0.0.1       localhost#   ::1             localhost127.0.0.1       localhostl2reality.no-ip.biz L2authd.lineage2.com
This is the ipconfig.xml file:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?><!-- l2reality.no-ip.biz --><gameserver address="l2reality.no-ip.biz" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ipconfig.xsd">    <!-- Localhost here -->    <define subnet="127.0.0.0/8" address="127.0.0.1" />    <!-- Internalhosts here (LANs IPs) -->    <define subnet="192.0.0.0/8" address="192.168.2.3" />    <define subnet="192.16.0.0/19" address="192.168.2.3" />    <define subnet="192.168.0.0/16" address="192.168.2.3" /></gameserver>
My IP is dynamic so i created a host on no-ip.com, so my IP now is l2reality.no-ip.biz.
My lan IP i think is 192.169.2.3, but just to be sure, that's what i get when i type 'ipconfig' on cmd:

Code: Select all

   Επίθημα DNS συγκεκριμένης σύνδεσης:   Address IPv6 lan connection. : fe80::3c3c:674c:ac35:f9f0%10   Address IPv4. . . . . . . . . . : 192.168.2.3   Subnet mask. . . . . . . . . : 255.255.255.0   Predefined gate . . . . . . .  : 192.168.2.1I translated those in english, so.. sorry if something's wrong. It's not my system's fault :P 
Also, on my router, when i added the ports to forward, on the box where it says to enter the target IP. I entered my local one. Because it won't accept l2reality.no-ip.biz. Is that ok? or is it a problem? Thanks for your time
Please.. Help me with my problem, and if there is something more except these that i need to edit, tell me.. Or if you know any step by step guide.. Thanks in advance..

Edit: Image of my hosts file, ipconfig.xml, my no-ip address, and my router's ports to forward
http://img408.imageshack.us/img408/4053/toupload.png

Re: Dedicated server problem, Need Help.

Posted: Wed Feb 01, 2012 11:17 pm
by tukune
See http://trac.l2jserver.com/wiki/hosts

127.0.0.1 localhost
l2reality.no-ip.biz L2authd.lineage2.com :evil:
192.168.2.3 L2authd.lineage2.com :D
have to "number.number.number.number"

<?xml version="1.0" encoding="UTF-8"?>
<!-- l2reality.no-ip.biz -->
<gameserver address="l2reality.no-ip.biz" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ipconfig.xsd">
<!-- Localhost here -->
<define subnet="127.0.0.0/8" address="127.0.0.1" />
<!-- Internalhosts here (LANs IPs) -->
<define subnet="10.0.0.0/8" address="10.0.0.0" /> :D
<define subnet="172.16.0.0/19" address="172.16.0.0" /> :D
<define subnet="192.168.0.0/16" address="192.168.2.3" />
</gameserver>

Re: Dedicated server problem, Need Help.

Posted: Thu Feb 02, 2012 10:33 am
by murataj
Thanks, i'll try it when I get home.. But still, I don't think that's all i need to do, and I can't say that I fully understand it, could you be a bit more specific please?.. Like, the line in red is what I should change or in what I should change it? And the blue lines? does it mean I should have it like this? and what do you mean by saying
<<have to "number.number.number.number">> Anyway, I'll try, I appriciate your help.

Re: Dedicated server problem, Need Help.

Posted: Thu Feb 02, 2012 1:53 pm
by murataj
banned wrote:See http://trac.l2jserver.com/wiki/hosts

127.0.0.1 localhost
l2reality.no-ip.biz L2authd.lineage2.com :evil:
192.168.2.3 L2authd.lineage2.com :D
have to "number.number.number.number"

<?xml version="1.0" encoding="UTF-8"?>
<!-- l2reality.no-ip.biz -->
<gameserver address="l2reality.no-ip.biz" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="ipconfig.xsd">
<!-- Localhost here -->
<define subnet="127.0.0.0/8" address="127.0.0.1" />
<!-- Internalhosts here (LANs IPs) -->
<define subnet="10.0.0.0/8" address="10.0.0.0" /> :D
<define subnet="172.16.0.0/19" address="172.16.0.0" /> :D
<define subnet="192.168.0.0/16" address="192.168.2.3" />
</gameserver>
I tried it... Did everything you said, except that "have to "number.number.number.number"" which i don't understand and didn't work.. :? :| Any other suggestion?

Re: Dedicated server problem. Please Help.

Posted: Thu Feb 02, 2012 4:02 pm
by Zoey76
He means that you can not bind a DNS to another DNS in HOSTS file.
This way is not valid:

Code: Select all

yahoo.com google.com
You can do IP - DNS

Code: Select all

127.0.0.1 google.com

Re: Dedicated server problem. Please Help.

Posted: Thu Feb 02, 2012 4:19 pm
by afk5min
DNS = Domain Name System. The correct term you wanted to use is a domain name.

On the subject:
Hosts file is an alternative to a DNS server. It functions 'like' a DNS server; maps domain names to IP addresses. That's why you cannot map mydomain.com to myotherdomain.com, because both are domain names.

Hosts file is queried before the DNS server(s) so that the user (for example in a corporate network) could map certain domains to LAN (10.*.*.* or alternative) addresses. Actually, the example given in the hosts file is about that as well.

Re: Dedicated server problem. Please Help.

Posted: Thu Feb 02, 2012 6:50 pm
by murataj
You ain't helping guys..

Re: Dedicated server problem. Please Help.

Posted: Thu Feb 02, 2012 7:57 pm
by afk5min
If you are using no-ip (because of a dynamic IP), you cannot use hosts file to connect.

HOWEVER, your IP changes only if you do a /release (/renew) or restart/power off your router, doesn't it.
Therefore you CAN use hosts file in a way. You need a launcher that would resolve no-ip to an IP address, write that to hosts file and launch L2. Then when an IP changes, your users only need to re-launch L2.