On Thu, Jun 21, 2012 at 5:35 PM, <[email protected]> wrote:
> On Wed, June 20, 2012 3:34 pm, [email protected] wrote:
> > What does hosts file look like on this client?
>
> Michael:
>
> 127.0.0.1 localhost.localdomain localhost.localdomain localhost4
> localhost4.localdomain4 localhost my_hostname
> ::1 localhost.localdomain localhost.localdomain localhost6
> localhost6.localdomain6localhost my_hostname
It wasn't the cause of your problem, but it's not the best idea to put
my_hostname on the localhost line.
If you have a static ip for eth0 add a separate line like
1.2.3.4 my_hostname.my_domain my_hostname
where 1.2.3.4 is your eth0/wlan0/whatever address. If you don't have a
static ip, say a roaming laptop, use
127.0.1.1 my_hostname.my_domain my_hostname
That way forward and reverse lookups will make sense. If you do that, don't
forget to remove my_hostname from the localhost{,6} line.
--
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html