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


Groups > alt.os.linux > #60443

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 Ken Hart <kwhart1@frontier.com>
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 15:47 -0500
Organization Aioe.org NNTP Server
Message-ID <qq4k8i$1qu6$1@gioia.aioe.org> (permalink)
References <qq3dm3$ctq$1@dont-email.me> <0q4g9g-dbi.ln1@Telcontar.valinor> <qq3urd$jrk$1@gioia.aioe.org> <s4dg9g-cjp.ln1@Telcontar.valinor>

Show all headers | View raw


On 11/8/19 10:10 AM, Carlos E.R. wrote:
> 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.

Glad to hear you say that- I thought I was just doing something wrong! 
It's a moot point now that Windows doesn't live here anymore, and I wish 
you had said it several years ago when I was fighting it!
> 
> 
> 
>>> 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...
> 

I've used sftp as a command line to copy files to my laptop at a remote 
location when I only had access to a slow wifi, and had no problems- I 
didn't have to do any special setup. It only required the password for 
the home/server machine.

>>>
>>> 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.
> 


PCmanFM is a fairly conventional file explorer program. It is included 
in the Lubuntu 16 distro. I was able to use it for LAN 'exploration' out 
of the box, which is why I am kind of pushing it for Mr Mario's use!


(I am using "###" as a wildcard for a number between 0 and 255.)

In PCmanFM, select "GO", "Connect to Server", and fill in the drop-down 
box. It uses either SSH, ftp, or WebDAV- I use SSH. It wants to know the 
host address and port that you want to connect to. If I am using it on 
my LAN, the host is 192.168.###.###, (the IP of the computer I want to 
connect to), and for ssh, the port defaults to 22. It wants the path; I 
always use 'home' because once I'm in, I can navigate elsewhere, 
including the secondary HDD. It will then ask for the password for the 
remote computer, and a few seconds later, you're in.
It this point, the "Places" pane on the left will include "Home", 
"Desktop", "Trashcan", and "(user) on 192.168.254.###", plus other things.

I can also use PCmanFM to access my home computer(s) remotely. Instead 
of using a 192.168.. address, I use my outside IP address. My router by 
default routes port 22 to computer 'HP5800', so the files on that 
machine are available at my remote machine.


-- 
Ken Hart
kwhart1@frontier.com

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