[cod] COD4 Linux noob

[FnG] Lambik fng.lambik at gmail.com
Mon Jun 9 13:08:14 EDT 2008


I think you should change the order of your command line
You had *+exec server.cfg* first, which will make it execute the server.cfg
first then ignore any other information equal as in the server.cfg.

try this order:
./cod4_lnxded* +set dedicated 2* *+set net_ip 209.242.12.190 +set net_port
38961* +set fs_basepath /home/msanborn/COD4 +set fs_homepath
/home/msanborn/COD4 +set fs_savepath /home/msanborn/COD4 +exec server2.cfg
+map_rotate
{the *dedicated* part should be the first if I am correct }


also on the linux box, try to see if you server is listening:
*                       netstat -anp*              {-a = any, n = nummeric,
p = display programnames}
you should see cod4_lnxed in the list (probably 2 times, a query port too)

When you connect from your client to the server, check the logs if you see
any error msg

if you don't have a serverlog, you could change your commandline into
./cod4_lnxded  +set dedicated 2 +set net_ip 209.242.12.190 +set net_port
38961 +set fs_basepath /home/msanborn/COD4 +set fs_homepath
/home/msanborn/COD4 +set fs_savepath /home/msanborn/COD4 +exec server2.cfg
+map_rotate *2>cod4-server.log &*

            2>cod4-server.log  => means route all std err message to
cod4-server.log {this also prevents the annoying message scrolling on your
screen.
            1> somefile.txt      => means route all std out messages to
somefile.txt
            &    => means run this process in the background.

After you have attempted to connect with your cod4 client to your cod
server, type *cat cod4-server.log* in your linux console to display the log
file.
Check if you see your ip address, or maybe even your user id.
If you do not see any thing comming in, then you should check you routing,
firewall, maybe portforwarding . . that kind of stuff..

Hope this helps you a bit further,

Lambik




On Mon, Jun 9, 2008 at 6:22 PM, Donald Stephens <
donald.stephens at activant.com> wrote:

>   Start the server and let it run for a few minutes.
>
>
>  ------------------------------
>
> *From:* Marco Strauß [mailto:marco.strauss at googlemail.com]
> *Sent:* Monday, June 09, 2008 9:20 AM
>
> *To:* cod at icculus.org
> *Subject:* Re: [cod] COD4 Linux noob
>
>
>
> in addtion to last hint:
>
> If u can connect 20min after starting the server, u just have a problem to
> resolve cod4master.activision.com...
>
> mfg
> TosSat
>
> On Mon, Jun 9, 2008 at 6:14 PM, Donald Stephens <
> donald.stephens at activant.com> wrote:
>
> Start the server and at the console type "heartbeat" does it resolve to
> cod4master.activision.com?
>
> Do you have names resolution on this box?
>
>
> -----Original Message-----
> From: Mark Sanborn [mailto:marksanborn at dls.net]
>
> Sent: Monday, June 09, 2008 9:10 AM
> To: cod at icculus.org
> Subject: Re: [cod] COD4 Linux noob
>
> sorry. 209.242.12.190
>
> Still can not connect though.
>
> Donald Stephens wrote:
> > That IP cant be right.
> >
> > 290.242.12.190
> >
> > -----Original Message-----
> > From: Mark Sanborn [mailto:marksanborn at dls.net]
> > Sent: Monday, June 09, 2008 9:01 AM
> > To: cod at icculus.org
> > Subject: Re: [cod] COD4 Linux noob
> >
> > I am using the startup command (all 1 line):
> >
> > ./cod4_lnxded +exec server2.cfg +set dedicated 2 +set fs_basepath
> > /home/msanborn/COD4 +set fs_homepath /home/msanborn/COD4 +set
> > fs_savepath /home/msanborn/COD4 +set net_ip 290.242.12.190 +set
> net_port
> >
> > 38961 +map_rotate
> >
> > I have a static IP, the switch is not doing nat, so my IP is my
> external
> >
> > IP. I can see the console output punkbuster messages I have setup and
> > when I do a status, everything looks ok.
> >
> > I just can not connect. Both the server and client are 1.6. I have
> tried
> >
> > using a few different ports thinking something is using it.
> >
> > Not sure what else to look at.
> >
> > Mark
> >
> > Sgt Crapgame wrote:
> >> Hi,
> >>
> >> you have to use +set dedicated 2 for an Internet server and +set
> >> dedicated 1 for a LAN server.
> >> I don't know what is the default value if you don't specify this
> > flag...
> >>
> >> ----------------------------------
> >> Sgt Crapgame
> >> http://www.yagsb.com/
> >> ----------------------------------
> >>
> >> 2008/6/9 Donald Stephens <donald.stephens at activant.com
> >> <mailto:donald.stephens at activant.com>>:
> >>
> >>     Below is the startup for one of my servers. I'm doing NAT so my
> IP
> > is
> >>     different. Are you behind a NAT firewall if so try setting your
> IP
> > to
> >>     that of the actual box and not the public IP.
> >>
> >>
> >>     ./cod4_lnxded +exec serversetting.cfg +set dedicated 2 +set
> > fs_basepath
> >>     /home/cod4-5 +set fs_homepath /home/cod4-5 +set fs_savepath
> > /home/cod4-5
> >>     +set net_ip 192.168.1.50 <http://192.168.1.50> +set net_port 3160
> >>     +set ui_maxclients "54"
> >>     +map_rotate
> >>
> >>     Do you have the set dedicated flag turned on like I do above?
> This
> >>     determines if its seen on the master browser.
> >>
> >>     -Don
> >>
> >>
> >
> > ---
> > To unsubscribe, send a blank email to cod-unsubscribe at icculus.org
> > Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38
> >
> >
> > Notice: This transmission is for the sole use of the intended
> recipient(s) and may contain information that is confidential and/or
> privileged.  If you are not the intended recipient, please delete this
> transmission and any attachments and notify the sender by return email
> immediately.  Any unauthorized review, use, disclosure or distribution
> is prohibited.
> >
> >
> > ---
> > To unsubscribe, send a blank email to cod-unsubscribe at icculus.org
> > Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38
> >
> >
> >
>
> ---
> To unsubscribe, send a blank email to cod-unsubscribe at icculus.org
> Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38
>
>
> Notice: This transmission is for the sole use of the intended recipient(s)
> and may contain information that is confidential and/or privileged.  If you
> are not the intended recipient, please delete this transmission and any
> attachments and notify the sender by return email immediately.  Any
> unauthorized review, use, disclosure or distribution is prohibited.
>
>
> ---
> To unsubscribe, send a blank email to cod-unsubscribe at icculus.org
> Mailing list archives: http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?38
>
>
>
>
> Notice: This transmission is for the sole use of the intended recipient(s)
> and may contain information that is confidential and/or privileged.  If you
> are not the intended recipient, please delete this transmission and any
> attachments and notify the sender by return email immediately.  Any
> unauthorized review, use, disclosure or distribution is prohibited.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20080609/ae6c3860/attachment.htm>


More information about the Cod mailing list