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 1 of 3 [1] 2 3 Next page →
| From | Soviet_Mario <SovietMario@CCCP.MIR> |
|---|---|
| Date | 2019-11-08 10:48 +0100 |
| Subject | [Niubbo-mode on] connecting two linux PC by means of a single modem-router to whom they are just connected via eth. cable |
| Message-ID | <qq3dm3$ctq$1@dont-email.me> |
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) I've read that with a crossed cable two PC can be connected. But since both PC have just a single ethernet port, this way none could be at the same time remain connected to the internet. So I do not find this solution viable Is it there a way to set up some kind of "lan" via the modem-router ? I mean that traffic SHOULD NOT go outside, on the internet, and come back and reenter, but be "short-circuited" in the router. if possible, some particular supplementary HW is needed ? maybe i just have enough SW installed without knowing it. How to setup this simple peer-to-peer lan not letting anything "out" ? what should I configure ? tnx in advance. I apologize for the trivialness of the question, but I am completely ignorant on networks -- 1) Resistere, resistere, resistere. 2) Se tutti pagano le tasse, le tasse le pagano tutti Soviet_Mario - (aka Gatto_Vizzato)
[toc] | [next] | [standalone]
| From | Dan Purgert <dan@djph.net> |
|---|---|
| Date | 2019-11-08 10:42 +0000 |
| Message-ID | <slrnqsahl4.mko.dan@djph.net> |
| In reply to | #60379 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 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) Which one do you reboot / change distros on less? Use that one as your "server" and set up NFS or SSHFS. Then on the other one, just connect to the shares. > > I've read that with a crossed cable two PC can be connected. > But since both PC have just a single ethernet port, this way > none could be at the same time remain connected to the internet. You just said they're connected to the same gateway device. Just use that things switching capabilities. The crossover cable is only required if you don't have a switch to place in between them (and they're of sufficient age that they only have 10/100 network cards without auto-crossover ... at this point, those cards would be about 25-30 years old). > > So I do not find this solution viable > > Is it there a way to set up some kind of "lan" via the > modem-router ? You already have it ... -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAl3FRqMACgkQjhHd8xJ5 ooHUVgf/T1c+uBdXGaeciTUxpxsnk2PA6XpSLijwHen2b9FWtY1ovz8l40g+Ow6+ 3Er/j5/IXU7rk/ZUXRL3UBrbTLFSlQS6h9Q95/4e7wNqmjUAd9QJXFcYAov0J30N rN9oVZcKtMmgIqbeKq+bm9S2eVSJHd60EDH0olrzOZMvVfhMeEh9zOYp9ikxVcTR qkyu01gc/fIwUcfDj4UHTXoOAeGLjWe9gMDklUYmYHdKnzl7+YsJVnhMFncvmLYs t13dqhLSLdoidUKaAUyK/mkSnVJfFIQEtCPOJArnlNSjcs0tg1Blg03gcEmTaYxw 3/d5pDORG0Cskr34H8vPc3htR9lETQ== =RK7E -----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 | Soviet_Mario <SovietMario@CCCP.MIR> |
|---|---|
| Date | 2019-11-08 13:13 +0100 |
| Message-ID | <qq3m65$t72$1@dont-email.me> |
| In reply to | #60381 |
On 08/11/2019 11:42, Dan Purgert wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > 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) > > Which one do you reboot / change distros on less? Use that one as your > "server" and set up NFS or SSHFS. but is this connection "symmetrical" ? I mean, would both have access to the other's resource ? > > Then on the other one, just connect to the shares. I'll try to learn sth about nfs or sshfs > >> >> I've read that with a crossed cable two PC can be connected. >> But since both PC have just a single ethernet port, this way >> none could be at the same time remain connected to the internet. > > You just said they're connected to the same gateway device. yes > Just use > that things switching capabilities. dunno how to do this > The crossover cable is only > required if you don't have a switch that is a modem router, how can I assess if it is also a switch ? > to place in between them (and > they're of sufficient age that they only have 10/100 network cards > without auto-crossover ... at this point, those cards would be about > 25-30 years old). the old machine is 10 years old, the new one a week but both are connected to the modem router by the same kind of cable (ethernet) > >> >> So I do not find this solution viable >> >> Is it there a way to set up some kind of "lan" via the >> modem-router ? > > You already have it ... well, then to set it up. Even if the HW is just set up, none sees the other now later I'll have to learn how permissions work, btw :\ > > -----BEGIN PGP SIGNATURE----- > > iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAl3FRqMACgkQjhHd8xJ5 > ooHUVgf/T1c+uBdXGaeciTUxpxsnk2PA6XpSLijwHen2b9FWtY1ovz8l40g+Ow6+ > 3Er/j5/IXU7rk/ZUXRL3UBrbTLFSlQS6h9Q95/4e7wNqmjUAd9QJXFcYAov0J30N > rN9oVZcKtMmgIqbeKq+bm9S2eVSJHd60EDH0olrzOZMvVfhMeEh9zOYp9ikxVcTR > qkyu01gc/fIwUcfDj4UHTXoOAeGLjWe9gMDklUYmYHdKnzl7+YsJVnhMFncvmLYs > t13dqhLSLdoidUKaAUyK/mkSnVJfFIQEtCPOJArnlNSjcs0tg1Blg03gcEmTaYxw > 3/d5pDORG0Cskr34H8vPc3htR9lETQ== > =RK7E > -----END PGP SIGNATURE----- > -- 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-08 13:33 +0100 |
| Message-ID | <nt3g9g-ijh.ln1@Telcontar.valinor> |
| In reply to | #60383 |
On 08/11/2019 13.13, Soviet_Mario wrote: > On 08/11/2019 11:42, Dan Purgert wrote: > 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) > > Which one do you reboot / change distros on less? Use that one as your > "server" and set up NFS or SSHFS. > >> but is this connection "symmetrical" ? I mean, would both have access to >> the other's resource ? No. You have to "share" a resource (a directory) on each computer, one by one. > Then on the other one, just connect to the shares. > >> I'll try to learn sth about nfs or sshfs > > >>>> >>>> I've read that with a crossed cable two PC can be connected. >>>> But since both PC have just a single ethernet port, this way >>>> none could be at the same time remain connected to the internet. > > You just said they're connected to the same gateway device. > >> yes > > Just use > that things switching capabilities. > >> dunno how to do this > > The crossover cable is only > required if you don't have a switch > >> that is a modem router, how can I assess if it is also a switch ? If it has several ethernet sockets inside, it has a switch. ... -- Cheers, Carlos.
[toc] | [prev] | [next] | [standalone]
| From | William Unruh <unruh@invalid.ca> |
|---|---|
| Date | 2019-11-08 16:44 +0000 |
| Message-ID | <qq4610$qe2$2@dont-email.me> |
| In reply to | #60387 |
On 2019-11-08, Carlos E.R. <robin_listas@es.invalid> wrote: > On 08/11/2019 13.13, Soviet_Mario wrote: >> On 08/11/2019 11:42, Dan Purgert wrote: >> 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) >> >> Which one do you reboot / change distros on less? Use that one as your >> "server" and set up NFS or SSHFS. >> >>> but is this connection "symmetrical" ? I mean, would both have access to >>> the other's resource ? > > No. You have to "share" a resource (a directory) on each computer, one > by one. No you do not have to . You can if you wish. But befer you do you have to get them both able to talk to each other on the network. > > > > >> Then on the other one, just connect to the shares. >> >>> I'll try to learn sth about nfs or sshfs >> >> >>>>> >>>>> I've read that with a crossed cable two PC can be connected. >>>>> But since both PC have just a single ethernet port, this way >>>>> none could be at the same time remain connected to the internet. >> >> You just said they're connected to the same gateway device. >> >>> yes >> >> Just use >> that things switching capabilities. >> >>> dunno how to do this >> >> The crossover cable is only >> required if you don't have a switch >> >>> that is a modem router, how can I assess if it is also a switch ? > > If it has several ethernet sockets inside, it has a switch. > > ... > >
[toc] | [prev] | [next] | [standalone]
| From | Dan Purgert <dan@djph.net> |
|---|---|
| Date | 2019-11-08 14:21 +0000 |
| Message-ID | <slrnqsaueg.mko.dan@djph.net> |
| In reply to | #60383 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 Soviet_Mario wrote: > On 08/11/2019 11:42, Dan Purgert wrote: >> [...] >> Which one do you reboot / change distros on less? Use that one as your >> "server" and set up NFS or SSHFS. > > but is this connection "symmetrical" ? I mean, would both > have access to the other's resource ? Provided that the "server" stores everything, yes. The whole idea there is that you have "one" location holding your actual data, not two (or 2 or 3 or 14, depending on how many computing devices you ultimately have). >> >> You just said they're connected to the same gateway device. > > yes > >> Just use >> that things switching capabilities. > > dunno how to do this Plug PC1 into LAN1. Plug PC2 int LAN2. All done. You'll still have "LAN3" and "LAN4" (as well as possibly wifi) for additional devices. > [...] >> to place in between them (and >> they're of sufficient age that they only have 10/100 network cards >> without auto-crossover ... at this point, those cards would be about >> 25-30 years old). > > the old machine is 10 years old, the new one a week > but both are connected to the modem router by the same kind > of cable (ethernet) So they're already connected to a switch ;) >>> modem-router ? >> >> You already have it ... > > well, then to set it up. > Even if the HW is just set up, none sees the other now Right, because even though the hardware is all there, you need the software. > > later I'll have to learn how permissions work, btw :\ Might be best to be its own thread... -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAl3Fec8ACgkQjhHd8xJ5 ooE6TAf6A08Gb+ngBhNLU4DZtd6VgYF704ellj/3y/V6J/NAICvJ45OcluwDDZV/ WikQhuDbzBTFQmRPll5NZ7eYBij2EeE1X/qV94ZAl4EKpE3Ua0l/jMM4uz/Wifa2 ewSH06rlAfpIj9hRjtFmL8QoslZKmJj26D5yU8oTSkD/3xJ1ihlRrDGDlT3nqcQH AfvsiVp7GgbYtkZxPSz06tuTW4xyLho6EwS4MVq+QPI54llwkRdErWs3VujQjtj1 3B+ybTcFSQxKkLHRzqyq4VGwtsJFEN/X3v2PYg7U2Z4FtkHyAXQDdEzwuS/IxQ4Z LVGDJmzraDzqrrK5Jc5Xz8sok1s9VQ== =mC20 -----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 | Paul <nospam@needed.invalid> |
|---|---|
| Date | 2019-11-08 06:03 -0500 |
| Message-ID | <qq3i15$57m$1@dont-email.me> |
| In reply to | #60379 |
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)
>
> I've read that with a crossed cable two PC can be connected.
> But since both PC have just a single ethernet port, this way none could
> be at the same time remain connected to the internet.
>
> So I do not find this solution viable
>
> Is it there a way to set up some kind of "lan" via the modem-router ?
>
> I mean that traffic SHOULD NOT go outside, on the internet, and come
> back and reenter, but be "short-circuited" in the router.
>
> if possible, some particular supplementary HW is needed ?
>
> maybe i just have enough SW installed without knowing it.
> How to setup this simple peer-to-peer lan not letting anything "out" ?
>
> what should I configure ?
>
> tnx in advance. I apologize for the trivialness of the question, but I
> am completely ignorant on networks
|<---------- router_box ----------->| LAN
X-- WAN ---------- Router_Block -------- Learning Switch ------- Comp#1
DHCP daemon with 4 ports ------- Comp#2
DNS daemon ------- Comp#3
------- Comp#4
For ordinary traffic, the Learning Switch portion of the router box,
examines the MAC addresses in the packets. It knows which port
has which MAC addresses seen on it. It can then send an incoming packet
to the correct port, using nothing but the MAC address for a hint.
For LAN traffic on the right, most of the operations are handled
by the switch. That means #1 can talk to #2, without help from
the Router_Block. Packets from #1 to #2, stay within the Learning
Switch.
But, what if a computer needs DNS service ? A DNS query headed towards
the switch, the Comp#1 knows that 192.168.1.1:53 is the upstream
DNS. So it makes a DNS query there. The Router_Block can then send the
query to the WAN.
Now, if you disconnect the WAN cable, DNS will stop working.
But this is not a big deal, for your "isolated traffic" case.
OK, what about when the computer boots. Does the DHCP daemon
inside the router still work ? The computer #1 should get
address 192.168.1.2 from DHCP on the router_block portion
of the router. The computer #2 should get address
192.168.1.3.
Now that both computers have addresses (but not symbolic
names), the computers still work.
ping 192.168.1.2 # From the computer with 192.168.1.3 address
ping 192.168.1.3 # From the computer with 192.168.1.2 address
You should be able to do that much. If you have SMB Client set
up, in the File Manager you should be able to do
smb://192.168.1.3/shared_disk # From the computer with 192.168.1.2 address
and it should work.
It won't take you long to test this.
*******
As for the ports, the need for "crossover" cable, varies with NIC type.
10/100BT NIC interfaces use only four wires out of the total
eight electrical contacts. Pins 1,2,3,6 are used for a TX pair
and an RX pair.
When connecting two 10/100BT devices to one another, you need
a Crossover cable, so TX goes to RX, and RX goes to TX. The four
wires on each of the two computers, need to be physically connected
properly for it to work.
Crossover
10/100BT TX-output =============> RX-input 10/100BT
RX-input <============= TX-output
"The nuisance case requires contemplation by the user..."
(The WAN connector on the router has reversed 10/100BT pairs.
That's one reason why the connector is yellow.)
The GbE NICs are different. To run at 1 gigabit per second,
requires usage of all eight wires. That's a total of four pairs.
The pairs operate in parallel, and are full duplex. And an
interesting feature of the eight wire interface, is called
MDI/MDIX. When a GbE NIC is connected to a 10/100BT NIC,
via negotiation, the GbE NIC "re-wires" the interface,
so a straight-thru cable will work.
Straight
10/100BT TX-output =============> RX-input GbE auto-negotiates
RX-input <============= TX-output the correct direction...
== pair 3 Magical!!!
== pair 4
Straight
GbE pair 1 <=============> pair 1 GbE auto-negotiates
pair 2 <=============> pair 2 the wiring for this too
pair 3 <=============> pair 3
pair 4 <=============> pair 4
Thus, a computer room which has nothing but GbE equipment,
could survive without any crossover cables at all.
Most of the time, when you buy a modem or a router, there
will be a short yellow cable in the box, and that typically
solves the connection between the modem and router. Then,
straight cables between the router/switch and client computers
is sufficient to finish the job.
Just a guess,
Paul
[toc] | [prev] | [next] | [standalone]
| From | Soviet_Mario <SovietMario@CCCP.MIR> |
|---|---|
| Date | 2019-11-08 13:25 +0100 |
| Message-ID | <qq3mre$ln$1@dont-email.me> |
| In reply to | #60382 |
On 08/11/2019 12:03, Paul wrote: > 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) >> >> I've read that with a crossed cable two PC can be connected. >> But since both PC have just a single ethernet port, this >> way none could be at the same time remain connected to the >> internet. >> >> So I do not find this solution viable >> >> Is it there a way to set up some kind of "lan" via the >> modem-router ? >> >> I mean that traffic SHOULD NOT go outside, on the >> internet, and come back and reenter, but be >> "short-circuited" in the router. >> >> if possible, some particular supplementary HW is needed ? >> >> maybe i just have enough SW installed without knowing it. >> How to setup this simple peer-to-peer lan not letting >> anything "out" ? >> >> what should I configure ? >> >> tnx in advance. I apologize for the trivialness of the >> question, but I am completely ignorant on networks > > |<---------- router_box > ----------->| LAN > > X-- WAN ---------- Router_Block -------- Learning Switch > ------- Comp#1 > DHCP daemon with 4 ports > ------- Comp#2 > DNS daemon > ------- Comp#3 > > ------- Comp#4 > > For ordinary traffic, the Learning Switch portion of the > router box, > examines the MAC addresses in the packets. It knows which port > has which MAC addresses seen on it. It can then send an > incoming packet > to the correct port, using nothing but the MAC address for a > hint. > > For LAN traffic on the right, most of the operations are > handled > by the switch. That means #1 can talk to #2, without help from > the Router_Block. Packets from #1 to #2, stay within the > Learning > Switch. mmmm okay so far > > But, what if a computer needs DNS service ? but does a PC1 <=> PC2 files-based connection need DNS service ? > A DNS query > headed towards > the switch, the Comp#1 knows that 192.168.1.1:53 is the > upstream > DNS. So it makes a DNS query there. The Router_Block can > then send the > query to the WAN. ah so this is not what I am needing now > > Now, if you disconnect the WAN cable, DNS will stop working. > But this is not a big deal, for your "isolated traffic" case. I had not been clear, as usual :) I would not want to isolate the whole to be safe, just to setup a LAN that does not go out when not needed and do not let strangers in when not asked to In other words, the independent navigation abilities of both computers should not be affectet I'd just want to enable to establish "direct" communications within the "lan" without adding vulnerability > > OK, what about when the computer boots. Does the DHCP daemon > inside the router still work ? The computer #1 should get > address 192.168.1.2 from DHCP on the router_block portion > of the router. The computer #2 should get address > 192.168.1.3. > > Now that both computers have addresses (but not symbolic > names), the computers still work. > > ping 192.168.1.2 # From the computer with > 192.168.1.3 address > ping 192.168.1.3 # From the computer with > 192.168.1.2 address > > You should be able to do that much. If you have SMB Client set > up, in the File Manager you should be able to do SMB is a service ? how to verify I have it installed/running ? is it a protocol ? (this resembles Samba name, has it anything to do with Samba ?) > > smb://192.168.1.3/shared_disk # From the computer with > 192.168.1.2 address > > and it should work. > > It won't take you long to test this. before starting I prefer to understand a bit more than now > > ******* > > As for the ports, the need for "crossover" cable, varies > with NIC type. > 10/100BT NIC interfaces use only four wires out of the total > eight electrical contacts. Pins 1,2,3,6 are used for a TX pair > and an RX pair. > > When connecting two 10/100BT devices to one another, you need > a Crossover cable, so TX goes to RX, and RX goes to TX. The > four > wires on each of the two computers, need to be physically > connected > properly for it to work. > > Crossover > 10/100BT TX-output =============> RX-input 10/100BT > RX-input <============= TX-output > > "The nuisance case requires contemplation by the user..." > (The WAN connector on the router has reversed 10/100BT > pairs. > That's one reason why the connector is yellow.) I only have two ethernet ports, so I'm not very willing to explore the direct connection, as I have to do without the internet on both machines > > The GbE NICs are different. To run at 1 gigabit per second, > requires usage of all eight wires. That's a total of four > pairs. > The pairs operate in parallel, and are full duplex. And an > interesting feature of the eight wire interface, is called > MDI/MDIX. When a GbE NIC is connected to a 10/100BT NIC, > via negotiation, the GbE NIC "re-wires" the interface, > so a straight-thru cable will work. > > Straight > 10/100BT TX-output =============> RX-input GbE > auto-negotiates > RX-input <============= TX-output the > correct direction... > == pair 3 Magical!!! > == pair 4 > > Straight > GbE pair 1 <=============> pair 1 GbE > auto-negotiates > pair 2 <=============> pair 2 the wiring > for this too > pair 3 <=============> pair 3 > pair 4 <=============> pair 4 > > Thus, a computer room which has nothing but GbE equipment, > could survive without any crossover cables at all. > > Most of the time, when you buy a modem or a router, there > will be a short yellow cable in the box, and that typically > solves the connection between the modem and router. uhm, i do not understand well this point. I own a single device called modem-router and has only ethernet ports I guess this simplifies things ... > Then, > straight cables between the router/switch and client computers > is sufficient to finish the job. > > Just a guess, > Paul -- 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-08 13:39 +0100 |
| Message-ID | <694g9g-5sh.ln1@Telcontar.valinor> |
| In reply to | #60385 |
On 08/11/2019 13.25, Soviet_Mario wrote: > On 08/11/2019 12:03, Paul wrote: >> Soviet_Mario wrote: ... >> >> But, what if a computer needs DNS service ? > > but does a PC1 <=> PC2 files-based connection need DNS service ? Because you want to access computers by name. Not the only way, though: you can edit /etc/hosts in every computer defining every name and address. Provided they are fixed or fixated. >> A DNS query headed towards >> the switch, the Comp#1 knows that 192.168.1.1:53 is the upstream >> DNS. So it makes a DNS query there. The Router_Block can then send the >> query to the WAN. > > ah so this is not what I am needing now > >> >> Now, if you disconnect the WAN cable, DNS will stop working. >> But this is not a big deal, for your "isolated traffic" case. > > I had not been clear, as usual :) > I would not want to isolate the whole to be safe, just to setup a LAN > that does not go out when not needed and do not let strangers in when > not asked to > In other words, the independent navigation abilities of both computers > should not be affectet > I'd just want to enable to establish "direct" communications within the > "lan" without adding vulnerability Everybody has that without asking for it. You just need something, call it an ISP router, that connects to internet; computers in the home connect to it via Ethernet cable or WiFi. And there is a firewall on the router to the outside. ... -- Cheers, Carlos.
[toc] | [prev] | [next] | [standalone]
| From | Soviet_Mario <SovietMario@CCCP.MIR> |
|---|---|
| Date | 2019-11-08 17:25 +0100 |
| Message-ID | <qq44tl$p9j$1@dont-email.me> |
| In reply to | #60388 |
On 08/11/2019 13:39, Carlos E.R. wrote: > On 08/11/2019 13.25, Soviet_Mario wrote: >> On 08/11/2019 12:03, Paul wrote: >>> Soviet_Mario wrote: > > ... > >>> >>> But, what if a computer needs DNS service ? >> >> but does a PC1 <=> PC2 files-based connection need DNS service ? > > Because you want to access computers by name. where were I supposed to have said this ? I don't mind at all how they would identify the other : name, IP, nickname, or else what I have been trying to say since the beginning is the need for BIDIRECTIONAL, PEER-to-PEER lan Dan said that I should keep data just on a server (in a "star like" setting maybe) but actually I will not have that kind of net. The two PCs will "specialize" for different works, without having to completely give up general tasks (i mean sometimes each should be able to work on the area of the other and vice versa). So I'd like to keep data somewhat "mirrored" on both, no fixed server and no fixed client. Two peers sharing data (residing on both, and better synced) But this can be flexible : not necessarily syncing REQUIRED, for very often when a machine is powered on and in use, the other would be powered off. When they are both ON, I'd like to "mirror" On a single PC I currently use FreeFileSync (maybe, but I don't know, this program is able to sync also over a LAN ...) > > Not the only way, though: you can edit /etc/hosts in every computer > defining every name and address. Provided they are fixed or fixated. those addresses you are talking do not have anything to do with the "DHCP dynamically assigned IPs", true ? > > >>> A DNS query headed towards >>> the switch, the Comp#1 knows that 192.168.1.1:53 is the upstream >>> DNS. So it makes a DNS query there. The Router_Block can then send the >>> query to the WAN. >> >> ah so this is not what I am needing now >> >>> >>> Now, if you disconnect the WAN cable, DNS will stop working. >>> But this is not a big deal, for your "isolated traffic" case. >> >> I had not been clear, as usual :) >> I would not want to isolate the whole to be safe, just to setup a LAN >> that does not go out when not needed and do not let strangers in when >> not asked to >> In other words, the independent navigation abilities of both computers >> should not be affectet >> I'd just want to enable to establish "direct" communications within the >> "lan" without adding vulnerability > > Everybody has that without asking for it. fine ! > You just need something, call > it an ISP router, SMB client is this kind of service ? > that connects to internet; computers in the home > connect to it via Ethernet cable or WiFi. And there is a firewall on the > router to the outside. > > ... > -- 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 | "J.O. Aho" <user@example.net> |
|---|---|
| Date | 2019-11-08 22:01 +0100 |
| Message-ID | <h2m3crFph10U1@mid.individual.net> |
| In reply to | #60409 |
On 08/11/2019 17.25, Soviet_Mario wrote: > On 08/11/2019 13:39, Carlos E.R. wrote: >> On 08/11/2019 13.25, Soviet_Mario wrote: >>> On 08/11/2019 12:03, Paul wrote: >>>> Soviet_Mario wrote: >> >> ... >> >>>> >>>> But, what if a computer needs DNS service ? >>> >>> but does a PC1 <=> PC2 files-based connection need DNS service ? >> >> Because you want to access computers by name. > > where were I supposed to have said this ? > I don't mind at all how they would identify the other : name, IP, > nickname, or else > > what I have been trying to say since the beginning is the need for > BIDIRECTIONAL, PEER-to-PEER lan > > Dan said that I should keep data just on a server (in a "star like" > setting maybe) but actually I will not have that kind of net. > The two PCs will "specialize" for different works, without having to > completely give up general tasks (i mean sometimes each should be able > to work on the area of the other and vice versa). > > So I'd like to keep data somewhat "mirrored" on both, no fixed server > and no fixed client. Two peers sharing data (residing on both, and > better synced) You could setup a cluster file system like lustrefs, each machine you have shares a instance (recommend the same size), you set it to be mirrored. You would need at least two machines to be on at the same time, and you can only change one machine at the time, the other you can change first when all data has been mirrored to the newly started instance. It tend to be easier to setup a file server, which all the other machines can use as storage, this way you don't need to think of that you need to wait for the file system to mirror all the data. >> Not the only way, though: you can edit /etc/hosts in every computer >> defining every name and address. Provided they are fixed or fixated. > > those addresses you are talking do not have anything to do with the > "DHCP dynamically assigned IPs", true ? If they would be dynamically assigned, you need to update the hosts file each time a machine gets a new ip, which makes things just too difficult as it's difficult to update a machine that ain't up and running. >> You just need something, call >> it an ISP router, > > SMB client is this kind of service ? SMB is just a network file system, but slower than NFS and needs a lot more tweaking, of course it can do a bit other things too, but usually quite useless in a Linux network. -- //Aho
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-11-09 11:47 +0100 |
| Message-ID | <73ii9g-5n2.ln1@Telcontar.valinor> |
| In reply to | #60409 |
On 08/11/2019 17.25, Soviet_Mario wrote: > On 08/11/2019 13:39, Carlos E.R. wrote: >> On 08/11/2019 13.25, Soviet_Mario wrote: >>> On 08/11/2019 12:03, Paul wrote: >>>> Soviet_Mario wrote: >> >> ... >> >>>> >>>> But, what if a computer needs DNS service ? >>> >>> but does a PC1 <=> PC2 files-based connection need DNS service ? >> >> Because you want to access computers by name. > > where were I supposed to have said this ? You don't need to :-P > I don't mind at all how they would identify the other : name, IP, > nickname, or else Without a DNS, you only have IP. > > what I have been trying to say since the beginning is the need for > BIDIRECTIONAL, PEER-to-PEER lan And what does that mean? You can only do what is on offer. There is no peer to peer protocol that does what so far I understand you mean. > Dan said that I should keep data just on a server (in a "star like" > setting maybe) but actually I will not have that kind of net. > The two PCs will "specialize" for different works, without having to > completely give up general tasks (i mean sometimes each should be able > to work on the area of the other and vice versa). > > So I'd like to keep data somewhat "mirrored" on both, no fixed server > and no fixed client. Two peers sharing data (residing on both, and > better synced) > > > But this can be flexible : not necessarily syncing REQUIRED, for very > often when a machine is powered on and in use, the other would be > powered off. > When they are both ON, I'd like to "mirror" > > On a single PC I currently use FreeFileSync (maybe, but I don't know, > this program is able to sync also over a LAN ...) Ah, you want to have files synced. That's a different specification of your "wants". Still you need to define what directories and/or files you want synced. >> Not the only way, though: you can edit /etc/hosts in every computer >> defining every name and address. Provided they are fixed or fixated. > > those addresses you are talking do not have anything to do with the > "DHCP dynamically assigned IPs", true ? Yes, they do. >>> I'd just want to enable to establish "direct" communications within the >>> "lan" without adding vulnerability >> >> Everybody has that without asking for it. > > fine ! > >> You just need something, call >> it an ISP router, > > SMB client is this kind of service ? Wait. We are here just talking of the hardware. IF you have an ISP router, you already have a Local Area Network (LAN), and you can "talk" from any local computer to any local computer. Now you have to define what "talk" means to you. You want to use SMB? Sure, you can use SMB. You can use anything in the world you want, it is your house. -- Cheers, Carlos.
[toc] | [prev] | [next] | [standalone]
| From | Chris Elvidge <chris@mshome.net> |
|---|---|
| Date | 2019-11-08 12:53 +0000 |
| Message-ID | <qq3ogj$bl1$1@dont-email.me> |
| In reply to | #60385 |
On 08/11/2019 12:25, Soviet_Mario wrote:
> On 08/11/2019 12:03, Paul wrote:
>> 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)
>>>
>>> I've read that with a crossed cable two PC can be connected.
>>> But since both PC have just a single ethernet port, this way none
>>> could be at the same time remain connected to the internet.
>>>
>>> So I do not find this solution viable
>>>
>>> Is it there a way to set up some kind of "lan" via the modem-router ?
>>>
>>> I mean that traffic SHOULD NOT go outside, on the internet, and come
>>> back and reenter, but be "short-circuited" in the router.
>>>
>>> if possible, some particular supplementary HW is needed ?
>>>
>>> maybe i just have enough SW installed without knowing it.
>>> How to setup this simple peer-to-peer lan not letting anything "out" ?
>>>
>>> what should I configure ?
>>>
>>> tnx in advance. I apologize for the trivialness of the question, but
>>> I am completely ignorant on networks
>>
>> |<---------- router_box ----------->| LAN
>>
>> X-- WAN ---------- Router_Block -------- Learning Switch -------
>> Comp#1
>> DHCP daemon with 4 ports ------- Comp#2
>> DNS daemon ------- Comp#3
>> ------- Comp#4
>>
>> For ordinary traffic, the Learning Switch portion of the router box,
>> examines the MAC addresses in the packets. It knows which port
>> has which MAC addresses seen on it. It can then send an incoming packet
>> to the correct port, using nothing but the MAC address for a hint.
>>
>> For LAN traffic on the right, most of the operations are handled
>> by the switch. That means #1 can talk to #2, without help from
>> the Router_Block. Packets from #1 to #2, stay within the Learning
>> Switch.
>
> mmmm okay so far
>
>>
>> But, what if a computer needs DNS service ?
>
> but does a PC1 <=> PC2 files-based connection need DNS service ?
>
>
>> A DNS query headed towards
>> the switch, the Comp#1 knows that 192.168.1.1:53 is the upstream
>> DNS. So it makes a DNS query there. The Router_Block can then send the
>> query to the WAN.
>
> ah so this is not what I am needing now
>
>>
>> Now, if you disconnect the WAN cable, DNS will stop working.
>> But this is not a big deal, for your "isolated traffic" case.
>
> I had not been clear, as usual :)
> I would not want to isolate the whole to be safe, just to setup a LAN
> that does not go out when not needed and do not let strangers in when
> not asked to
> In other words, the independent navigation abilities of both computers
> should not be affectet
> I'd just want to enable to establish "direct" communications within the
> "lan" without adding vulnerability
>
>>
>> OK, what about when the computer boots. Does the DHCP daemon
>> inside the router still work ? The computer #1 should get
>> address 192.168.1.2 from DHCP on the router_block portion
>> of the router. The computer #2 should get address
>> 192.168.1.3.
>>
>> Now that both computers have addresses (but not symbolic
>> names), the computers still work.
>>
>> ping 192.168.1.2 # From the computer with 192.168.1.3 address
>> ping 192.168.1.3 # From the computer with 192.168.1.2 address
>>
>> You should be able to do that much. If you have SMB Client set
>> up, in the File Manager you should be able to do
>
> SMB is a service ? how to verify I have it installed/running ?
> is it a protocol ? (this resembles Samba name, has it anything to do
> with Samba ?)
>
>>
>> smb://192.168.1.3/shared_disk # From the computer with
>> 192.168.1.2 address
>>
>> and it should work.
>>
>> It won't take you long to test this.
>
> before starting I prefer to understand a bit more than now
Please don't take this the wrong way, but:
The #1 bestselling beginner′s guide to computer networking now in a new
edition
Need networking know–how, but don′t know where to turn? Run don′t walk
to the no–nonsense networking guidance offered in this friendly guide!
Whether you′re a networking administrator or an everyday computer user
looking to set up a network in your home or office, Networking For
Dummies seamlessly gets you connected with the basics and gives you the
knowledge to work out whatever kinks may come your way in no time.
A network can make everything in your home or office run more smoothly
and easily, but setting one up can be challenging for even the most
computer–savvy people. Well, relax this bestselling guide has you
covered! Inside, you′ll find step–by–step instructions on setting up and
maintaining a network, working with broadband and wireless technologies,
ensuring you′re following best practices with storage and back–up
procedures, building a wired or wireless network, and much more.
Set up a network for all major operating systems
Secure, optimize, and troubleshoot your network
Create an intranet and use the Cloud safely
Make sense of the latest updates to Windows 10
Don′t let a thorny networking issue get the best of you! Heed the simple
guidance in this friendly guide and effectively network your way to more
effective shared data and resources.
>
>>
>> *******
>>
>> As for the ports, the need for "crossover" cable, varies with NIC type.
>> 10/100BT NIC interfaces use only four wires out of the total
>> eight electrical contacts. Pins 1,2,3,6 are used for a TX pair
>> and an RX pair.
>>
>> When connecting two 10/100BT devices to one another, you need
>> a Crossover cable, so TX goes to RX, and RX goes to TX. The four
>> wires on each of the two computers, need to be physically connected
>> properly for it to work.
>>
>> Crossover
>> 10/100BT TX-output =============> RX-input 10/100BT
>> RX-input <============= TX-output
>>
>> "The nuisance case requires contemplation by the user..."
>> (The WAN connector on the router has reversed 10/100BT pairs.
>> That's one reason why the connector is yellow.)
>
> I only have two ethernet ports, so I'm not very willing to explore the
> direct connection, as I have to do without the internet on both machines
>
>>
>> The GbE NICs are different. To run at 1 gigabit per second,
>> requires usage of all eight wires. That's a total of four pairs.
>> The pairs operate in parallel, and are full duplex. And an
>> interesting feature of the eight wire interface, is called
>> MDI/MDIX. When a GbE NIC is connected to a 10/100BT NIC,
>> via negotiation, the GbE NIC "re-wires" the interface,
>> so a straight-thru cable will work.
>>
>> Straight
>> 10/100BT TX-output =============> RX-input GbE auto-negotiates
>> RX-input <============= TX-output the correct
>> direction...
>> == pair 3 Magical!!!
>> == pair 4
>>
>> Straight
>> GbE pair 1 <=============> pair 1 GbE auto-negotiates
>> pair 2 <=============> pair 2 the wiring for this too
>> pair 3 <=============> pair 3
>> pair 4 <=============> pair 4
>>
>> Thus, a computer room which has nothing but GbE equipment,
>> could survive without any crossover cables at all.
>>
>> Most of the time, when you buy a modem or a router, there
>> will be a short yellow cable in the box, and that typically
>> solves the connection between the modem and router.
>
> uhm, i do not understand well this point. I own a single device called
> modem-router and has only ethernet ports
> I guess this simplifies things ...
>
>> Then,
>> straight cables between the router/switch and client computers
>> is sufficient to finish the job.
>>
>> Just a guess,
>> Paul
>
>
--
Chris Elvidge, England
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-11-08 14:27 +0100 |
| Message-ID | <p27g9g-v7k.ln1@Telcontar.valinor> |
| In reply to | #60390 |
On 08/11/2019 13.53, Chris Elvidge wrote: > On 08/11/2019 12:25, Soviet_Mario wrote: >> On 08/11/2019 12:03, Paul wrote: >>> Soviet_Mario wrote: >>>> >>>> Hi, I am completely new to this topic, so sorry if my questions seem >>>> really trivial and silly ... >> before starting I prefer to understand a bit more than now > > Please don't take this the wrong way, but: > > The #1 bestselling beginner′s guide to computer networking now in a new > edition > > Need networking know–how, but don′t know where to turn? Run don′t walk > to the no–nonsense networking guidance offered in this friendly guide! > Whether you′re a networking administrator or an everyday computer user > looking to set up a network in your home or office, Networking For > Dummies seamlessly gets you connected with the basics and gives you the > knowledge to work out whatever kinks may come your way in no time. > > A network can make everything in your home or office run more smoothly > and easily, but setting one up can be challenging for even the most > computer–savvy people. Well, relax this bestselling guide has you > covered! Inside, you′ll find step–by–step instructions on setting up and > maintaining a network, working with broadband and wireless technologies, > ensuring you′re following best practices with storage and back–up > procedures, building a wired or wireless network, and much more. > > Set up a network for all major operating systems > Secure, optimize, and troubleshoot your network > Create an intranet and use the Cloud safely > Make sense of the latest updates to Windows 10 > > Don′t let a thorny networking issue get the best of you! Heed the simple > guidance in this friendly guide and effectively network your way to more > effective shared data and resources. That's a good idea :-) I like those books, I have read some. -- Cheers, Carlos.
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-11-08 13:48 +0100 |
| Message-ID | <0q4g9g-dbi.ln1@Telcontar.valinor> |
| In reply to | #60379 |
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. 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. 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. If you want to run something on another computer, you use ssh. Nothing allows bidirectional access, AFAIK. -- Cheers, Carlos.
[toc] | [prev] | [next] | [standalone]
| From | Dan Purgert <dan@djph.net> |
|---|---|
| Date | 2019-11-08 14:24 +0000 |
| Message-ID | <slrnqsaukh.mko.dan@djph.net> |
| In reply to | #60389 |
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 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. -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAl3FepEACgkQjhHd8xJ5 ooFk+wf/Z0B/Ovsijjv+g0WF53Z+ZNL0bYnZu771ptIk/FWSFVhcA/IG8O7x/igU +677Gl79Zga6wilqzJhBib8VeI+1sLO96mfgYap1YizklPpR2h0erDVNcOKABIiv QzyMgbVZaCwDBJ/H9DDf4cfIJjzxxImVlrLI1Pa0WGE+Rx4xd3c53pqyPTmTZZ88 RJBEya3XuaCdShn6N3MOJv2EPb3mStA6Xd0XwnImXQRvBgnKfKrlPPO5krHMIChu BjkCJZscA5Dv8ZQlX4UCM+vE5LGwmbFrEzM/AW6HVOIvlX/y7GZIM/xBsWlvbxM6 Vfu9/7EogHjOmRmmBkbtVvj8hSe1Kg== =X9nE -----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 | Soviet_Mario <SovietMario@CCCP.MIR> |
|---|---|
| Date | 2019-11-08 17:43 +0100 |
| Message-ID | <qq460d$k7$1@dont-email.me> |
| In reply to | #60396 |
On 08/11/2019 15:24, Dan Purgert wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > 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 > > > -----BEGIN PGP SIGNATURE----- > > iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAl3FepEACgkQjhHd8xJ5 > ooFk+wf/Z0B/Ovsijjv+g0WF53Z+ZNL0bYnZu771ptIk/FWSFVhcA/IG8O7x/igU > +677Gl79Zga6wilqzJhBib8VeI+1sLO96mfgYap1YizklPpR2h0erDVNcOKABIiv > QzyMgbVZaCwDBJ/H9DDf4cfIJjzxxImVlrLI1Pa0WGE+Rx4xd3c53pqyPTmTZZ88 > RJBEya3XuaCdShn6N3MOJv2EPb3mStA6Xd0XwnImXQRvBgnKfKrlPPO5krHMIChu > BjkCJZscA5Dv8ZQlX4UCM+vE5LGwmbFrEzM/AW6HVOIvlX/y7GZIM/xBsWlvbxM6 > Vfu9/7EogHjOmRmmBkbtVvj8hSe1Kg== > =X9nE > -----END PGP SIGNATURE----- > -- 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 | William Unruh <unruh@invalid.ca> |
|---|---|
| Date | 2019-11-08 17:07 +0000 |
| Message-ID | <qq47d8$5v8$1@dont-email.me> |
| In reply to | #60413 |
On 2019-11-08, Soviet_Mario <SovietMario@CCCP.MIR> wrote: > On 08/11/2019 15:24, Dan Purgert wrote: >> -----BEGIN PGP SIGNED MESSAGE----- >> Hash: SHA256 >> >> 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. 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 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. > > all of your replies is somewhat helping me to clarify what > I'd need, during the discussion > > >> >> >> -----BEGIN PGP SIGNATURE----- >> >> iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAl3FepEACgkQjhHd8xJ5 >> ooFk+wf/Z0B/Ovsijjv+g0WF53Z+ZNL0bYnZu771ptIk/FWSFVhcA/IG8O7x/igU >> +677Gl79Zga6wilqzJhBib8VeI+1sLO96mfgYap1YizklPpR2h0erDVNcOKABIiv >> QzyMgbVZaCwDBJ/H9DDf4cfIJjzxxImVlrLI1Pa0WGE+Rx4xd3c53pqyPTmTZZ88 >> RJBEya3XuaCdShn6N3MOJv2EPb3mStA6Xd0XwnImXQRvBgnKfKrlPPO5krHMIChu >> BjkCJZscA5Dv8ZQlX4UCM+vE5LGwmbFrEzM/AW6HVOIvlX/y7GZIM/xBsWlvbxM6 >> Vfu9/7EogHjOmRmmBkbtVvj8hSe1Kg== >> =X9nE >> -----END PGP SIGNATURE----- >> > >
[toc] | [prev] | [next] | [standalone]
| From | "Carlos E.R." <robin_listas@es.invalid> |
|---|---|
| Date | 2019-11-09 11:51 +0100 |
| Message-ID | <baii9g-5n2.ln1@Telcontar.valinor> |
| In reply to | #60424 |
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. -- Cheers, Carlos.
[toc] | [prev] | [next] | [standalone]
| From | William Unruh <unruh@invalid.ca> |
|---|---|
| Date | 2019-11-09 15:17 +0000 |
| Message-ID | <qq6l9g$57m$1@dont-email.me> |
| In reply to | #60451 |
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.) > >
[toc] | [prev] | [next] | [standalone]
Page 1 of 3 [1] 2 3 Next page →
Back to top | Article view | alt.os.linux
csiph-web