On 01/14/2017 06:53 AM, Richard Owlett wrote:
> I suspect what I'm looking for is ONE 3 ft piece of terminated 
> Cat6 cable ;)
> I have two laptops - one (a Lenovo T43) speaks only WinXP Pro, 
> the other (a Lenovo T430) only Debian Jessie.
> Sometime back I attempted to have them communicate via ethernet - 
> hence the availability of the Cat6 cable. As far as I got was 
> both sides recognized that electrically the other existed.
> My LAN knowledge is ~= "null set".
---

I have to chime in here: Although the ressponses all have good info,
they are a bit terse and scattered.

1. Prerequisites

CAT5 or 6 etehrnet cable with RJ45 plugs
PC networks cards (NIC) 10/100Mbps or 1Gbps

NOTE: not all older NIC cards are autosensing, but all 1GBbps cards are.
 If they are not autosensing you will need either a crossover cable, a
hub or a switch

2. Set up network

Any IP address on the same subnet will work. As mentioned, you can omit
gateway etc.  I will leave you to this list or google/man pages on how
to set up the static ip addresses.

Linux:
192.168.0.1
255.255.255.0

WinXP
192.168.0.2
255.255.255.0

3. File sharing protocols.

I use NFS here since everything is Linux or MacOS.  Windows needs extra
software for NFS.  Thus you are stuck with SAMBA.  Depending on your
version of Windows, you can either set up a Windows file share and mount
it in Linux, or set up linux as a SAMBA server to share files.

3a.  Set up a shared directory in Windows.
Once you share a folder in Windows, then set appropriate permissions
(left as an exercise!), go to a terminal in Linus a do something like
(will need root or sudo):

# mkdir /mnt/<somewhere>
(I will use /mnt/hd as it already exists in Slackware)

# mount -t cifs //192.168.0.2/<shared_dir> /mnt/hd -o rw,username=<username>

Obviously, <> items are replaced with your stuff.

Now you can transfer files.

3b
Set up Linux as a SAMBA server.  Pretty tedious but lots of good HOW-TOs
online.  Use this is yo have multiple windows boxes that need to share
with one Linux box.

Have Fun!
Ed


_______________________________________________
PLUG mailing list
[email protected]
http://lists.pdxlinux.org/mailman/listinfo/plug

Reply via email to