*BSDThis forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have heard wispers around the internet that a hlds/counterstrike server on OpenBSD (3.3) is quite possible using linux emulation. Unfortunately when I installed hlds 3.1.1.1 and counter-strike 1.5. I am having problems with it. I call the server with the command line:
Console initialized.
Protocol version 46
Exe version 3.1.1.1
Exe build: 22:35:19 Apr 29 2003 (2378)
Auth Server
Server IP address 127.0.0.1:27015
Downloading Security Module from Speakeasy.net ...
Completed downloading Security Module from Speakeasy.net
Server is in Secure Mode.
Error downloading Security Module from Speakeasy.net
Server is not Secure.
Adding master server 65.73.232.251:27010
Adding master server 65.73.232.253:27010
Adding master server 65.73.232.252:27010
then I get repeating error messages like this one:
Unable to open /proc/13550/stat
I can see the server from a client on the same LAN but when I try to connect to it I get the error:
Cannot connect to server
Reason: LAN servers are restricted to local clients only (Class C)
These might actually be two unrelated problems, but i don't know. has anyone ever had this experience with a half-life/counter-strike server on OpenBSD?
Hey, I have the exact same problem. HLDS used to work in OpenBSD last I tried, but that was a few versions back and when the redhat emulation was from pre-8.0.
I've been having the same problem. HLDS v3.1.1.0 works just fine, but I get that error when I upgrade to v3.1.1.1.
I can connect to my server via the LAN or Internet, though. There is an option that can be set in cstrike/autoexec.cfg or cstrike/server.cfg making a server LAN only. Check those.
Had the same problem, here's the fix:
Download the kernel sources from your local cvs-mirros and hack src/miscfs/procfs/procfs_vnops.c
The entry to chance is, who would have guessed :
{ DT_REG, N("status"), Pstatus, NULL },
change the status string to stat, recompile your kernel, reboot and you're done.
p.s. Don't forget to 'mount_procfs -o linux /proc /proc'.
Last edited by Johannes_Hofman; 08-02-2003 at 04:24 PM.
Well.... sadly I have no reply, but a question of my own. I'm new to linux and was making a CS server and I'm getting a similar error but not exact. Heres what it looks like...
[server@localhost hlds_l]$ ./hlds_run -game cstrike +exec server.cfg +ip 192.168.0.102 +port 27015 +maxplayers 16 +map de_dust
Auto-restarting the server on crash
Host_Init
Added packfile /home/server/hlds_l/valve/pak0.pak (985 files)
Protocol version 46
Exe version 3.1.1.0
Exe build: 14:46:34 Jun 11 2002 (2056)
WON Auth Server
Executing Admin Mod config file
Server IP address 192.168.0.102:27015
Metamod version 1.15 Copyright (c) 2001-2003 Will Day <willday@metamod.org>
Metamod comes with ABSOLUTELY NO WARRANTY; for details type `meta gpl'.
This is free software, and you are welcome to redistribute it
under certain conditions; type `meta gpl' for details.
Downloading Security Module from Speakeasy.net ...
Error downloading Security Module from Speakeasy.net
Server is not Secure.
PackFile: /home/server/hlds_l/valve/pak0.pak : models/w_battery.mdl
then it keeps going with the PackFile stuff for about 3 whole page screens, then ends with....
PackFile: /home/server/hlds_l/valve/pak0.pak : models/metalplategibs_green.mdl
Executing Admin Mod config file
"amv_prvt_kick_message" is "0"
Adding master server 65.73.232.251:27010
Adding master server 65.73.232.253:27010
Adding master server 65.73.232.252:27010
As I said its not exactally the same but they have there similarities. Haven't tried what you said yet but since I'm new I kinda don't even really know how to do what you said.
Use hlds_l_3111_update.tar.gz and then hlds_l_3111d_update.tar.gz.
The hlds_l_3111d_update.tar.gz fixes the Problem with the /proc problem.
I've 3 OpenBSD 3.3 CS-Servers running and it works fine.
Thanks for all your help on thie, guys. For future refence i have made a small howto describing running a CS server on OpenBSD. Have a look at it here:
OK, new problem. My server worked fine on my small LAN at home. I have since then relocated the server to the campus network, a slightly larger domain. Now when users try to connect, they get the :
Cannot connect to server
Reason: LAN servers are restricted to local clients only (Class C)
I figure this is because the clients are looking at my serve as if it were on the internet, even though it's on the LAN. When i set the server up as a internet server, the clients can't connect for other (key validations reasons .
Is there any way to make the clinets see the server is on the LAN or some way to set the server up to pass key validation so that eveyone can play.
p.s. if i can't get this working SOON, Windows will have to be resorted to.
it would, but most of the guys on the floor will never have that. I mostly am looking for a more permanent fix to the problem i am having when it is set up as a LAN server. Any real help with that?
I figured out part of the problem: my campuse network is a class B network. Now i need to know if there is any way to open up the cs server software to allow class b networks to connect.
hi all , i have a hlds 3.1.1.1d and server works fine , but this stupid operating system can't make log file in /.../cstrike/logs. I see the log records
on the console... what i need to do ? please help me !
I saw this problem too. Because of the emulation, the log files are being written to another location on the disk. Look for your log files in /usr/local/emul/redhat/usr/normal/path/to/cstrike/logs. for instance on my machine it is /usr/local/emul/redhat/usr/steam/hlds_l/cstrike/logs.
If you are using something like psychostats you can change your log directory to read from that location.
Thank You Harpune. Thank You very much! I found my log files in this location and now Psychostats works perfectly. If I can help you with something , it's will be pleasure for me.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.