Connecting through SSH in ubuntu native machine

I am using a new machine running ubuntu 18.04 (while before I was running ubuntu on a VM) but I have noticed that the IP address for the USB connection to the FX30 disappear after a while and can`t understand what is the problem.
As soon as I connect the USB the network interface is detected and the IP assigned:

enp0s20f0u11i19: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.2.3 netmask 255.255.255.0 broadcast 192.168.2.255
inet6 fe80::e1d:45b1:5281:fce9 prefixlen 64 scopeid 0x20
ether 2e:b3:7c:6f:18:e6 txqueuelen 1000 (Ethernet)
RX packets 2 bytes 359 (359.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 33 bytes 4391 (4.3 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

But after a few seconds (roughly 30 seconds haven`t really measured it), the network interface is dropping the IP address:

enp0s20f0u11i19: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
ether 2e:b3:7c:6f:18:e6 txqueuelen 1000 (Ethernet)
RX packets 2 bytes 359 (359.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 37 bytes 4824 (4.8 KB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

Disconnect and reconnect the USB and it all start over from beginning.
I suspect to be a problem with the drivers, or possibly the machine itself?
Didn`t have this problem on a laptop running ubuntu 20.04, so I am wondering if anyone have had a similar problem?

how about disable the modemmanager?

sudo killall ModemManager
sudo apt-get purge ModemManager
sudo systemctl disable ModemManager

2 Likes

yup, that fixed the problem… cheers