Is it possible to restart the network from SSH session without rebooting?
The reason is I have a lot of stale tcp sessions , output from
ss -t
ESTAB 0 0 192.168.254.8:ssh 192.168.254.7:38248
CLOSE-WAIT 64 0 192.168.254.8:46444 13.224.217.27:https
CLOSE-WAIT 1 0 192.168.254.8:36136 93.187.10.106:http
CLOSE-WAIT 32 0 192.168.254.8:40414 37.48.83.5:https
Some of these have been here for a few days.
The easy way is to reboot, just wonder if I can log in via SSH and use
sudo service network-manager reboot
I know network is a bit different on OSMC.
Running Leia 18.9 on Rasberry Pi 2.