$lsusb
Bus 001 Device 003: ID 1199:68c0 Sierra Wireless, Inc. Sierra Wireless WP7702
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 002: ID 80ee:0021 VirtualBox USB Tablet
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
$ifconfig -a
enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.23 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::8f60:989:9862:f775 prefixlen 64 scopeid 0x20<link>
inet6 2a01:cb08:a58:5700:230c:72a3:592:38c9 prefixlen 64 scopeid 0x0<global>
inet6 2a01:cb08:a58:5700:abe9:aae4:a82b:9f9c prefixlen 64 scopeid 0x0<global>
ether 08:00:27:9e:ac:eb txqueuelen 1000 (Ethernet)
RX packets 18595 bytes 7475047 (7.4 MB)
RX errors 0 dropped 515 overruns 0 frame 0
TX packets 2337 bytes 270442 (270.4 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
enxc6c1e0419f89: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet6 fe80::57af:135:63cb:caf4 prefixlen 64 scopeid 0x20<link>
ether c6:c1:e0:41:9f:89 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10<host>
loop txqueuelen 1000 (Local Loopback)
RX packets 1180 bytes 135825 (135.8 KB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 1180 bytes 135825 (135.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
wwan0: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 32:fa:55:7a:cf:78 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
I know that enxc6c1e0419f89 seems to be the module because when I remove it this interface disappear. So I do a “sudo ifconfig enxc6c1e0419f89 192.168.2.2” then it connects to the localhost
I tested with another mangOH device and I got the same issue on VM and on real machine
Edit:
It works now, I have changed the ip of enxc6c1e0419f89 to 192.168.2.3 then I tried ssh root@192.168.2.2 and it connects directly.
I don’t know why but it’s not a problem as it works now.