Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > alt.os.linux > #60379 > unrolled thread
| Started by | Soviet_Mario <SovietMario@CCCP.MIR> |
|---|---|
| First post | 2019-11-08 10:48 +0100 |
| Last post | 2019-11-10 11:21 +0100 |
| Articles | 20 on this page of 50 — 8 participants |
Back to article view | Back to alt.os.linux
[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
Page 2 of 3 — ← Prev page 1 [2] 3 Next page →
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-11-09 20:30 +0100 |
| Message-ID | <omgj9g-v3q.ln1@Telcontar.valinor> |
| In reply to | #60457 |
On 09/11/2019 16.17, William Unruh wrote: > On 2019-11-09, Carlos E.R. <robin_listas@es.invalid> wrote: >> On 08/11/2019 18.07, William Unruh wrote: >>> On 2019-11-08, Soviet_Mario <SovietMario@CCCP.MIR> wrote: >>>> On 08/11/2019 15:24, Dan Purgert wrote: >>> Carlos E.R. wrote: >>>>>>> On 08/11/2019 10.48, Soviet_Mario wrote: >> >> >>>>> >>>>> Server term usage suggests me of a PC which has to be always >>>>> powered and on. >>>>> >>>>> I'd like a settings where every of the two would be able to >>>>> work, and sync when both are on at the same time. >>> >>>> Sure. It is trivial. MOre or less you do nothing. (Well, you set it up >>>> so that each gets its IP from the router. Of you give on eht address of >>>> 192.168.0.2 and the other 102.168.0.2 and you set up /etc/hosts on each >>>> as >>>> 192.168.0.2 able >>>> 192.168.0.3 baker >>> >>>> Now >>>> ping baker >>>> on able will show that baker is reachable by able, and vice versa >>> >>>> Then set up ssh on both (including ssh server) and you can ssh from one >>>> to the other. If you want to sync, use rsync. >> >> I don't think that rsync fits his definition or "sync". Rather unison. > > Since he has no definition of sync, it would seem you are reading his > mind.The hints I have read, rsync does fit with his wants. (two separate > computers each of which is independent of the other, but on which > occassionally he wants to "sync" the files on one with the other.) Of course I'm trying to read his mind, he doesn't explain enough :-D On requisite he has explained is bidirectional, and rsync is not so. You can set two rsyncs, one in each direction, but then the first one will overwrite what the would would do. You get on both sites an image of the rsync view that runs first, not the most recent file that exist we don't know if at computer A or B. But Unison does take that into consideration, it is bidirectional. -- Cheers, Carlos.
[toc] | [prev] | [next] | [standalone]
| From | Dan Purgert <dan@djph.net> |
|---|---|
| Date | 2019-11-08 17:51 +0000 |
| Message-ID | <slrnqsbaot.mko.dan@djph.net> |
| In reply to | #60413 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Soviet_Mario wrote: > On 08/11/2019 15:24, Dan Purgert wrote: >> Carlos E.R. wrote: >>> [...] >>> Nothing allows bidirectional access, AFAIK. >> >> Technically, this is true. >> >> However, there's nothing stopping you from pointing to the "NFS Share" >> on the server (e.g. a symlink in $HOME). Arguably, that's a better >> solution, so you don't have to remember if the most recent copy of >> $document is on PC1 or PC2. > > Server term usage suggests me of a PC which has to be always > powered and on. Well, more specifically, "an application that is serving data". > > I'd like a settings where every of the two would be able to > work, and sync when both are on at the same time. In that case, you probably don't want any of what we've talked about thus far, and just use "rsync". Maybe in a cronjob. > > > I mean : a sort of cloudless-cloud built upon two peers. > > Would solutions like OWNCLOUD or NEXTCLOUD (self-storage) be > able to run on a lan (intranet) internally olny through the > switch and do the sync, deferredly, without going out on the > wan, when the other PC is on ? Sure, but then one of the machines has to "always be on" and you have a "star" layout (which you've already said you don't want). -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAl3Fqx0ACgkQjhHd8xJ5 ooEIkwgAke3yBrnrf26qdIdFP+Q8e90XScezQC/G+GDoolh4IGR4Yc1V6qyWvmal zQY5vuZWF8ZjH8Uh5zVcC9JSMgEMo5f/7nq3h2TqultKl+MNC/eKc/aheKp4+WVx A/7hfhpc28spoLvmPD2J2QmYVky8xLSaL7giC/w2iPUZCjQnA8ShHG3zoWogawsU J7E0Ua5txOa8W6eZoKut3rlirLiFdDf9V7CIJIOqaRLs0me9Ba8zn3wUTPXjtC5v ZB389KNW03rJ/UtVOorqqMdZJ+AqRXTQWs7dxzfHGSgpfnObsiolDIAd77GT8cfD XNiE0onfmlgDSm/3spOIg4diJzo5XA== =VYTx -----END PGP SIGNATURE----- -- |_|O|_| |_|_|O| Github: https://github.com/dpurgert |O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5 4AEE 8E11 DDF3 1279 A281
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-11-09 11:53 +0100 |
| Message-ID | <hdii9g-5n2.ln1@Telcontar.valinor> |
| In reply to | #60433 |
On 08/11/2019 18.51, Dan Purgert wrote: > Soviet_Mario wrote: >> On 08/11/2019 15:24, Dan Purgert wrote: >>> Carlos E.R. wrote: >>>> [...] >>>> Nothing allows bidirectional access, AFAIK. >>> >>> Technically, this is true. >>> >>> However, there's nothing stopping you from pointing to the "NFS Share" >>> on the server (e.g. a symlink in $HOME). Arguably, that's a better >>> solution, so you don't have to remember if the most recent copy of >>> $document is on PC1 or PC2. > >> Server term usage suggests me of a PC which has to be always >> powered and on. > > Well, more specifically, "an application that is serving data". > > >> I'd like a settings where every of the two would be able to >> work, and sync when both are on at the same time. > > In that case, you probably don't want any of what we've talked about > thus far, and just use "rsync". Maybe in a cronjob. To use rsync, one computer is the source and another the sink. One direction only. -- Cheers, Carlos.
[toc] | [prev] | [next] | [standalone]
| From | William Unruh <unruh@invalid.ca> |
|---|---|
| Date | 2019-11-09 15:21 +0000 |
| Message-ID | <qq6lhl$57m$2@dont-email.me> |
| In reply to | #60452 |
On 2019-11-09, Carlos E.R. <robin_listas@es.invalid> wrote: > On 08/11/2019 18.51, Dan Purgert wrote: >> Soviet_Mario wrote: >>> On 08/11/2019 15:24, Dan Purgert wrote: >>>> Carlos E.R. wrote: >>>>> [...] >>>>> Nothing allows bidirectional access, AFAIK. >>>> >>>> Technically, this is true. >>>> >>>> However, there's nothing stopping you from pointing to the "NFS Share" >>>> on the server (e.g. a symlink in $HOME). Arguably, that's a better >>>> solution, so you don't have to remember if the most recent copy of >>>> $document is on PC1 or PC2. >> >>> Server term usage suggests me of a PC which has to be always >>> powered and on. >> >> Well, more specifically, "an application that is serving data". >> >> >>> I'd like a settings where every of the two would be able to >>> work, and sync when both are on at the same time. >> >> In that case, you probably don't want any of what we've talked about >> thus far, and just use "rsync". Maybe in a cronjob. > > To use rsync, one computer is the source and another the sink. One > direction only. Except that either can be the source and the other the sink. So it IS bidirectional. And if you want you can use the "newer" directive (or rather the --update) to only transfer those files on one that are newer than the equivalent file on the other. Thus A ->Newer->B and then B->newer-> A would sync both ways. man rsync > >
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-11-09 11:54 +0100 |
| Message-ID | <tfii9g-5n2.ln1@Telcontar.valinor> |
| In reply to | #60413 |
On 08/11/2019 17.43, Soviet_Mario wrote: > On 08/11/2019 15:24, Dan Purgert wrote: > 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. >>>> >>>> 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. >>>> [...] >>>> Nothing allows bidirectional access, AFAIK. > > Technically, this is true. > > However, there's nothing stopping you from pointing to the "NFS Share" > on the server (e.g. a symlink in $HOME). Arguably, that's a better > solution, so you don't have to remember if the most recent copy of > $document is on PC1 or PC2. > >> Server term usage suggests me of a PC which has to be always powered and >> on. > >> I'd like a settings where every of the two would be able to work, and >> sync when both are on at the same time. > > >> I mean : a sort of cloudless-cloud built upon two peers. > >> Would solutions like OWNCLOUD or NEXTCLOUD (self-storage) be able to run >> on a lan (intranet) internally olny through the switch and do the sync, >> deferredly, without going out on the wan, when the other PC is on ? > >> all of your replies is somewhat helping me to clarify what I'd need, >> during the discussion The cloud is just a fancy name for "server", with some features. -- Cheers, Carlos.
[toc] | [prev] | [next] | [standalone]
| From | Ken Hart <kwhart1@frontier.com> |
|---|---|
| Date | 2019-11-08 09:41 -0500 |
| Message-ID | <qq3urd$jrk$1@gioia.aioe.org> |
| In reply to | #60389 |
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. > > > 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. > > > Or you can copy a few files using scp Or sftp. > > 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. -- Ken Hart kwhart1@frontier.com
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-11-08 16:10 +0100 |
| Message-ID | <s4dg9g-cjp.ln1@Telcontar.valinor> |
| In reply to | #60401 |
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.
[toc] | [prev] | [next] | [standalone]
| From | Ken Hart <kwhart1@frontier.com> |
|---|---|
| Date | 2019-11-08 15:47 -0500 |
| Message-ID | <qq4k8i$1qu6$1@gioia.aioe.org> |
| In reply to | #60404 |
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
[toc] | [prev] | [next] | [standalone]
| From | Dan Purgert <dan@djph.net> |
|---|---|
| Date | 2019-11-08 20:58 +0000 |
| Message-ID | <slrnqsbln6.mko.dan@djph.net> |
| In reply to | #60443 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Ken Hart wrote:
> On 11/8/19 10:10 AM, Carlos E.R. wrote:
>> On 08/11/2019 15.41, Ken Hart wrote:
>>>
>>> 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!
You were! You kept Windows around! :)
>>>> 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.
Carlos seems to be thinking of old vanilla "FTP" (as in the ancient
plaintext and all-around awful application that just won't die for some
reason), as opposed to SFTP ("ftp(tm)" via SSH).
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAl3F1uYACgkQjhHd8xJ5
ooHgXQgAhl38+Fe6nFhNciwQM5vJDCWs26tWTf6Wc2VsNsP/hs+5Yh0lxPm267Z/
0R5Hd0UI+IiBAnH/3yMR1VCCWzA2MLqIDuS06IK+ROBVpcvGHQG/kqZrzdyMie6N
/vIwCYVYugSj7QHyaxSqiEtcHVK2M1GtWyRyMq4Adr5f4QeLXRXfrX1sVYGoObkQ
A9SMtvTm4gI/5713/ZqqD5LG02pAKzuUyJR+ZUhh6bd6V0bR5cQ1kb09tXbCuCIG
JfIU+/wAPQ+eRzB2ZcLqfsKnvtFsArJjFWkazblI2bn3BlhXbaiu+weOkYDalT5S
ict7bxHTe3fUeRJycTCDQ8NcrvkklQ==
=O+TZ
-----END PGP SIGNATURE-----
--
|_|O|_|
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5 4AEE 8E11 DDF3 1279 A281
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-11-09 12:02 +0100 |
| Message-ID | <nvii9g-3c3.ln1@Telcontar.valinor> |
| In reply to | #60444 |
On 08/11/2019 21.58, Dan Purgert wrote:
> Ken Hart wrote:
>> On 11/8/19 10:10 AM, Carlos E.R. wrote:
>>> On 08/11/2019 15.41, Ken Hart wrote:
>>>>
>>>> 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!
>
> You were! You kept Windows around! :)
:-D
>
>>>>> 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.
>
> Carlos seems to be thinking of old vanilla "FTP" (as in the ancient
> plaintext and all-around awful application that just won't die for some
> reason), as opposed to SFTP ("ftp(tm)" via SSH).
I'm thinking of "secure ftp". It is unclear with "sftp" if one refers to
that or to some variation of ssh file access. Both exist.
SFTP(1) BSD General Commands Manual SFTP(1)
NAME
sftp — secure file transfer program
SYNOPSIS
sftp [-46aCfpqrv] [-B buffer_size] [-b batchfile]
[-c cipher] [-D sftp_server_path]
[-F ssh_config] [-i identity_file] [-l limit]
[-o ssh_option] [-P port] [-R num_requests]
[-S program] [-s subsystem | sftp_server]
destination
DESCRIPTION
sftp is a file transfer program, similar to ftp(1),
which performs all operations over an encrypted
ssh(1) transport. It may also use many features of
ssh, such as public key authentication and compres-
sion.
I'm still unclear on which is this one.
There is also sftp-server:
SFTP-SERVER(8) BSD System Manager's ManualSFTP-SERVER(8)
NAME
sftp-server — SFTP server subsystem
SYNOPSIS
sftp-server [-ehR] [-d start_directory]
[-f log_facility] [-l log_level]
[-P blacklisted_requests]
[-p whitelisted_requests] [-u umask]
[-m force_file_dir_perms]
sftp-server -Q protocol_feature
DESCRIPTION
sftp-server is a program that speaks the server
side of SFTP protocol to stdout and expects client
requests from stdin. sftp-server is not intended
to be called directly, but from sshd(8) using the
Subsystem option.
Command-line flags to sftp-server should be speci-
fied in the Subsystem declaration. See
sshd_config(5) for more information.
Call me confused.
--
Cheers, Carlos.
[toc] | [prev] | [next] | [standalone]
| From | Dan Purgert <dan@djph.net> |
|---|---|
| Date | 2019-11-09 23:28 +0000 |
| Message-ID | <slrnqseis8.mko.dan@djph.net> |
| In reply to | #60454 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Carlos E.R. wrote:
> On 08/11/2019 21.58, Dan Purgert wrote:
>> Ken Hart wrote:
>>> On 11/8/19 10:10 AM, Carlos E.R. wrote:
>>>> On 08/11/2019 15.41, Ken Hart wrote:
>>>>>
>>>>> 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!
>>
>> You were! You kept Windows around! :)
>
>:-D
>
>>
>>>>>> 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.
>>
>> Carlos seems to be thinking of old vanilla "FTP" (as in the ancient
>> plaintext and all-around awful application that just won't die for some
>> reason), as opposed to SFTP ("ftp(tm)" via SSH).
>
> I'm thinking of "secure ftp". It is unclear with "sftp" if one refers to
> that or to some variation of ssh file access. Both exist.
"secure ftp" (as in SFTP, as in the manpage you provided) is SSH-based
FTP (more akin to an interactive scp session than "old FTP").
It doesn't have any of the same problems that "FTP" has ...
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAl3HS4YACgkQjhHd8xJ5
ooHf9Af+N2q4aoyARMfCtUjPRZG764c/4fSXh247u5npiIhqyl0HuZok6XWbldol
T2/nf3LWOa3SlmoMQGCXViq9ezGdJari/Hj5t6MZ+mqkJp4PwlI2nqCiLgsEzx4/
XBjYN6LsQRYSfzptcHJ1Qf09PCyR7v/TRgrS0R/c5RNOTCQPFjZCm6PlNKzaD4Ns
Di4D71h3GdWPipMwn0kKpMJpZJHaN3ejoS0SFp3CsQ1FXvEJHOj8E7G3EdFAqcGv
5iQCe8BoTZgoVJ0i2ALieEkEExdhXKT6iegcEaO1RniYAfeZk7QErU1P5/x9vOX5
MQ3yb9HrSm99WoztQTUGBWIl/fmWfQ==
=GRKO
-----END PGP SIGNATURE-----
--
|_|O|_|
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5 4AEE 8E11 DDF3 1279 A281
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-11-10 15:02 +0100 |
| Message-ID | <9thl9g-io6.ln1@Telcontar.valinor> |
| In reply to | #60462 |
On 10/11/2019 00.28, Dan Purgert wrote:
> Carlos E.R. wrote:
>> On 08/11/2019 21.58, Dan Purgert wrote:
>>> Ken Hart wrote:
>>>> On 11/8/19 10:10 AM, Carlos E.R. wrote:
>>>>> On 08/11/2019 15.41, Ken Hart wrote:
...
>>>>>>> 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.
>>>
>>> Carlos seems to be thinking of old vanilla "FTP" (as in the ancient
>>> plaintext and all-around awful application that just won't die for some
>>> reason), as opposed to SFTP ("ftp(tm)" via SSH).
>
>> I'm thinking of "secure ftp". It is unclear with "sftp" if one refers to
>> that or to some variation of ssh file access. Both exist.
>
> "secure ftp" (as in SFTP, as in the manpage you provided) is SSH-based
> FTP (more akin to an interactive scp session than "old FTP").
>
> It doesn't have any of the same problems that "FTP" has ...
Correct. But there is another one, that I'm unable to locate (brain
fart) that is FTP based.
Advantages? I don't know. For instance, sftp being ssh based is tied to
the "real" accounts of the machine, whereas ftp can use actual or
virtual accounts. Useful if you want to provide files to people without
being able to execute programs.
We don't see much ftp these days, servers seem to prefer http for files.
--
Cheers, Carlos.
[toc] | [prev] | [next] | [standalone]
| From | Dan Purgert <dan@djph.net> |
|---|---|
| Date | 2019-11-10 14:32 +0000 |
| Message-ID | <slrnqsg7rq.mko.dan@djph.net> |
| In reply to | #60478 |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256
Carlos E.R. wrote:
> On 10/11/2019 00.28, Dan Purgert wrote:
>> [...]
>> "secure ftp" (as in SFTP, as in the manpage you provided) is SSH-based
>> FTP (more akin to an interactive scp session than "old FTP").
>>
>> It doesn't have any of the same problems that "FTP" has ...
>
> Correct. But there is another one, that I'm unable to locate (brain
> fart) that is FTP based.
Ah, perhaps you're thinking of FTP/S (FTP over SSL)?
And yes, its just trash "plain ftp" over an SSL (well, TLS these days)
secured channel.
Comes in two flavors :
- implicit: you connect to the "ftpssl" port; essentially the same
idea as HTTPS connections on port 443.
- explicit: you connect to regular ftp, then issue STARTTLS
-----BEGIN PGP SIGNATURE-----
iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAl3IH3oACgkQjhHd8xJ5
ooEw9Qf+IKtJ7MwUr6CgDG3L0AQhV6gvsI7Qf4Eo6GqTkBM/MNyB13gmwfQN8HP/
82adxT+M3yA1KI78YyuKL/1QFDcb4aWt30qxN4M6SgZmD4e5DPpAbPyxyAUZCe7N
zZrxD6a1e8s4Z/tz/uH0jly6AZFVPIU2PdD7Iwc4h4AvhcMKBp9vsNCi4uIozgNs
JMAIVjSAXHlv8O2QNNOqUOx9vdRRgIsTT9brt6tc7+GsmBKhd+/IaPvTnnIW6ec/
I44SqQViZ3dcvJ5SA1UyjVKObWbfdOwcO7+L87/7mYN4HW/RQUxYwXGLpbleNPCz
PS0gwTL8HwlbYjzZLZLbi8lyUqIorw==
=q3d/
-----END PGP SIGNATURE-----
--
|_|O|_|
|_|_|O| Github: https://github.com/dpurgert
|O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5 4AEE 8E11 DDF3 1279 A281
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-11-10 20:04 +0100 |
| Message-ID | <qj3m9g-3th.ln1@Telcontar.valinor> |
| In reply to | #60480 |
On 10/11/2019 15.32, Dan Purgert wrote: > Carlos E.R. wrote: >> On 10/11/2019 00.28, Dan Purgert wrote: >>> [...] >>> "secure ftp" (as in SFTP, as in the manpage you provided) is SSH-based >>> FTP (more akin to an interactive scp session than "old FTP"). >>> >>> It doesn't have any of the same problems that "FTP" has ... > >> Correct. But there is another one, that I'm unable to locate (brain >> fart) that is FTP based. > > Ah, perhaps you're thinking of FTP/S (FTP over SSL)? > > And yes, its just trash "plain ftp" over an SSL (well, TLS these days) > secured channel. That was it! ftps. Thanks. <https://en.wikipedia.org/wiki/FTPS> > Comes in two flavors : > > - implicit: you connect to the "ftpssl" port; essentially the same > idea as HTTPS connections on port 443. > - explicit: you connect to regular ftp, then issue STARTTLS -- Cheers, Carlos.
[toc] | [prev] | [next] | [standalone]
| From | Soviet_Mario <SovietMario@CCCP.MIR> |
|---|---|
| Date | 2019-11-08 17:56 +0100 |
| Message-ID | <qq46o3$5fm$1@dont-email.me> |
| In reply to | #60401 |
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. I'll go to the rooter admin page then and see if I find sth resembling this ... tnx > >> >> 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. uh ... actually I uninstalled this (here on MX it was preinstalled with thunar in xfce) but I can reinstall. I like CAJA and DOLPHIN normally What has in particular the basic file manager suggested that the other cannot do ? It is some plugin extending the features ? >> >> >> 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. oh, nice to hear. I do not have to mix. I have Debian and MX on old PC, and Mageia, Fedora and MX on new one. So I have put MX on both, which could simplify things (maybe) : i mean, when found a tool that work, use that. I don't necessarily need syncing realtime, but a lazy mirroring (cloud-like behaviour I am just used to work with). One mirror old working copy would be avail on the powered off machine, on the event of a crash while working on a newer copy. That is the goal. A single shared copy scares me on one side, but just cloning manually would not work. I just have faced the problem of not having univocally more recent copies and will try to avoid in future. I'm realizing I had put the wrong question, or better a question in the wrong terms. I'd not need SHARING WHILE WORKING. I'd need sharing (bidirectionally, but one way at a given time) only when SYNCING the mirror copy I mean, using cloud I do this, but slowly and going out. I'd like to do it fast and staying within the intranet tnx to you too, now I have at least clearer ideas about what I actually need ! lol :\ >> >> >> Or you can copy a few files using scp > Or sftp. >> >> 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. btw, now I'm reinstalling it. It is light > -- 1) Resistere, resistere, resistere. 2) Se tutti pagano le tasse, le tasse le pagano tutti Soviet_Mario - (aka Gatto_Vizzato)
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-11-09 12:21 +0100 |
| Message-ID | <j3ki9g-034.ln1@Telcontar.valinor> |
| In reply to | #60419 |
On 08/11/2019 17.56, Soviet_Mario 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: >>> 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. > > oh, nice to hear. I do not have to mix. > I have Debian and MX on old PC, and Mageia, Fedora and MX on new one. > So I have put MX on both, which could simplify things (maybe) : i mean, > when found a tool that work, use that. > > I don't necessarily need syncing realtime, but a lazy mirroring > (cloud-like behaviour I am just used to work with). One mirror old > working copy would be avail on the powered off machine, on the event of > a crash while working on a newer copy. That is the goal. > > A single shared copy scares me on one side, but just cloning manually > would not work. I just have faced the problem of not having univocally > more recent copies and will try to avoid in future. > > > I'm realizing I had put the wrong question, or better a question in the > wrong terms. > > I'd not need SHARING WHILE WORKING. > I'd need sharing (bidirectionally, but one way at a given time) only > when SYNCING the mirror copy > > I mean, using cloud I do this, but slowly and going out. > I'd like to do it fast and staying within the intranet But you see, "The Cloud" is just a fancy marketing name for "a server out there somewhere, with some fancy services that hide the complications from the user". You still need a server to do this at home, the server doing the complex work, and somebody maintaining the server. The "server" can be distributed somehow, but I do not know how that is actually done. Means that they distribute the load and failsafes and failovers. There is no "peer to peer cloud with no server", AFAIK, which is what you seem to want. I would suggest that first, you define what directories you want "synced", and then run a tool like "unison" which will compare the directories on two sides (no three side version, sorry), and the program will decide which are the new versions and copy in the correct direction each time. But it is not automatic, it presents a window with a list of what it is going to do and you have to confirm. I think there is a CLI version that might be automated. -- Cheers, Carlos.
[toc] | [prev] | [next] | [standalone]
| From | Soviet_Mario <SovietMario@CCCP.MIR> |
|---|---|
| Date | 2019-11-10 16:53 +0100 |
| Message-ID | <qq9bqf$3p2$1@dont-email.me> |
| In reply to | #60455 |
On 09/11/2019 12:21, Carlos E.R. wrote: > On 08/11/2019 17.56, Soviet_Mario 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: > > CUT > > > There is no "peer to peer cloud with no server", AFAIK, which is what > you seem to want. well, I'm not experienced in that, but torrents can rely on seeders > > > > I would suggest that first, you define what directories you want > "synced", and then run a tool like "unison" which will compare the very fine to here that because, while searching over SSHFS facilites, yesterday I came across this program that sounds perfect. I'll dedicate to it as soon as I receive the new disk in exchange for the broken purchased copy :\ > directories on two sides (no three side version, sorry), and the program > will decide which are the new versions and copy in the correct direction > each time. > > But it is not automatic, it presents a window with a list of what it is > going to do and you have to confirm. I think there is a CLI version that > might be automated. better so, I fear to delegate potential versions overwrite to totally automated procedures if only one criterion of decision (i.g. last modified date) is supported. Also I hope it will support some "rename and merge" in case of non eliminatable collisions > > > -- 1) Resistere, resistere, resistere. 2) Se tutti pagano le tasse, le tasse le pagano tutti Soviet_Mario - (aka Gatto_Vizzato)
[toc] | [prev] | [next] | [standalone]
| From | Dan Purgert <dan@djph.net> |
|---|---|
| Date | 2019-11-10 17:31 +0000 |
| Message-ID | <slrnqsgib7.mko.dan@djph.net> |
| In reply to | #60485 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Soviet_Mario wrote: > On 09/11/2019 12:21, Carlos E.R. wrote: >> On 08/11/2019 17.56, Soviet_Mario wrote: >> There is no "peer to peer cloud with no server", AFAIK, which is what >> you seem to want. > > well, I'm not experienced in that, but torrents can rely on > seeders The seeds take on the role of "server". -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAl3ISWcACgkQjhHd8xJ5 ooE7mQf/ZGFAFPPfTU/Yg+LLkRC9XdewTL78BpS7QLw21NCT4r9rYNLIV8KCVYnK /AlW0zfI+owhdz7lq4Peum3mFsjvDpfrQ+v7NkdB1G3NooTTshmzlKLZ7LfBuHNN BG3JbaAxsRvgy9IIFqz0IS0Vm2uTb4+hkImbmH59NxRiUUk2S1OmYMH1l/+TIhSa Rf/6c0SprmHs35F2Txhn/sKHEmS9QF9aLDnHFg64SPq6n7vjAH0/wQ6mh3zj7xK5 aijZRv/RiUoy6ZWQGelLLA0sMQtS6IQ8Q7mGD71E5xf3CgY2H6NQcwfuyq+lGGYe +XX0zexl5sCFsZzVzaSxW6w+cSAkYA== =kkRu -----END PGP SIGNATURE----- -- |_|O|_| |_|_|O| Github: https://github.com/dpurgert |O|O|O| PGP: 05CA 9A50 3F2E 1335 4DC5 4AEE 8E11 DDF3 1279 A281
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-11-10 20:09 +0100 |
| Message-ID | <hr3m9g-1bi.ln1@Telcontar.valinor> |
| In reply to | #60485 |
On 10/11/2019 16.53, Soviet_Mario wrote: > On 09/11/2019 12:21, Carlos E.R. wrote: >> On 08/11/2019 17.56, Soviet_Mario 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: >> >> > CUT > >> >> >> There is no "peer to peer cloud with no server", AFAIK, which is what >> you seem to want. > > well, I'm not experienced in that, but torrents can rely on seeders But it is not "the cloud" :-D And you need to do something specific on the server side to publish the files, and the client needs to do something specific to download them. > >> >> >> >> I would suggest that first, you define what directories you want >> "synced", and then run a tool like "unison" which will compare the > > very fine to here that because, while searching over SSHFS facilites, > yesterday I came across this program that sounds perfect. > I'll dedicate to it as soon as I receive the new disk in exchange for > the broken purchased copy :\ > >> directories on two sides (no three side version, sorry), and the program >> will decide which are the new versions and copy in the correct direction >> each time. >> >> But it is not automatic, it presents a window with a list of what it is >> going to do and you have to confirm. I think there is a CLI version that >> might be automated. > > better so, I fear to delegate potential versions overwrite to totally > automated procedures if only one criterion of decision (i.g. last > modified date) is supported. > Also I hope it will support some "rename and merge" in case of non > eliminatable collisions No merge. Merging depends on each particular file type, has to be done by the aplication that created the file or another one that understands that file format. No rename, either, AFAIK. -- Cheers, Carlos.
[toc] | [prev] | [next] | [standalone]
| From | Soviet_Mario <SovietMario@CCCP.MIR> |
|---|---|
| Date | 2019-11-08 17:38 +0100 |
| Message-ID | <qq45n2$uf6$1@dont-email.me> |
| In reply to | #60389 |
On 08/11/2019 13:48, 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. > > 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. > > > Or you can use Samba, Windows style. Same idea as above, different > implementation. I have many SAMBA packages just installed, also SMB client PAul said, so it could be a good idea > Caveat: does not support Linux permissions and such, so > be careful when copying files. explain a bit more this point. Copied files access permissions would become broader or narrower ? If the former, this would be very welcome (I am a single user on both machines), if the latter, it would require applying recursively rights to the copies. Or a third way I cannot even imagine ? > Pro: it is used by any Windows computer oh, this would be irrelevant. I no longer have one and in last months did not even use virtual machines. I'm learning Avogadro and abandoning HyperChem, one of the very few reasons I had to stay on windows. Also some of the most crucial Office Macros have been ported out on Gambas and even I don't know macros in LbO basic (a brain wearing language), I export data out and then back in, and fuck macros at all :) > connected to the same router, and often also by cheap external storage > (NAS). Better NAS will also have NFS. > > > Or you can copy a few files using scp. > > 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. still works on an INTRA-net without going outside ? Is it fast enough compared to local access ? > > If you want to run something on another computer, you use ssh. no, too advanced a feature for me. But I'd need a lot to get data accessed "mirrored". Not necessarily real-time, even a manually launched synchro. would be fine (even better actually : in case of a crash here, I'd still have an older good copy there). > > > Nothing allows bidirectional access, AFAIK. again mea culpa, I was unclear surely I do not need contemporary, concurrent access. If i sit on a PC I'm not using the other and vice versa. So data in use are one copy at a time. But I'd like to keep both machines powered on while being able to switch place and operate on shared resources I'm not good at explanation because, as Chris Elwidge stressed, I lack even the more basic concepts of networking :( > -- 1) Resistere, resistere, resistere. 2) Se tutti pagano le tasse, le tasse le pagano tutti Soviet_Mario - (aka Gatto_Vizzato)
[toc] | [prev] | [next] | [standalone]
Page 2 of 3 — ← Prev page 1 [2] 3 Next page →
Back to top | Article view | alt.os.linux
csiph-web