We use the "hosts" file, not "lmhosts" in our LAN.

Also, use Windows Explorer Tools|Find|"Files or Folders" to 
find "hosts", since w98 & NT4 put it in different places.

Ron

Greg Stewart wrote:
> 
> > I think that I have to config the DNS server in order to use the FTP
> software
> 
> I don't quite understand why you'd need to configure a DNS server to use an
> ftp client on a local LAN. Do you mean that you want to be able to type
> ftp \\mylinuxbox  and connect to the linux box without having to type the IP
> address?
> 
> 1st, a DNS server maps IP addresses to FQDNs (fully qualified domain names).
> Unless you have your domain names configured on your hosts, internally, this
> is only going to confuse the issue.
> 
> 2nd If your network is using DHCP to assign IP addresses, things are going
> to be a little difficult.
> 
> BUT, 3rd, if your IPs are static, you can enter the IP address of the linux
> box and the name you want to call that linux box, in the lmhosts file on
> your windows box's hard drive.
> 
> If you are running NT, the file exists as "Lmhosts.sam" in the
> C:\WINNT\system32\drivers\etc folder-- the ".sam" means "sample" and the
> extension needs to be removed after you edit it.
> 
> If you are running Win98 or otherwise, use the file find to locate the
> lmhosts.sam file, and edit it where it lives.
> 
> The format of the line to add is as follows (and stick it 'before' any
> comments, as it slows windows down to have to sort through comments first):
> 
> 192.168.0.1    mylinuxbox'sname
> 
> Since you're on a local LAN, don't add a "dot" and a domain name...all you
> want to do is define a name by which your windows box will call the linux
> box. It can be "Fred" if you want, even it the linux box's name is
> "Marsha"...it don't matter as long as you know what you're looking for.
> 
> Don't forget to remove the ".sam"
> 
> --Greg
> 
> ----- Original Message -----
> From: "Vu Nguyen" <[EMAIL PROTECTED]>
> 
> > Hi
> > I want to use WinFTP from one of the windows machine to access to the
> Linux 7.1 machine (both of them in one local network, I can ping from one to
> the other by the IP address because it does not understand by the name) .  I
> think that I have to config the DNS server in order to use the FTP software.
> Does anyone have any ideas on how to do it.  Please give me an advise and
> thost steps.
> >
> > Thank you so much

-- 
+----------------------------------------------------------+
| Ron Johnson, Jr.        Home: [EMAIL PROTECTED]     |
| Jefferson, LA  USA      WWW : [EMAIL PROTECTED]     |
|                         http://ronandheather.dhs.org     |
+----------------------------------------------------------+

Keep in touch with http://mandrakeforum.com: 
Subscribe the "[EMAIL PROTECTED]" mailing list.

Reply via email to