From time to time I unplug my ethernet cable from my desktop (Linux Mint 19) to connect my laptop to the wired network. When I plug the cable back into the desktop, the internet on there is incredibly slow (going from >800 Mbps to <7 Mbps).
I've tried resetting the network adapter (using sudo /etc/init.d/network-manager restart
), which doesn't help. The only thing that seemed to work is rebooting my computer entirely. But it is a little annoying to terminate my simulations etc. just to get back to proper internet speeds, so I'm looking for a simple command line solution.
I'm afraid I know very little of these things, so I don't know what information you require to diagnose the issue. Please comment and let me know what output you need, and I will append it to this question.
Additional info:
- Output of
cat /sys/class/net/eno1/speed
is1000
in the normal case, and10
when I unplug/replug the ethernet cable - The IP address on my desktop remains unchanged, and is different from my laptop's
/sys/clas/net/XXX/speed
where XXX is the network device (maybe something like eno1, ethY or enpXsY) before and after the incident./sys/class/net/eno1/speed
changes, so I guess there's an issue with that.