hi guys.
Searching vastness of the Internet does brink a definite answer or I failed to find one, so I thought I'll ask fellow Fedorians.
Would anybody know of perhaps has tried, to hook up two boxes directly via a passive usb 3.x type A cable and have it as "regular" ethernet connection?
many thanks, L.
On 2021-05-08 11:26 a.m., lejeczek via users wrote:
Searching vastness of the Internet does brink a definite answer or I failed to find one, so I thought I'll ask fellow Fedorians.
Would anybody know of perhaps has tried, to hook up two boxes directly via a passive usb 3.x type A cable and have it as "regular" ethernet connection?
You can't do that. For USB, one side has to be the host and the other a device. PC USB ports don't do device mode, only host.
On 08/05/2021 19:26, lejeczek via users wrote:
hi guys.
Searching vastness of the Internet does brink a definite answer or I failed to find one, so I thought I'll ask fellow Fedorians.
Would anybody know of perhaps has tried, to hook up two boxes directly via a passive usb 3.x type A cable and have it as "regular" ethernet connection?
many thanks, L. _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
What I've just noticed for the first time is, config eg.: .. [Peer] .. AllowedIPs = 10.0.0.2/32, 10.0.0.226/32 Endpoint = 10.1.1.224:51852
[Peer] .. AllowedIPs = 10.0.0.3/32, 10.0.0.226/32 Endpoint = 10.1.1.225:51853
$ wg
interface: wg0 public key: c+gJArxYd8+= private key: (hidden) listening port: 51851
peer: K/= preshared key: (hidden) endpoint: 10.1.1.225:51853 allowed ips: 10.0.0.3/32, 10.0.0.226/32 latest handshake: 16 seconds ago transfer: 124 B received, 2.14 KiB sent
peer: /KidNfhqgP/+c3A= preshared key: (hidden) endpoint: 10.1.1.224:51852 allowed ips: 10.0.0.2/32 # !! no 10.0.0.226/32 ? latest handshake: 3 minutes, 15 seconds ago transfer: 180 B received, 92 B sent
That is probably why only 10.0.0.3 with secondary IP is "reachable". Right? If that is by design and expected - why is that and how to make a "floating" IP work if that is by design?
thanks, L.
On Sat, 2021-05-08 at 19:26 +0100, lejeczek via users wrote:
Would anybody know of perhaps has tried, to hook up two boxes directly via a passive usb 3.x type A cable and have it as "regular" ethernet connection?
I would think a passive USB cable between PCs would be liable to break things due to wiring two power supplies directly together.
Historically, the USB cables that let two PCs network together were a special device.
On Sat, 8 May 2021 at 15:26, lejeczek via users < users@lists.fedoraproject.org> wrote:
hi guys.
Searching vastness of the Internet does brink a definite answer or I failed to find one, so I thought I'll ask fellow Fedorians.
https://superuser.com/questions/795053/how-do-i-connect-two-computers-using-...
This needs a special cable and a linux driver for your USB hardware. I think the original spec was intended to rid with world of serial cables, e.g., when using a 2nd pc as a terminal for debugging. That didn't work because there are still many older devices like Ferrups UPS's that outlast half a dozen modern UPS's but use serial ports, so we all went out and bought USB to serial adapters,
Would anybody know of perhaps has tried, to hook up two boxes directly via a passive usb 3.x type A cable and have it as "regular" ethernet connection?
For higher than serial port speeds there are active cables but you need linux drivers. In many use cases (systems are close to a switch with empty ports or one of the systems has a spare ethernet port) you are better off with a USB to ethernet adapter because there are more choices that will work with linux.
On Sat, 2021-05-08 at 20:46 +0100, lejeczek via users wrote:
On 08/05/2021 19:26, lejeczek via users wrote:
hi guys.
Searching vastness of the Internet does brink a definite answer or I failed to find one, so I thought I'll ask fellow Fedorians.
Would anybody know of perhaps has tried, to hook up two boxes directly via a passive usb 3.x type A cable and have it as "regular" ethernet connection?
many thanks, L. _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
What I've just noticed for the first time is, config eg.: .. [Peer] .. AllowedIPs = 10.0.0.2/32, 10.0.0.226/32 Endpoint = 10.1.1.224:51852
[Peer] .. AllowedIPs = 10.0.0.3/32, 10.0.0.226/32 Endpoint = 10.1.1.225:51853
> $ wg interface: wg0 public key: c+gJArxYd8+= private key: (hidden) listening port: 51851
peer: K/= preshared key: (hidden) endpoint: 10.1.1.225:51853 allowed ips: 10.0.0.3/32, 10.0.0.226/32 latest handshake: 16 seconds ago transfer: 124 B received, 2.14 KiB sent
peer: /KidNfhqgP/+c3A= preshared key: (hidden) endpoint: 10.1.1.224:51852 allowed ips: 10.0.0.2/32 # !! no 10.0.0.226/32 ? latest handshake: 3 minutes, 15 seconds ago transfer: 180 B received, 92 B sent
That is probably why only 10.0.0.3 with secondary IP is "reachable". Right? If that is by design and expected - why is that and how to make a "floating" IP work if that is by design?
What does this have to do with USB ports?
poc
Cancel this one message below - my bad - different universe, different timeline.
On 08/05/2021 20:46, lejeczek via users wrote:
On 08/05/2021 19:26, lejeczek via users wrote:
hi guys.
Searching vastness of the Internet does brink a definite answer or I failed to find one, so I thought I'll ask fellow Fedorians.
Would anybody know of perhaps has tried, to hook up two boxes directly via a passive usb 3.x type A cable and have it as "regular" ethernet connection?
many thanks, L. _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure
What I've just noticed for the first time is, config eg.: .. [Peer] .. AllowedIPs = 10.0.0.2/32, 10.0.0.226/32 Endpoint = 10.1.1.224:51852
[Peer] .. AllowedIPs = 10.0.0.3/32, 10.0.0.226/32 Endpoint = 10.1.1.225:51853
$ wg
interface: wg0 public key: c+gJArxYd8+= private key: (hidden) listening port: 51851
peer: K/= preshared key: (hidden) endpoint: 10.1.1.225:51853 allowed ips: 10.0.0.3/32, 10.0.0.226/32 latest handshake: 16 seconds ago transfer: 124 B received, 2.14 KiB sent
peer: /KidNfhqgP/+c3A= preshared key: (hidden) endpoint: 10.1.1.224:51852 allowed ips: 10.0.0.2/32 # !! no 10.0.0.226/32 ? latest handshake: 3 minutes, 15 seconds ago transfer: 180 B received, 92 B sent
That is probably why only 10.0.0.3 with secondary IP is "reachable". Right? If that is by design and expected - why is that and how to make a "floating" IP work if that is by design?
thanks, L. _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure