That is normal for HLDS under Linux.  It binds to 127.0.0.1, which 
effectively means it binds to all available interfaces, unless you 
specify an IP to use.

Stefan R?üetschli wrote:
> The other strange thing is, if I start a server on windows the ip is 
> automatically detected.
> On linux it is always 127.0.0.1 until I give it with startparameters.
> Is this normal or is perhaps something wrong with my network/ip-config?
> 
> [r...@fedi ~]# more /etc/sysconfig/networking/devices/ifcfg-eth0
> # Digital Equipment Corporation DECchip 21142/43
> DEVICE=eth0
> BOOTPROTO=none
> DNS1=127.0.0.1
> GATEWAY=192.168.1.254
> HWADDR=xx:xx:xx:xx:xx:xx
> IPADDR=192.168.1.200
> NETMASK=255.255.255.0
> ONBOOT=yes
> TYPE=Ethernet
> USERCTL=no
> PEERDNS=yes
> IPV6INIT=no
> NM_CONTROLLED=yes
> 
> 
> 
> David A. Parker schrieb:
>> As an example, when you run that netstat command, you should see two 
>> lines like these somewhere in the output:
>>
>> tcp        0      0 192.168.1.200:27015       0.0.0.0:*               LISTEN
>> udp        0      0 192.168.1.200:27015       0.0.0.0:*
>>
>>      - Dave
>>
>> David A. Parker wrote:
>>   
>>> Hi Stefan,
>>>
>>>     
>>>> [game...@fedi hlds]$ ./hlds_run -game cstrike +map de_dust -nomaster 
>>>> -insecure +sv_lan 1 +ip 192.168.1.200 +port 27015
>>>> Auto detecting CPU
>>>> Using Pentium II Optimised binary.
>>>> Auto-restarting the server on crash
>>>>
>>>> Console initialized.
>>>> scandir failed:/home/gamesrv/hlds/./platform/SAVE
>>>> Protocol version 48
>>>> Exe version 1.1.2.6/Stdio (cstrike)
>>>> Exe build: 18:05:13 Oct 24 2008 (4383)
>>>> STEAM Auth Server
>>>> couldn't exec language.cfg
>>>> Server IP address 192.168.1.200:27015
>>>> scandir failed:/home/gamesrv/hlds/./platform/SAVE
>>>> [S_API FAIL] SteamAPI_Init() failed; unable to update local steamclient. 
>>>> Continuing with current version anyway.
>>>>
>>>>
>>>>
>>>> The Server doesn't start and hangs here.
>>>>       
>>> This might seem like a silly question, but are you sure it hangs?  Did 
>>> you try entering commands at this point and see if you get output?  I 
>>> only ask because when you start up a server with -nomaster and 
>>> -insecure, it's not always obvious when the startup process has finished.
>>>
>>> Also, if you switch to another console and run this:
>>>
>>> netstat -an | more
>>>
>>> Do you see port 27015 listening?
>>>
>>>      - Dave
>>>
>>>     
>>   
> 
> 
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives, please 
> visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
> 

-- 

Dave Parker
Utica College
Integrated Information Technology Services
(315) 792-3229
Registered Linux User #408177


_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to