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


Groups > alt.os.linux > #60404

Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable

From "Carlos E.R." <robin_listas@es.invalid>
Newsgroups alt.os.linux
Subject Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable
Date 2019-11-08 16:10 +0100
Message-ID <s4dg9g-cjp.ln1@Telcontar.valinor> (permalink)
References <qq3dm3$ctq$1@dont-email.me> <0q4g9g-dbi.ln1@Telcontar.valinor> <qq3urd$jrk$1@gioia.aioe.org>

Show all headers | View raw


On 08/11/2019 15.41, Ken Hart wrote:
> On 11/8/19 7:48 AM, Carlos E.R. wrote:
>> On 08/11/2019 10.48, Soviet_Mario wrote:
>>>
>>> Hi, I am completely new to this topic, so sorry if my questions seem
>>> really trivial and silly
>>>
>>> I'd like to connect, with "peer" rights (I mean both should be able to
>>> access the other's resources, expecially disks and files), two PC.
>>> Both run Linux (various distros) and both are attached to the same
>>> modem-router (a TP-link with four ethernet ports)
>>> via independent ethernet cables (non crossed, standard)
>>
>> Then you are already connected computer to computer. You just have to
>> decide what protocol to use, and know what IP address each one has.
> 
> You may be able to go into your router setup, and reserve an IP address
> for each computer's MAC. It worked for my Frontier DSL router. When I
> power-up each computer, the router assigns it a specific IP address that
> I have already determined.
> 
>>
>> For example, you may decide to share a directory in computer A to be
>> used in B: You can set NFS-server on A, and NFS-client on B.
>>
>> If you also want to share a directory in B to be used in A, you have to
>> do the reverse.
>>
>> Two server-client setups, independent.
> 
> I tried NFS years ago- in my opinion, setting up the mount points was a
> pain to get right. I found using PCmanFM to be easier.

Well, openSUSE has YaST, which has a module to setup the nfs server and
another for the client. It is quite easy.

>>
>>
>> Or you can use Samba, Windows style. Same idea as above, different
>> implementation. Caveat: does not support Linux permissions and such, so
>> be careful when copying files. Pro: it is used by any Windows computer
>> connected to the same router, and often also by cheap external storage
>> (NAS). Better NAS will also have NFS.
> 
> When I had a mix of WinXP and Lubuntu computers, I used Samba. Never got
> it to work consistently: sometimes on some machines, the shares worked.
> Other times, they didn't. Since my goal was to dump Windows, the problem
> disappeared when the last Windows machine was converted to Lubuntu.

Yes, I also find Windows shares and Samba shares to be temperamental.



>> Or you can copy a few files using scp
> Or sftp.

I forgot ftp, yes; it needs setting up the server side, and it has its
own nuances: firewall setup with two ports, one random; active vs
passive modes...

>>
>> Or you can use sshfs to have access to a directory tree of another
>> computer, instantly without setup. This one is safe to use across
>> internet.
>>
>> If you want to run something on another computer, you use ssh.
> 
> The first time you connect, it may "protest"; just read the warning, and
> if it's right, tell it to connect.
> 
>>
>>
>> Nothing allows bidirectional access, AFAIK.
>>
> 
> I don't know if this qualifies as "bidirectional access", but I know
> that I can open PCmanFM on computer "A" and access computer "B", while
> at the same time, I can open PCmanFM on computer "B" and access computer
> "A". Access is via SSH.

I'm not familiar with PCmanFM, but if it uses SSH, it is unidirectional.
However, once you open a file transfer protocol of whatever kind, you
can read and write files on both directions. In that sense it can be
bidirectional. My mistake.


-- 
Cheers, Carlos.

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


Thread

[Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable Soviet_Mario <SovietMario@CCCP.MIR> - 2019-11-08 10:48 +0100
  Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable Dan Purgert <dan@djph.net> - 2019-11-08 10:42 +0000
    Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable Soviet_Mario <SovietMario@CCCP.MIR> - 2019-11-08 13:13 +0100
      Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable "Carlos E.R." <robin_listas@es.invalid> - 2019-11-08 13:33 +0100
        Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable William Unruh <unruh@invalid.ca> - 2019-11-08 16:44 +0000
      Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable Dan Purgert <dan@djph.net> - 2019-11-08 14:21 +0000
  Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable Paul <nospam@needed.invalid> - 2019-11-08 06:03 -0500
    Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable Soviet_Mario <SovietMario@CCCP.MIR> - 2019-11-08 13:25 +0100
      Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable "Carlos E.R." <robin_listas@es.invalid> - 2019-11-08 13:39 +0100
        Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable Soviet_Mario <SovietMario@CCCP.MIR> - 2019-11-08 17:25 +0100
          Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable "J.O. Aho" <user@example.net> - 2019-11-08 22:01 +0100
          Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable "Carlos E.R." <robin_listas@es.invalid> - 2019-11-09 11:47 +0100
      Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable Chris Elvidge <chris@mshome.net> - 2019-11-08 12:53 +0000
        Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable "Carlos E.R." <robin_listas@es.invalid> - 2019-11-08 14:27 +0100
  Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable "Carlos E.R." <robin_listas@es.invalid> - 2019-11-08 13:48 +0100
    Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable Dan Purgert <dan@djph.net> - 2019-11-08 14:24 +0000
      Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable Soviet_Mario <SovietMario@CCCP.MIR> - 2019-11-08 17:43 +0100
        Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable William Unruh <unruh@invalid.ca> - 2019-11-08 17:07 +0000
          Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable "Carlos E.R." <robin_listas@es.invalid> - 2019-11-09 11:51 +0100
            Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable William Unruh <unruh@invalid.ca> - 2019-11-09 15:17 +0000
              Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable "Carlos E.R." <robin_listas@es.invalid> - 2019-11-09 20:30 +0100
        Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable Dan Purgert <dan@djph.net> - 2019-11-08 17:51 +0000
          Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable "Carlos E.R." <robin_listas@es.invalid> - 2019-11-09 11:53 +0100
            Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable William Unruh <unruh@invalid.ca> - 2019-11-09 15:21 +0000
        Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable "Carlos E.R." <robin_listas@es.invalid> - 2019-11-09 11:54 +0100
    Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable Ken Hart <kwhart1@frontier.com> - 2019-11-08 09:41 -0500
      Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable "Carlos E.R." <robin_listas@es.invalid> - 2019-11-08 16:10 +0100
        Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable Ken Hart <kwhart1@frontier.com> - 2019-11-08 15:47 -0500
          Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable Dan Purgert <dan@djph.net> - 2019-11-08 20:58 +0000
            Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable "Carlos E.R." <robin_listas@es.invalid> - 2019-11-09 12:02 +0100
              Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable Dan Purgert <dan@djph.net> - 2019-11-09 23:28 +0000
                Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable "Carlos E.R." <robin_listas@es.invalid> - 2019-11-10 15:02 +0100
                Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable Dan Purgert <dan@djph.net> - 2019-11-10 14:32 +0000
                Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable "Carlos E.R." <robin_listas@es.invalid> - 2019-11-10 20:04 +0100
      Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable Soviet_Mario <SovietMario@CCCP.MIR> - 2019-11-08 17:56 +0100
        Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable "Carlos E.R." <robin_listas@es.invalid> - 2019-11-09 12:21 +0100
          Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable Soviet_Mario <SovietMario@CCCP.MIR> - 2019-11-10 16:53 +0100
            Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable Dan Purgert <dan@djph.net> - 2019-11-10 17:31 +0000
            Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable "Carlos E.R." <robin_listas@es.invalid> - 2019-11-10 20:09 +0100
    Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable Soviet_Mario <SovietMario@CCCP.MIR> - 2019-11-08 17:38 +0100
      Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable "Carlos E.R." <robin_listas@es.invalid> - 2019-11-09 12:37 +0100
  Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable Ken Hart <kwhart1@frontier.com> - 2019-11-08 09:05 -0500
  Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable Chris Elvidge <chris@mshome.net> - 2019-11-08 14:06 +0000
    Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable Soviet_Mario <SovietMario@CCCP.MIR> - 2019-11-08 18:21 +0100
      Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable Chris Elvidge <chris@mshome.net> - 2019-11-08 18:49 +0000
        Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable Soviet_Mario <SovietMario@CCCP.MIR> - 2019-11-09 00:49 +0100
      Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable William Unruh <unruh@invalid.ca> - 2019-11-08 20:07 +0000
  Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable William Unruh <unruh@invalid.ca> - 2019-11-08 16:43 +0000
    Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable Paul <nospam@needed.invalid> - 2019-11-08 16:51 -0500
  Re: [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable Soviet_Mario <SovietMario@CCCP.MIR> - 2019-11-10 11:21 +0100

csiph-web