[bf1942] Linux port
~GoG~1st.Pfc.$1L3ntN1t3
bigdaddyebk at nethere.com
Sat Aug 16 16:53:13 EDT 2003
hello everyone, i'm kinda new to this so forgive me for any of my errors
in posting questions/answers.
hey 'demolish' this may help you.
if you get any error from starting the server using this
(./bf1942_lnxded.static +game DesertCombat) its more than likely you
need to run it in static, first you will need to link the static binary
type in this order:
[bf1942 at bigdaddy:~/bf1942] $ ln -sf bf1942_lnxded.static bf1942_lnxded
[bf1942 at bigdaddy:~/bf1942] $ brandelf -t Linux bf1942_lnxded
[bf1942 at bigdaddy:~/bf1942] $ ./bf1942_lnxded +restart 1 +game
DesertCombat &
"&" runs the process in the background so the server stays running even
after you log out
you may get this "warning: couldn't get CPU MHz from /proc/cpuinfo"
but edit /etc/fstab with your favorite editor, and make sure you have
these two lines:
proc /proc procfs rw 0 0
linproc /compat/linux/proc linprocfs rw 0 0
then reboot your machine(warning if you mis-type anything in /etc/fstab
your machine will not boot properly)
once rebooted, verify procfs is properly working, by doing:
[bf1942 at bigdaddy:~/bf1942] $ df -h
you should see something similar to this:
Filesystem Size Used Avail Capacity Mounted on
/dev/ad0s1a 378M 43M 304M 12% /
/dev/ad0s1g 1.8G 2.0K 1.6G 0% /mnt
/dev/ad0s1f 756M 50M 645M 7% /tmp
/dev/ad2s1e 9.1G 3.1G 5.2G 37% /usr
/dev/ad0s1e 756M 2.6M 693M 0% /var
procfs 4.0K 4.0K 0B 100% /proc
linprocfs 4.0K 4.0K 0B 100%
/usr/compat/linux/proc
pid87 at bigdaddy:/host 0B 0B 0B 100% /host
pid87 at bigdaddy:/net 0B 0B 0B 100% /net
[bf1942 at bigdaddy:~/bf1942] $
also type this:
[bf1942 at bigdaddy:~/bf1942] $ cat /compat/linux/proc/cpuinfo
you will see something like:
processor : 0
vendor_id : GenuineIntel
cpu family : 5
model : 5
stepping : 3
flags : fpu vme de pse tsc msr mce cx8 apic mmx
cpu MHz : 232.67
bogomips : 232.67
[bf1942 at bigdaddy:~/bf1942] $
(i know my machine is slow, but it has dual 233 cpu's & it's my test
server)
the "bogomips" is the number that tells bf1942 'how fast' your server
is. If you dont have this, you will report a speed of 0.
this info is courtesy of "BurtReynolds" from
http://bf1942.lightcubed.com/forum/viewtopic.php?t=253
it's what helped me to correctly install the game on FreeBSD 4.7 &
above.
BigDaddyEBK
"Unix" for Longevity
"AS/400" for Nostalgia
"Linux" for Productivity
"MAC" for Multimedia
"Windows" for Solitaire
> -----Original Message-----
> From: demolish at demolish.nu [mailto:demolish at demolish.nu]
> Sent: Saturday, August 16, 2003 9:30 AM
> To: bf1942 at icculus.org
> Subject: Re: [bf1942] Linux port
> su-2.05b$ ./bf1942_lnxded.static +game DesertCombat
> warning: couldn't get CPU MHz from /proc/cpuinfo
> Bad system call (core dumped)
> su-2.05b$
> I get that error now....
> Know how to debug it?
> The core didnt dump before I tried to connect to it
----- Original Message -----
From: "Steven Hartland" <killing at barrysworld.com>
To: <bf1942 at icculus.org>
Sent: Saturday, August 16, 2003 3:05 AM
Subject: Re: [bf1942] Linux port
> > Use:
> > brandelf -t Linux bf1942_lnxded.static
> > Steve / K
> > ----- Original Message -----
> > From: <demolish at demolish.nu>
> > To: <bf1942 at icculus.org>
> > Sent: Saturday, August 16, 2003 12:30 AM
> > Subject: Re: [bf1942] Linux port
> >
> >
> > > -bash-2.05b$ ./bf1942_lnxded.static
> > > ELF binary type "0" not known.
> > > Abort trap
> > >
> > > ---
> > > How to fix that?
> >
> >
More information about the Bf1942
mailing list