----- Original Message -----
From: "Stephen Liu" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, October 24, 2002 6:06 AM
Subject: Re: Samba server and Win98 connection problem


> lmhost.sam
> ==========
>
> All lines inside the file are commented.  I think it does play any part
> in connection

In lmhost.sam file, add each Ip/hostname one line at a time, seperately.
Like below..

127.0.0.1    localhost
192.168.x.x    windows-name
 192.168.x.x    linux-name

> HOSTS.SAM
> =========
> Only following line uncommented
>
> 127.0.0.1    localhost
>
>
> Shall I change it to read as "127.0.0.1  M40G" and save the file
> thereafter.  It is necessary to restart Win98?

No, keep it the same.  Just add seperate lines under it like the lmhost file
and your /etc/hosts file (except no aliases at the end), with IP/hostname.

127.0.0.1    localhost
192.168.x.x    windows-box-name.domain.com
192.168.x.x    linux-box-name.domain.com

The differense in hosts and lmhosts on your windows computer is hosts says
what IP goes with what hostname.domain.name, and lmhosts file allows you to
associate a hostname with an IP so you don't have to use the full domain
name in your commands and such.

And not sure, but I think you have to restart windows once you change those,
so they are read.

Hope this helps,

Mike




Reply via email to