[cod] v1.1 setup but can't connect

Orr, Roland Cadet Orr at cadetmail.uscga.edu
Thu Apr 22 00:24:14 EDT 2004


ahh, I had the exact same problem, James - but i didn't have a firewall.  I
doubt the firewall is the issue, so lemme tell you what I did to fix it, and
maybe itll work for you.
 
It was the most bizzare thing, too, cuz sometimes people could join and
sometimes they couldn't.  This is extraneous information, but what I did to
figure it out was ran the server with +set developer 1, so that it displayed
on the console EVERYTHING that happened.  I found that people could join
when codauthorize.activision.com timed out (i.e. when their key wasn't
authed), and could not join when the connection was resolved.
 
Here's what you wanna know: I had to use the /etc/hosts file to get around
the cd key authorization, and I'll let you know how to fix it - but realize
that as of 1.2, I no longer have the problem, and I'm pretty sure 1.3
completely fixes it.  If you don't know what the /etc/hosts file is, don't
worry cuz ill explain it.
 
ya know what, now that I think about it, I have answered this question
several times before... lemme get a link to the forum.... <long pause>
 
that's odd.. for some reason, www.callofduty.org <http://www.callofduty.org>
seems to be down.  I dont wanna go through it all again, so i was gonna give
you a link to a thread in the forums on callofduty.org where I answered this
question before - but apparently i can't =/
 
basically, all you do is open /etc/hosts with the editor of your choice (i
use vi), and add a line in ther like this:
codauthorize.activision.com        127.0.0.1
 
what this does is it tells your computer that anytime a program tries to
resolve codauthorize.activision.com to an IP address, to use 127.0.0.1.  the
IP address 127.0.0.1 is always a loopback IP address, meaning that it points
back to your computer (if you're clever, you'll notice that one of the lines
in the /etc/hosts file does that!).  In other words, if your IP address is
1.2.3.4, on YOUR computer, 127.0.0.1 is effectively the same as 1.2.3.4.
 
why does this work?  well, when the server tries to find
codauthorize.activision.com, linux checks your /etc/hosts file, sees that
you've told your computer that codauthorize.activision.com is really
127.0.0.1, and then checks port 20500 on your computer to try and authorize
the CD keys.  well, obviously your computer is not running the software to
auth the CD keys, so the authorization times out, and after a few seconds,
the people can join.
 
Hope this helps!

 
 
 From: James Casey - DigitalNetwork Limited [mailto:james at nucleus.co.nz]
Sent: Wednesday, April 21, 2004 11:25 PM
To: cod at icculus.org
Subject: Re: [cod] v1.1 setup but can't connect



Nope still giving me the same error.
 
when a user connects it prints out the following to the screen.
 
"Resolving codauthorise.activision.com
codauthorize.activision.co resolved to 63.146.124.59:20500"
 
Although the server isn't for the internet the machine is connected to the
internet.
 
James

----- Original Message ----- 
From: Kernel Error <mailto:kernelerror at hosgonewhack.com>  
To: cod at icculus.org <mailto:cod at icculus.org>  
Sent: Thursday, April 22, 2004 3:14 PM
Subject: Re: [cod] v1.1 setup but can't connect

ok when you start the game are you using 
+set dedicated 1
as a command line option?  what it sounds like is that the game is trying to
contact activision to authorize the cd key but if the server isn't on the
internet it wont be able to.
 
 
 
----- Original Message ----- 
From: "James Casey - DigitalNetwork Limited" <  <mailto:james at nucleus.co.nz>
james at nucleus.co.nz>
To: <  <mailto:cod at icculus.org> cod at icculus.org>
Sent: Wednesday, April 21, 2004 10:10 PM
Subject: Re: [cod] v1.1 setup but can't connect

> Only on a lan, i am setting up for testing so that in the end i will be
able
> to setup an internet server, everyone on the lan is using version 1.1
> 
> James
> ----- Original Message ----- 
> From: "Kernel Error" <  <mailto:kernelerror at hosgonewhack.com>
kernelerror at hosgonewhack.com>
> To: <  <mailto:cod at icculus.org> cod at icculus.org>
> Sent: Thursday, April 22, 2004 2:59 PM
> Subject: Re: [cod] v1.1 setup but can't connect
> 
> 
> > Are you only hosting it on the lan or are people connecting to it
through
> > the internet?
> >
> > ----- Original Message -----
> > From: "James Casey - DigitalNetwork Limited" <
<mailto:james at nucleus.co.nz> james at nucleus.co.nz>
> > To: <  <mailto:cod at icculus.org> cod at icculus.org>
> > Sent: Wednesday, April 21, 2004 9:35 PM
> > Subject: [cod] v1.1 setup but can't connect
> >
> >
> > > Hi all
> > >
> > > This is my first post and this question has probably been answered a
> > thousad
> > > times before but i have just setup a linux server v1.1 and it's up and
> > > running but when people try to connect to it (it's a local server) it
> says
> > > awaiting cd key authenitcation, has anyone had this problem and could
> > point
> > > me in the right direction i have looked through google but i can't
find
> > > anyone with the same problem.
> > >
> > > Thanks in advance
> > >
> > > James
> > >
> > >
> > >
> >
> >
> >
> >
> 
> 
> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20040422/84b0bc28/attachment.htm>


More information about the Cod mailing list