Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.os.linux.networking > #2680

Re: Simplest eth0 between 2 PCs?

From Unknown <dog@gmail.com>
Newsgroups comp.os.linux.networking
Subject Re: Simplest eth0 between 2 PCs?
Date 2014-01-01 03:11 +0000
Organization A noiseless patient Spider
Message-ID <la0107$e3$1@dont-email.me> (permalink)
References <l9sp67$31v$1@dont-email.me> <slrnlc3qig.vb5.BitTwister@wb.home.test> <l9v23j$tg0$1@dont-email.me> <l9v50o$94m$3@dont-email.me>

Show all headers | View raw


On Tue, 31 Dec 2013 19:13:29 +0000, unruh wrote:

> On 2013-12-31, Unknown <dog@gmail.com> wrote:
>> On Mon, 30 Dec 2013 21:49:04 +0000, Bit Twister wrote:
>>
>>> On Mon, 30 Dec 2013 21:39:19 +0000 (UTC), Unknown wrote:
>>>>
>>>> Please lets confirm each stage.
>>>> Like seeing the actual water-flowing-in-the-pipe.
>>>>
>>>> 1= plug cross-over cat-cable between PC1 <-> PC2. 2= PC1: ifconfig
>>>> eth0 192.168.0.1
>>>>    PC2: ifconfig eth0 192.168.0.2
>>>>  See LEDs on PC1 connector light-up.
>>>>
>>>> What is the minimal command/s to confirm that each PC detects the
>>>> other?
>>> 
>>> PC1: ping -c1 192.168.0.2
>>> PC2: ping -c1 192.168.0.1
>>> 
>>>> What is the minimal command/s to transfer a file from 'src -> dest'?
>>> 
>>> PC1: scp fn_here $USER@192.168.0.2:/wherever/fn_here
>>> 
>>> copy a whole directory:
>>> PC1: rsync /some/dir/ $USER@192.168.0.2:/some/dir
>>
>> OK, thanks.
>> ->  rsync /var/CONTROL/*  pi@192.168.0.2:/home/pi/MOBO pi@192.168.0.2's
>> password:
>>=!=> copies all files of /var/CONTROL/* into /home/pi/MOBO/
>>
>> It's quiet a big story.
> 
> Yes. You told it to copy all of the files in /var/CONTROL and it did so.
> If you did not want it to copy all the files do not tell it to copy all
> the files.
> Note that if you give rsync a directory name, it will copy over all the
> files and directories under that directory ( and watch what happens if
> you terminate with a / or not) . If you give it a filename it will copy
> just that file.
> 
> 
>> I'm used to `mc`, where you can see the file / dir, and just
>> reach-out-and-copy/move/delete it.
> 
> Great. There you have 10000 files you want to transfer and you have to
> pick them out one by one.
> 
mc allows moving a dir-tree with 2 or 3 key-strokes.
Plus giving visual confirmation: <scr has gone> and <dest has appeared>.

> 
>> Apparently mc does ftp; so I'll ask on their mail-list, now that I've
>> confirmed that the connection works.
> 
> IF you have one or two files to transfer and you forgot their name, mc
> is a good idea. If not, it is pretty terrible. One advantage of rsync is
> that it also hashes the file to make sure it got transferred correctly.
> But use whatever tools you want.
> 
Our very different views are probably due to this being a networking
group, and emphasising bulk delivery.
OTOH my problems entail a dozen files, hopefully mostly in the same
directory [of THAT project]. I don't want to remember names, when mc
allows me to just *recognise* <yes, gime that one>.

Your pov is the delivery-van load of items.
My pov is the clerk at his desk with 8 docos open, and 2 more just
arrived. Once I've identified the doco, I don't want to remember it's
name. It's just <the small green one>.

Names/verbalising are for communication between-people.
mc/visualisation is easier and more efficient for self-communication.

Back to comp.os.linux.networking | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


Thread

Simplest eth0 between 2 PCs? Unknown <dog@gmail.com> - 2013-12-30 21:39 +0000
  Re: Simplest eth0 between 2 PCs? Bit Twister <BitTwister@mouse-potato.com> - 2013-12-30 21:49 +0000
    Re: Simplest eth0 between 2 PCs? unruh <unruh@invalid.ca> - 2013-12-30 22:07 +0000
      Re: Simplest eth0 between 2 PCs? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2013-12-30 22:40 +0000
        Re: Simplest eth0 between 2 PCs? unruh <unruh@invalid.ca> - 2013-12-30 23:35 +0000
          Re: Simplest eth0 between 2 PCs? detha <detha@foad.co.za> - 2013-12-31 07:33 +0200
            Re: Simplest eth0 between 2 PCs? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2013-12-31 10:15 +0000
              Re: Simplest eth0 between 2 PCs? detha <detha@foad.co.za> - 2013-12-31 15:15 +0200
                Re: Simplest eth0 between 2 PCs? David Brown <david.brown@hesbynett.no> - 2013-12-31 15:01 +0100
                Re: Simplest eth0 between 2 PCs? Keith Keller <kkeller-usenet@wombat.san-francisco.ca.us> - 2013-12-31 11:20 -0800
                Re: Simplest eth0 between 2 PCs? detha <detha@foad.co.za> - 2014-01-01 12:03 +0200
                Re: Simplest eth0 between 2 PCs? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2014-01-01 11:26 +0000
                Re: Simplest eth0 between 2 PCs? detha <detha@foad.co.za> - 2014-01-01 13:34 +0200
                Re: Simplest eth0 between 2 PCs? David Brown <david.brown@hesbynett.no> - 2014-01-01 12:50 +0100
              Re: Simplest eth0 between 2 PCs? unruh <unruh@invalid.ca> - 2013-12-31 19:07 +0000
                Re: Simplest eth0 between 2 PCs? Jorgen Grahn <grahn+nntp@snipabacken.se> - 2014-01-02 21:24 +0000
            Re: Simplest eth0 between 2 PCs? unruh <unruh@invalid.ca> - 2013-12-31 19:02 +0000
              Re: Simplest eth0 between 2 PCs? detha <detha@foad.co.za> - 2014-01-01 11:54 +0200
                Re: Simplest eth0 between 2 PCs? Aragorn <thorongil@telenet.be.invalid> - 2014-01-01 12:08 +0100
                Re: Simplest eth0 between 2 PCs? unruh <unruh@invalid.ca> - 2014-01-01 19:08 +0000
              Re: Simplest eth0 between 2 PCs? Michael Black <et472@ncf.ca> - 2014-01-13 23:00 -0500
          Re: Simplest eth0 between 2 PCs? Chris Davies <chris-usenet@roaima.co.uk> - 2014-01-01 16:23 +0000
        Re: Simplest eth0 between 2 PCs? ein <ein@no.spam> - 2013-12-31 19:42 +0100
          Re: Simplest eth0 between 2 PCs? detha <detha@foad.co.za> - 2014-01-01 11:43 +0200
    Re: Simplest eth0 between 2 PCs? Unknown <dog@gmail.com> - 2013-12-31 18:23 +0000
      Re: Simplest eth0 between 2 PCs? Bit Twister <BitTwister@mouse-potato.com> - 2013-12-31 18:40 +0000
        Re: Simplest eth0 between 2 PCs? Avoid9Pdf@gmail.com - 2014-01-01 02:28 +0000
      Re: Simplest eth0 between 2 PCs? unruh <unruh@invalid.ca> - 2013-12-31 19:13 +0000
        Re: Simplest eth0 between 2 PCs? Unknown <dog@gmail.com> - 2014-01-01 03:11 +0000
      Re: Simplest eth0 between 2 PCs? Keith Keller <kkeller-usenet@wombat.san-francisco.ca.us> - 2013-12-31 11:16 -0800
    Re: Simplest eth0 between 2 PCs? ein <ein@no.spam> - 2013-12-31 19:48 +0100
  Re: Simplest eth0 between 2 PCs? Pascal Hambourg <boite-a-spam@plouf.fr.eu.org> - 2013-12-31 19:13 +0100

csiph-web