8.9 C
London
Thursday, February 1, 2024

Making a digital community via USB-port on thunderbolt


Presently I’m utilizing a Home windows VM in order that I can use PUTTY to SSH into a tool that’s linked via a USB port to my MAC. This works superb. Nonetheless, I’m unable to SSH into the gadget on MacOS via iterm2 – I believe that it’s as a result of the community settings aren’t what they’re alleged to be. After I plug the gadget into my thunderbolt adapter on my Mac and run my Home windows VM the gadget reveals up completely superb and creates a brand new community in Home windows:

In Windows this happens

Nonetheless, on MacOS Thunderbolt bridge appears to be caught on “inactive”: (ignore the subnet masks mismatch, I’ve tried with 255.255.0.0 too)

enter image description here

Checking the MAC deal with of the Thunderbolt Bridge and looking out on the settings in ifconfig:

bridge0: flags=8863<UP,BROADCAST,SMART,RUNNING,SIMPLEX,MULTICAST> mtu 1500
choices=63<RXCSUM,TXCSUM,TSO4,TSO6>
ether e2:74:33:e3:a6:c1
inet 192.168.2.1 netmask 0xffffff00 broadcast 192.168.2.255
inet6 fe80::14a7:af36:419d:645cpercentbridge0 prefixlen 64 secured scopeid 0xd
Configuration:
    id 0:0:0:0:0:0 precedence 0 hellotime 0 fwddelay 0
    maxage 0 holdcnt 0 proto stp maxaddr 100 timeout 1200
    root id 0:0:0:0:0:0 precedence 0 ifcost 0 port 0
    ipfilter disabled flags 0x0
member: en3 flags=3<LEARNING,DISCOVER>
        ifmaxaddr 0 port 11 precedence 0 path price 0
member: en4 flags=3<LEARNING,DISCOVER>
        ifmaxaddr 0 port 12 precedence 0 path price 0
member: en12 flags=3<LEARNING,DISCOVER>
        ifmaxaddr 0 port 10 precedence 0 path price 0
member: en13 flags=3<LEARNING,DISCOVER>
        ifmaxaddr 0 port 9 precedence 0 path price 0
nd6 choices=201<PERFORMNUD,DAD>
media: <unknown kind>
standing: inactive

That is clearly a software program subject because the port works superb within the Home windows VM however for some cause networking appears to be much more difficult on Mac.

How do I replicate the Home windows conduct on MacOS? I need the wifi linked to the web, and I desire a separate LAN connection via the USB cable to my gadget in order that I can ssh into it. The gadget is just not linked to the web.

My .ssh/config file:

Host inst
    HostName 192.168.137.2
    BindInterface bridge0
    Consumer testuser
    IdentityFile ~/.ssh/id_rsa_testuser
    Port 22
    IdentitiesOnly=sure

$ssh -vvv inst

OpenSSH_8.1p1, LibreSSL 2.7.3
debug1: Studying configuration knowledge /Customers/westman/.ssh/config
debug1: /Customers/westman/.ssh/config line 7: Making use of choices for inst
debug1: Studying configuration knowledge /and so on/ssh/ssh_config
debug1: /and so on/ssh/ssh_config line 54: Making use of choices for *
debug2: resolve_canonicalize: hostname 192.168.137.2 is deal with
debug2: ssh_connect_direct
debug1: Connecting to 192.168.137.2 [192.168.137.2] port 22.
debug1: ssh_create_socket: certain to 192.168.2.1
debug1: join to deal with 192.168.137.2 port 22: Operation timed out
ssh: connect with host 192.168.137.2 port 22: Operation timed out

Latest news
Related news

LEAVE A REPLY

Please enter your comment!
Please enter your name here