FEAR dedicated server, DNS error.

Associate
Joined
28 Oct 2004
Posts
305
Location
sunny suffolk
Has anyone got one of these running? When I go to launch it I get this error
Initializing...
ERROR - Unable to use the selected network service.

Please verify that the host is configured with at least one valid DNS
server in /etc/resolv.conf. It may also be necessary to set a valid
hostname and domainname, and create a /etc/hosts entry for the host
so that it can resolve its own IP address.

In the ect/resolv.conf I have the routers IP, and in the ect/hosts I have that pc's local domain name, 192.xxx.xxx.xxxlocalhost localdomain. It only needs to run on the local network, although it would be better opened up too.
I'm at a loss, any ideas would be great, cheers.
 
Couple of things I can think of: it's usually
Code:
127.0.0.1 localhost.localdomain
in /etc/hosts or have you got /etc/resolv.conf in the right format? e.g.
Code:
nameserver ro.ut.er.ip
 
Perhaps if someone has a working FEAR server they could paste their resolv.conf and their .host files here, maybe I could spot the difference to whats going on here.
 
No from home. I use my linux box to host game servers at home amongst other things, so that when our connection is bad the boy and I can still have a game.
The cs:s server was a doddle, this is proving rather taxing :(
 
/etc/resolv.conf

is your router set up as a dns server? if not its worthless pointing nameserver at it


it should be

nameserver ip.address.of.valid.dns.server

/etc/hosts

should read

127.0.0.1 localhost.localdomain localhost
 
Last edited:
You have to designate a name server in the FEAR server.cfg, it won't work otherwise.

It is all setup correctly. This pc has a static LAN IP, with it's own DNS associated to it internally.

/ect/hosts hasn't been changed and indeed is as you put it. I have given up on it for now, as I deleted the downloaded file and cba to get it again. It must have been something simple but what I just don't know.
 
Well after the posts here yesterday, it kind of spurred me on as I had given up on it. I downloaded the file again, unpacked it and it ran first time :rolleyes: . must have been a corrupted DL.
Alls well that ends well. So cheers for the poke in the ribs and secondly if in doubt reinstall :D
 
Back
Top Bottom