|
Re: Assistance please with /etc/hosts
I can't speak to latest versions, but tab/space used to be both ok ...
---------- Post added at 03:56 PM ---------- Previous post was at 03:53 PM ----------
Wait a sec - you can PING via IP, but not name - which is in your hosts.
- wonder if you're not running something that needs to be running.
What happens (on that machine) when you ping:
127.0.0.1
localhost
{that same machines' name - the one with the hosts that don't work}
{you're pinging the "inside" of the card (twice), then the "ouside"}
?
Am trying to see if it resolves ANY names (i.e. - it's OWN)
<Still stabs in the dark>.
---------- Post added at 04:14 PM ---------- Previous post was at 03:56 PM ----------
You haven't 'adjusted' any firewall settings?
If SELinux is running, I might try turning it off & rebooting - then try your pings by name.
{Really scratching here - betcha someone pops on here with the REAL answer}
---------- Post added at 04:17 PM ---------- Previous post was at 04:14 PM ----------
/etc/resolv.conf - what's in that?
Mine contains (in order), my SERVER(gateway) IP, my DSL modem IP, their DNS server IP. (See below). It's probably not correct; I'm not fantastic at this - but it works.
# Generated by NetworkManager
nameserver 192.168.0.253
nameserver 192.168.1.254
nameserver 166.102.165.13
# NOTE: the libc resolver may not support more than 3 nameservers.
Last edited by lightman47; 14th May 2012 at 09:32 PM.
|