home hardware prices news articles forums photos user reviews
Go Back   Tech Support Forums - TechIMO.com > PC Hardware and Tech > Linux and Unix
Join TechIMO for Free!
Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
Reply Get bargains at  »  Dealighted.com
 
Thread Tools
Currently Active Users: 1721
Discussions: 186,638, Posts: 2,227,428, Members: 230,267
Free Scan: Update Your PC's Outdated Drivers to Optimize Performance
Old April 4th, 2003, 07:08 PM     #11 (permalink)
Ultimate Member
 
davidamarkley's Avatar
 
Join Date: May 2002
Location: Joplin, MO
Posts: 2,353
Send a message via ICQ to davidamarkley Send a message via AIM to davidamarkley
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

davidamarkley is offline   Reply With Quote
Old April 5th, 2003, 06:20 AM     #12 (permalink)
I am a banana!
 
originel's Avatar
 
Join Date: Jun 2002
Location: Texas Tech
Posts: 3,921
Send a message via AIM to originel
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).

originel is offline   Reply With Quote
Old April 5th, 2003, 06:24 AM     #13 (permalink)
Ultimate Member
 
nukes's Avatar
 
Join Date: Oct 2002
Location: Scotland, UK
Posts: 3,221
Send a message via AIM to nukes Send a message via Yahoo to nukes
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

nukes is offline   Reply With Quote
Old April 5th, 2003, 06:27 AM     #14 (permalink)
Ultimate Member
 
davidamarkley's Avatar
 
Join Date: May 2002
Location: Joplin, MO
Posts: 2,353
Send a message via ICQ to davidamarkley Send a message via AIM to davidamarkley
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.
davidamarkley is offline   Reply With Quote
Old April 5th, 2003, 07:14 AM     #15 (permalink)
Ultimate Member
 
nukes's Avatar
 
Join Date: Oct 2002
Location: Scotland, UK
Posts: 3,221
Send a message via AIM to nukes Send a message via Yahoo to nukes
Glad you got it working.
nukes is offline   Reply With Quote
Old April 6th, 2003, 04:28 AM     #16 (permalink)
Member
 
Join Date: Mar 2002
Posts: 135
Send a message via AIM to [A3D]Hatswitch
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.
[A3D]Hatswitch is offline   Reply With Quote
Old April 6th, 2003, 09:10 AM     #17 (permalink)
Ultimate Member
 
nukes's Avatar
 
Join Date: Oct 2002
Location: Scotland, UK
Posts: 3,221
Send a message via AIM to nukes Send a message via Yahoo to nukes
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.
nukes is offline   Reply With Quote
Old April 6th, 2003, 10:41 AM     #18 (permalink)
Ultimate Member
 
davidamarkley's Avatar
 
Join Date: May 2002
Location: Joplin, MO
Posts: 2,353
Send a message via ICQ to davidamarkley Send a message via AIM to davidamarkley
[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
davidamarkley is offline   Reply With Quote
Old April 6th, 2003, 02:12 PM     #19 (permalink)
Member
 
Join Date: Mar 2002
Posts: 135
Send a message via AIM to [A3D]Hatswitch
Quote:
[A3D]Hatswitch, your link's bad.
It works for me....

Try this: http://www.cae.tntech.edu/help/systems/unix/screen .

Here's a page that's CS-specific: http://server.counter-strike.net/linuxscreen.html .

Last edited by [A3D]Hatswitch : April 6th, 2003 at 02:18 PM.
[A3D]Hatswitch is offline   Reply With Quote
Old April 6th, 2003, 02:38 PM     #20 (permalink)
Ultimate Member
 
nukes's Avatar
 
Join Date: Oct 2002
Location: Scotland, UK
Posts: 3,221
Send a message via AIM to nukes Send a message via Yahoo to nukes
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.
nukes is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Most Active Discussions
Is It Just Me? (581)
Putting together my wish list (14)
First Time PC Builder (14)
Back to the Workouts (835)
Motherboard compatibiltiy for 9600 .. (5)
RAID 0 External Drive Slow/Failing .. (12)
Supply Side vs. Demand Side economi.. (11)
Folderchat: The Holiday thread (149)
heatsink issue (17)
Recent Discussions
Looking for some help (0)
soulstrom russian version (0)
SSD's, RAID, and External Backu.. (8)
virtual memory (0)
Contest: Logo and Banner design.. (6)
Putting together my wish list (14)
Giga Pocket Junk (0)
Folderchat: The Holiday thread (149)
First Time PC Builder (14)
Magellan RoadMate 1412 GPS Perf.. (2)
FS: Dell 6000 laptop, modded 36.. (2)
Apple iPod touch 16 GB $200 (4)


All times are GMT -4. The time now is 02:04 AM.
TechIMO Copyright 2008 All Enthusiast, Inc.



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28