Free Scan: Update Your PC's Outdated Drivers to Optimize Performance
April 4th, 2003, 07:08 PM
|
#11 (permalink)
| | Ultimate Member
Join Date: May 2002 Location: Joplin, MO
Posts: 2,353
|
Apology accepted! 
No problem about your post. I've had days(and posts) like that too!
I set the port-forwarding up in my router, and I saw the game on another computer when browsing net games on CS. And was able to join. So, I think that's working, but I still want people to test it out, because it might still be something that only works on the LAN for some reason.
Also, the hlds server doesn't seem to like it when I run it as 'David', but when I run it as root, it works. Why is that? I set permissions on the 'hlds_l' by doing "chmod 777 hlds_l" (while in root) doesn't that make all the files in the folder completely controllable by 'david' also? if I remember correctly the number '7' means 'rwx' and when all three are sevens it means that root(1st), current user(2nd), and everyone else(3rd) have read, write, and execute permissions on the file/folder in question. Is that right?
Thanks for any help guys!!
David  |
| |
April 5th, 2003, 06:20 AM
|
#12 (permalink)
| | I am a banana!
Join Date: Jun 2002 Location: Texas Tech
Posts: 3,921
|
ok i just fixed that same problem (with the loopback address) on my own server this afternoon.
you need to go into your /etc/hosts file and make sure that a) your eth0 is the first thing listed, not your lo addy. second make sure that you have the right ip set (some distros don't set it if you use dhcp cause it's not really needed, except with hlds it seems).
as for your root password they are the same in X as they are at the CLI (it prolly is your special characters). |
| |
April 5th, 2003, 06:24 AM
|
#13 (permalink)
| | Ultimate Member
Join Date: Oct 2002 Location: Scotland, UK
Posts: 3,221
|
to change the permissoins for a full directory, use the -R switch with it. (makes it decend into directories)
You may find it better to make a new user - say halflife and give that directory to it. then run it as that user.
__________________
_____
NuKeS
|
| |
April 5th, 2003, 06:27 AM
|
#14 (permalink)
| | Ultimate Member
Join Date: May 2002 Location: Joplin, MO
Posts: 2,353
|
It's fixed and running now until early tommorrow afternoon, I'l be fixing up a few things then should be good to go. Probably try to get a game going tommorrow night.
You can read more HERE.
The way I got it to be able to be on the 'net, is when you run Code: ./hlds_run -game cstrike +maxplayers 10 +map cs_assault you just put in your IP address in there like this: Code: ./hlds_run -game cstrike +ip 192.168.2.105 +maxplayers 10 +map cs_assault There was someone else that had problems trying to login in as root before they started X. I'm gonna look for that post later. I'm guessing it's because of the special characters in my password. I also used some uppercase letters but that shouldn't make any difference.
Thanks!
David
EDIT: Just saw your post, nukes, and Thanks! I'll do that, I was thinking about having a separate user for running that anyway. And this might be a good time to do that. Thanks again! 
Last edited by davidamarkley : April 5th, 2003 at 06:32 AM.
|
| |
April 5th, 2003, 07:14 AM
|
#15 (permalink)
| | Ultimate Member
Join Date: Oct 2002 Location: Scotland, UK
Posts: 3,221
| |
| |
April 6th, 2003, 04:28 AM
|
#16 (permalink)
| | Member
Join Date: Mar 2002
Posts: 135
|
Are you running the server in an X terminal? Unless you do actual desktop work, you should run the server from a shell prompt. Better yet, just log into the Linux box using a Secure Shell client (PuTTY is free). And so you can log out of the box and still have the server running, use screen. More info on that here.
__________________
[i]Keyboards and mice are great... for word processing.
|
| |
April 6th, 2003, 09:10 AM
|
#17 (permalink)
| | Ultimate Member
Join Date: Oct 2002 Location: Scotland, UK
Posts: 3,221
|
Well, even better than that would be to do an /etc/init.d script for it, that way it can run as a service rather than a user-app and so may be left runing even when nobody is logged in, whereas running it in a console like that can kill it if you close the window. |
| |
April 6th, 2003, 10:41 AM
|
#18 (permalink)
| | Ultimate Member
Join Date: May 2002 Location: Joplin, MO
Posts: 2,353
|
[A3D]Hatswitch, your link's bad. But, thanks for that info, if you can fix the link, I'll take a look at it and read it. And nukes, that would work, but I don't really want this thing running the CS server all the time, just when I want it too. Although, I'm gonna write a script for VNC so it starts up on boot. Is there any site that could give me a hand writing that kind of script? Or, is it pretty straightfoward?
Thanks everyone!
David |
| |
April 6th, 2003, 02:12 PM
|
#19 (permalink)
| | Member
Join Date: Mar 2002
Posts: 135
|
Last edited by [A3D]Hatswitch : April 6th, 2003 at 02:18 PM.
|
| |
April 6th, 2003, 02:38 PM
|
#20 (permalink)
| | Ultimate Member
Join Date: Oct 2002 Location: Scotland, UK
Posts: 3,221
|
To start the VNC server on boot, just add vncserver & to the /etc/rc.local or /etc/rc.d/rc.local (whichever one mandrake uses)
In theory there could be security problems with this, but as you're in a DMZ it isn't an issue. Or you could add it to your xinitrc file. |
| | |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | | |
Posting Rules
| You may post new threads You may post replies You may not post attachments You may not edit your posts HTML code is Off | | | | Most Active Discussions | | | | | Recent Discussions  | | | | | |