Alliedassault           
FAQ Calendar
Go Back   Alliedassault > Lounge > Tech Questions & Problems
Reload this Page A problem setting up linux server...I hope this helps....
Tech Questions & Problems Ask our resident experts about any military shooter game server administration and other technical issues.

Reply
 
Thread Tools Display Modes
A problem setting up linux server...I hope this helps....
Old
  (#1)
[NBK] G.I. Jerk is Offline
Senior Member
 
Posts: 292
Join Date: Apr 2002
Location: Calgary, Ab. CanaDUH
 Send a message via ICQ to [NBK] G.I. Jerk Send a message via MSN to [NBK] G.I. Jerk  
Default A problem setting up linux server...I hope this helps.... - 08-08-2002, 06:48 PM

Well since I can't see the original post I'll just try to cover the basics....

The server runs as any user (but only root if under port 1024.... this is Linux's security restriction.... not server's)

You need to be patched to 1.11

You MUST have intact pak files. Read the text file that came with it for the MD5SUM string. To check pak's out for corruption, in a CONSOLE (linux console not the games aka TERMINAL) type "md5sum *.pk3" (w/out quotes) and compare the output to the text file. If the screen scrolls by too fast add the MORE command. IE: "md5sum *.pk3 | more" or redirect it to a txt file like "md5sum *.pk3 >filename.txt". To read the txt file (assuming no graphical desktop is installed like my linux server) use the "cat" command. IE: "cat filename.txt | more"

Put the linux server executable in your MOHAA folder where mohaa.exe is and NOT /MAIN

Linux has no idea the executable is a proggie until you TELL it. This required a a "chmod" (change mode) command in my case. In a terminal (console) while IN the same directory (saves typing the PATH) issue the command (w/out quotations) "chmod +x filename" ... the +x tells linux the file is exectuable.

Make sure the second file "fdgamed.so" (if i remember the name correctly) is also in the Mohaa directory. (an .so is to linux what a .dll is to winDOZE)

You should be ready to run the server now. I renamed my server executable to "mohaalinux" (to remember it ez'r) so in a console I'd type (while IN the proper directory to save typing the PATH) ./mohaalinux

....you should now see what looks just like normal windows mohaa console output. The output will STOP and the last line will read something like "Loaded 1242 localization entries".... this means the server is up and running but hasn't loaded any maps.

At a MINIMUM you must now set "gametype" and 'map"

g_gametype 4 (no "set" needed)
map obj/whatever... dm/whatever

OR if you have a server configuration file you can load it instead for map rotation, # of players etc etc.

IE:...

exec server.cfg (no + needed as you would normally do in a shortcut)

Well that's about all I can think of off hand. If you have any problems feel free to PM or mail me.

]NBK[ G.I. Jerk

PS. If this works for you maybe they should add this post to the "guides" section... eh rudedog?
  
Reply With Quote
Old
  (#2)
{TsL}william is Offline
Junior Member
 
Posts: 8
Join Date: Jul 2002
Location: Chicago, IL
   
Default 08-09-2002, 01:39 PM

do you know if the "linux" server will also work on freebsd or openbsd
  
Reply With Quote
Old
  (#3)
[NBK] G.I. Jerk is Offline
Senior Member
 
Posts: 292
Join Date: Apr 2002
Location: Calgary, Ab. CanaDUH
 Send a message via ICQ to [NBK] G.I. Jerk Send a message via MSN to [NBK] G.I. Jerk  
Default 08-09-2002, 04:22 PM

[quote="{TsL}william":d2faf]do you know if the "linux" server will also work on freebsd or openbsd[/quote:d2faf]


Step 1. Try it....

Step 2. Ask the linux server's author for the source code and compile it yourself.

Both "BSD's" as far as I have read about them are *.nix based (that is... unix/linux) Theoretically you should be able to run them on either "bsd" OS
and probably under BeOS as well. Even "Lindows"..... a debian linux based, windows application compatible operating system should run it in theory.

When in doubt ask for the source and compile it yourself. And should you get a copy of the source please send it to me.

Assuming (not trying to insult your intelligence) you're new to unix/linux I have a webpage aimed at newbies to those OS's on how to compile software/kernels etc etc. If you find out you do need those instructions, don't hesitate to ask. (I will try but I don't claim to be "super-linux/unix guru"...... 4 years using it I still feel like a n00b at times)

"When in doubt try it out"...... famous last words.....

GI Jerk
  
Reply With Quote
Old
  (#4)
=[DOA]=VonMeyer is Offline
Senior Member
 
Posts: 729
Join Date: Jun 2002
   
Default 08-10-2002, 10:32 AM

Damn all that for setting up a server>? Damn no wonder why it costs so much
  
Reply With Quote
Old
  (#5)
[NBK] G.I. Jerk is Offline
Senior Member
 
Posts: 292
Join Date: Apr 2002
Location: Calgary, Ab. CanaDUH
 Send a message via ICQ to [NBK] G.I. Jerk Send a message via MSN to [NBK] G.I. Jerk  
Default 08-10-2002, 02:00 PM

[quote="=[DOA]=VonMeyer":c9a26]Damn all that for setting up a server>? Damn no wonder why it costs so much[/quote:c9a26]

Cost? Only if you have it hosted..... I just downloaded FOR FREE Mandrake 8.1... downloaded the server FOR FREE and away I went...
  
Reply With Quote
Old
  (#6)
DogMeat is Offline
Senior Member
 
Posts: 469
Join Date: Jan 2002
Location: Rockwood, MI
 Send a message via ICQ to DogMeat Send a message via AIM to DogMeat Send a message via MSN to DogMeat Send a message via Yahoo to DogMeat  
Default 08-10-2002, 06:09 PM

Hey GI Jerk: have you tried AutoKick using WINE yet? I've gotten it to run except for a few problems, like not saving registry settings correctly and the config windows won't let you do anything with them. But it does access the server and get status! This is using an actual Win98SE partition for WINE, next I'm going to try it standalone since I'm pretty sure that'll fix my registry issues.

Also, have you tried out Mandrake 9.0 beta2 yet? Sure it's beta but it runs a hell of alot better than 8.2

BTW- I'm a Linux newbie, but I'm having fun learning it hehe
  
Reply With Quote
Old
  (#7)
[NBK] G.I. Jerk is Offline
Senior Member
 
Posts: 292
Join Date: Apr 2002
Location: Calgary, Ab. CanaDUH
 Send a message via ICQ to [NBK] G.I. Jerk Send a message via MSN to [NBK] G.I. Jerk  
Default 08-11-2002, 11:56 AM

Quote:
Originally Posted by DogMeat
Hey GI Jerk: have you tried AutoKick using WINE yet? I've gotten it to run except for a few problems, like not saving registry settings correctly and the config windows won't let you do anything with them. But it does access the server and get status! ;) This is using an actual Win98SE partition for WINE, next I'm going to try it standalone since I'm pretty sure that'll fix my registry issues.

Also, have you tried out Mandrake 9.0 beta2 yet? Sure it's beta but it runs a hell of alot better than 8.2

BTW- I'm a Linux newbie, but I'm having fun learning it hehe
Nope I haven't tried running autokick under wine actually. I was curious about that myself. The reason I haven't tried it is because my server's only a P266MMX and being that slow it runs a lot faster without Xwindows grinding it down.

I wouldn't be surprised if it works just fine on a per session basis though. I've have some pretty good hits versus misses when using wine.

VMware is also an option.

As far as the partition and registry are concerned, I really can't see it making any difference. The info is all stored in a textfile. You might want to check however, that the FAT32 partition is mounted read/WRITE....that could be the problem too.

Another thought is double check you /etc/wine.conf or etc/wine/wine.conf
  
Reply With Quote
Old
  (#8)
privateInk is Offline
Junior Member
 
Posts: 13
Join Date: May 2002
   
Default 08-14-2002, 12:45 PM

Download the Linux port? Is it still available? I've been looking for it and kind of got lost since alliedassault went down and came back up.
  
Reply With Quote
Linux server
Old
  (#9)
Fontaine is Offline
Junior Member
 
Posts: 28
Join Date: Aug 2002
Location: Spotsylvania, VA
   
Default Linux server - 08-15-2002, 11:45 AM

Best I can tell y'all talkin about running the Win version of MOHAA under Linux using WINE. I've done that and believe me, its better to try the Linux dedicated port of the server (still in beta but final comin soon).

You don't have to deal with the overhead of WINE and get the speed and stability of Linux. I've used the beta software for several weeks now and it runs like a dream. If you want more info on how to get this up and runnin I can post somethin here.
  
Reply With Quote
Re: Linux server
Old
  (#10)
[NBK] G.I. Jerk is Offline
Senior Member
 
Posts: 292
Join Date: Apr 2002
Location: Calgary, Ab. CanaDUH
 Send a message via ICQ to [NBK] G.I. Jerk Send a message via MSN to [NBK] G.I. Jerk  
Default Re: Linux server - 08-15-2002, 05:03 PM

Quote:
Originally Posted by Fontaine
Best I can tell y'all talkin about running the Win version of MOHAA under Linux using WINE. I've done that and believe me, its better to try the Linux dedicated port of the server (still in beta but final comin soon).

You don't have to deal with the overhead of WINE and get the speed and stability of Linux. I've used the beta software for several weeks now and it runs like a dream. If you want more info on how to get this up and runnin I can post somethin here.
My server crashes after some time..... something about "no free edicts". Ideas?
  
Reply With Quote
Old
  (#11)
[NBK] G.I. Jerk is Offline
Senior Member
 
Posts: 292
Join Date: Apr 2002
Location: Calgary, Ab. CanaDUH
 Send a message via ICQ to [NBK] G.I. Jerk Send a message via MSN to [NBK] G.I. Jerk  
Default 08-15-2002, 05:04 PM

Quote:
Originally Posted by privateInk
Download the Linux port? Is it still available? I've been looking for it and kind of got lost since alliedassault went down and came back up.
I forget the URL where I got it. The post on this site that I got the URL from was wiped clean last time aa.com went down for a week. Gimme yer email or msn msgr me and I'll be happy to send it to you.
  
Reply With Quote
Re: Linux server
Old
  (#12)
Fontaine is Offline
Junior Member
 
Posts: 28
Join Date: Aug 2002
Location: Spotsylvania, VA
   
Default Re: Linux server - 08-16-2002, 04:45 AM

[quote:4c262]
My server crashes after some time..... something about "no free edicts". Ideas?[/quote:4c262]
Are we still talking the Win32 server under WINE, or is this the Linux beta server? If it is Linux, and it is the beta1 version then it has expired, there was a beta2 released, but I believe that will expire shortly as well. After talkin with Ryan who did the port, he'll compile another beta if EA doesn't get off their keisters and release the final unexpiring version soon.
  
Reply With Quote
Re: Linux server
Old
  (#13)
[NBK] G.I. Jerk is Offline
Senior Member
 
Posts: 292
Join Date: Apr 2002
Location: Calgary, Ab. CanaDUH
 Send a message via ICQ to [NBK] G.I. Jerk Send a message via MSN to [NBK] G.I. Jerk  
Default Re: Linux server - 08-16-2002, 09:57 PM

Quote:
Originally Posted by Fontaine
[quote:cc9b0]
My server crashes after some time..... something about "no free edicts". Ideas?
Are we still talking the Win32 server under WINE, or is this the Linux beta server? If it is Linux, and it is the beta1 version then it has expired, there was a beta2 released, but I believe that will expire shortly as well. After talkin with Ryan who did the port, he'll compile another beta if EA doesn't get off their keisters and release the final unexpiring version soon.[/quote:cc9b0]

We never were talking about the server under wine..... it was autokick under wine. :) Didn't know the server's timed out though.
  
Reply With Quote
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.12 by ScriptzBin
Copyright ©2000 - 2025, vBulletin Solutions Inc.
vBulletin Skin developed by: vBStyles.com
© 1998 - 2007 by Rudedog Productions | All trademarks used are properties of their respective owners. All rights reserved.