Discussion Locked

Networking Linux and Windows

0 helpful
8 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

I know I need SAMBA to translate NFS to SMB, but what should be done first on the Linux side to allow the Linux box to be able to ping the Windows box, e.g. hosts file, resolve.conf. , etc.
Thanks, Jim G.

8 replies

by churdoo

The windows box needs to use TCP/IP for the local network, and needs to be in the same subnet as the linux box. This should be all you need to ping each other by IP. To ping by hostname, then the windows box needs to be defined in the /etc/hosts file of the linux box, and likewise, the linux box needs to be defined in the lmhosts.sam file of the windows box. Once you can confirm this basic connectivity, then, as you already suspect, you should be able to run through the SAMBA setup without much trouble.
--Charlie

by mckaytech

The answer above is largely correct and I just wanted to add two minor comments. First of all, on the Windows side, the filename is LMHOSTS with no file extension. LMHOSTS.SAM is a sample LMHOSTS file to demonstrate syntax.

Second, Samba can be either a WINS client or WINS server so in most scenarios, the LMHOSTS file on the Windows side is not needed.

paul

by michael_tso

run linuxconf. Go to Network and you will be able to setup the adapter.

IP Address
Subnet
Driver

Good Luck

Michael

This discussion is closed to new replies.