Resource Sharing in a Mixed Windows/Linux Environment

Linux-to-Linux

UNIX (and therefore Linux) was designed for file sharing from the beginning, and so the setup is very straightforward, as shown below.

Windows File Sharing

Samba

Samba is an open-source program to implement SMB on a UNIX or Linux system, causing it to masquerade as just another Windows box.

Setting Up the JOHN Local Area Network

At the moment, my household consists of the following:

From my point of view, the JOHN LAN (aka Workgroup) will consist of athlon, dell, and photo, all of which have 100mbit full-duplex Ethernet. I wish to share file directories (and eventually printers, CD-ROM burner, scanner, etc.) in both directions between all three machines.

VERY IMPORTANT NOTICE — I am the only user of these three machines, they are under my physical control, and they are isolated from the Internet behind a firewall. As such, there is no real need to have any machine-to-machine security. (The only person who could hack into them (i.e., the only other person with a computer behind the firewall) is Becky, and she would find it much easier to walk down the hall and use the computer in question directly!) The discussion below gets much more complicated if we have to get into security issues. Be aware that what I am about to show leaves all three machines wide open to each other.

Linux-to-Linux

Setting up Samba on the Linux Side

Setting up SMB on the Windows Side

References

  1. Using Samba, 2nd Edition, Eckstein and Collier-Brown, O'Reilly, 2003. Has step-by-step instructions for setting up everything, with examples from Win98, WinME, and WinXP.
  2. The Samba documentation installed on Linux with the software. The easiest way to access them is via SWAT. They are quite extensive and amazingly readable.

Last modified: Sun Sep 19 03:52:33 2004