Yuriy_Y,
Да ну с какого сессия то оборвется? Ты же две команды сразу отправляешь.
Всегда так делаю, главное от root, либо
sudo ifdown eth0 && sudo ifup eth0
Не разу не бегал))
Last login: Mon Jul 6 23:27:48 2015 from 192.168.88.241
bukass@ubuntu:~$ uptime
12:22:35 up 104 days, 14:36, 1 user, load average: 0.12, 0.07, 0.05
bukass@ubuntu:~$ sudo su
[sudo] password for bukass:
root@ubuntu:/home/bukass# ifdown -a && ifup -a
* Stopping NTP server ntpd
...done.
* Starting NTP server ntpd
...done.
Rather than invoking init scripts through /etc/init.d, use the service(8)
utility, e.g. service avahi-daemon stop
Since the script you are attempting to invoke has been converted to an
Upstart job, you may also use the stop(8) utility, e.g. stop avahi-daemon
avahi-daemon stop/waiting
* Stopping NTP server ntpd
...done.
* Starting NTP server ntpd
...done.
ssh stop/waiting
ssh start/running, process 17740
root@ubuntu:/home/bukass#