Raised This Month: $32 Target: $400
 8% 

lhds_run problems under ubuntu


Post New Thread Reply   
 
Thread Tools Display Modes
vivalavida
Senior Member
Join Date: Jan 2009
Location: Fairfield County, CT
Old 02-13-2009 , 14:59   Re: lhds_run problems under ubuntu
Reply With Quote #21

jeremy@Jeremy:~$ service iptables stop
$iptables: unrecognized service
jeremy@Jeremy:~$
jeremy@Jeremy:~$ service iptables stop
$iptables: unrecognized service
jeremy@Jeremy:~$ /etc/init.d/iptables stop
bash: /etc/init.d/iptables: No such file or directory
__________________
ew its sticky!
vivalavida is offline
P4rD0nM3
Veteran Member
Join Date: Feb 2006
Old 02-13-2009 , 17:31   Re: lhds_run problems under ubuntu
Reply With Quote #22

You don't need to stop it, in fact stopping it is not recommended unless you have another firewall like Shoreline. You just need UDP 27015 to be open, if you want you can also open TCP.
P4rD0nM3 is offline
vivalavida
Senior Member
Join Date: Jan 2009
Location: Fairfield County, CT
Old 02-13-2009 , 17:43   Re: lhds_run problems under ubuntu
Reply With Quote #23

i have dmz or w.e its called. al lthe ports are open
__________________
ew its sticky!
vivalavida is offline
P4rD0nM3
Veteran Member
Join Date: Feb 2006
Old 02-13-2009 , 17:53   Re: lhds_run problems under ubuntu
Reply With Quote #24

Open your that port in iptables. Even if your box is in DMZ, if iptables isn't allowing it...then no bueno my dear.
P4rD0nM3 is offline
vivalavida
Senior Member
Join Date: Jan 2009
Location: Fairfield County, CT
Old 02-13-2009 , 18:31   Re: lhds_run problems under ubuntu
Reply With Quote #25

how do i open the port?

im such a linux noob
__________________
ew its sticky!
vivalavida is offline
TeddyDesTodes
Senior Member
Join Date: Oct 2008
Location: 10.25.15.210
Old 02-13-2009 , 21:11   Re: lhds_run problems under ubuntu
Reply With Quote #26

try disablin apparmor if running but i've setted up a server on ubuntu with no +ip nor +port and running like charm, no changes made to iptables
__________________
TeddyDesTodes is offline
Send a message via ICQ to TeddyDesTodes
vivalavida
Senior Member
Join Date: Jan 2009
Location: Fairfield County, CT
Old 02-13-2009 , 22:30   Re: lhds_run problems under ubuntu
Reply With Quote #27

i did the hlds_run without ip or port and it makes the ip like 127.0.1. whatever ANDD it cant establish a connection to the steam servers
__________________
ew its sticky!
vivalavida is offline
vivalavida
Senior Member
Join Date: Jan 2009
Location: Fairfield County, CT
Old 02-13-2009 , 23:05   Re: lhds_run problems under ubuntu
Reply With Quote #28

i get this when not posting an ip or port

jeremy@Jeremy:~$ ./hlds_run -game cstrike +exec server.cfg +maxplayers 26 +map de_dust2
Auto detecting CPU
Using AMD-Opteron (64 bit) Optimised binary.
Auto-restarting the server on crash

Console initialized.
scandir failed:/home/jeremy/./platform/SAVE
Protocol version 48
Exe version 1.1.2.6/Stdio (cstrike)
Exe build: 18:01:18 Oct 24 2008 (4352)
STEAM Auth Server
couldn't exec language.cfg
couldn't exec listip.cfg
couldn't exec banned.cfg
Server IP address 127.0.1.1:27015
scandir failed:/home/jeremy/./platform/SAVE
[S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient. Continuing with current version anyway.

couldn't exec listip.cfg
couldn't exec banned.cfg
Adding master server 72.165.61.189:27010
Adding master server 68.142.72.250:27010
Could not establish connection to Steam servers.
__________________
ew its sticky!
vivalavida is offline
P4rD0nM3
Veteran Member
Join Date: Feb 2006
Old 02-14-2009 , 00:13   Re: lhds_run problems under ubuntu
Reply With Quote #29

Ooh I get it now. You probably didn't setup your IP.

cat /etc/hosts

See here's on my local shell server.

Code:
[root@hp-a500n ~]# cat /etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1       localhost.localdomain localhost
::1             localhost6.localdomain6 localhost6
192.168.0.100   hp-a500n.localdomain hp-a500n
[root@hp-a500n ~]#
P4rD0nM3 is offline
vivalavida
Senior Member
Join Date: Jan 2009
Location: Fairfield County, CT
Old 02-14-2009 , 00:23   Re: lhds_run problems under ubuntu
Reply With Quote #30

root@Jeremy:/home/jeremy# cat /etc/hosts
127.0.0.1 localhost
127.0.1.1 Jeremy

# The following lines are desirable for IPv6 capable hosts
::1 ip6-localhost ip6-loopback
fe00::0 ip6-localnet
ff00::0 ip6-mcastprefix
ff02::1 ip6-allnodes
ff02::2 ip6-allrouters
ff02: ip6-allhosts
root@Jeremy:/home/jeremy#
__________________
ew its sticky!
vivalavida is offline
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


All times are GMT -4. The time now is 08:37.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode