I have an embedded device which when connected via usb, it gets a IP assigned. I should be able to telnet to this device using the assigned IP. I can see this in the ifconfig of my ubuntu machine.
Problem: When I try to telnet, it does not connect and waits endlessly.
Workaround:
Disconnect the usb interface on my ubuntu system and run command $sudo dhclient enp0s20f0u9
manually. This refreshes the usb interface IP (getting the same ip address reassigned) but this time I can successfully telnet to the device.
This I need to do every time I plug in the device using usb. Very annoying. Any idea how to fix this permanently?