Вследствие административного куража руководства временно в нашей организации порешили всю таблицу MAC адресов компьютеров, в том числе и личных ноутбуков сотрудников, в результате мой ноут блокирован по MAC и выйти с него в сеть на работе я не могу. Пока из одного отдела в другой ходят докладные и служебные с просьбою вернуть нас в сеть, возникла мысль подменить MAC на адрес настольного компа, с которым всё в порядке (его уже успели вернуть в список).
Система у меня AltLinux KDE Desktop 5.0 (KDE4). Я прописал в файле /etc/net/ifaces/eth0/iplink
новый MAC заместо старого, теперь нужно обновить конфигурацию, но команда service network restart
не найдена (то же самое было и в AltLinux Desktop 4.1), раньше я использовал /etc/init.d/network restart
, но теперь она выдаёт следующее и ничего не меняется:
[root@comp-Core-Duo-1cc84e ~]# /etc/init.d/network restart
Computing interface groups: . 1 interfaces found
Processing /etc/net/vlantab: empty.
Stopping group 0/virtual (1 interfaces)
Stopping lo: ./etc/hooks/resolv.conf.d/update_chrooted: line 3: update_chrooted: команда не найдена
.OK
Stopping iptables for default
Flushing the "OUTPUT" chain in the "filter" table
Flushing the "FORWARD" chain in the "filter" table
Flushing the "INPUT" chain in the "filter" table
Flushing the "POSTROUTING" chain in the "nat" table
Flushing the "OUTPUT" chain in the "nat" table
Flushing the "PREROUTING" chain in the "nat" table
Flushing the "POSTROUTING" chain in the "mangle" table
Flushing the "OUTPUT" chain in the "mangle" table
Flushing the "FORWARD" chain in the "mangle" table
Flushing the "INPUT" chain in the "mangle" table
Flushing the "PREROUTING" chain in the "mangle" table
Unloading module ip_conntrack_ftp
Setting ACCEPT policy for the "INPUT" chain in the "filter" table
Setting ACCEPT policy for the "FORWARD" chain in the "filter" table
Setting ACCEPT policy for the "OUTPUT" chain in the "filter" table
Starting iptables for default
Setting ACCEPT policy for the "INPUT" chain in the "filter" table
Setting ACCEPT policy for the "FORWARD" chain in the "filter" table
Setting ACCEPT policy for the "OUTPUT" chain in the "filter" table
Loading module ip_conntrack_ftp
Loading rules for the "PREROUTING" chain in the "mangle" table
Loading rules for the "INPUT" chain in the "mangle" table
Loading rules for the "FORWARD" chain in the "mangle" table
Loading rules for the "OUTPUT" chain in the "mangle" table
Loading rules for the "POSTROUTING" chain in the "mangle" table
Loading rules for the "PREROUTING" chain in the "nat" table
Loading rules for the "OUTPUT" chain in the "nat" table
Loading rules for the "POSTROUTING" chain in the "nat" table..
Loading rules for the "INPUT" chain in the "filter" table...........................................
Loading rules for the "FORWARD" chain in the "filter" table.........
Loading rules for the "OUTPUT" chain in the "filter" table...
Computing interface groups: . 1 interfaces found
Starting group 0/virtual (1 interfaces)
Starting lo: ..../etc/hooks/resolv.conf.d/update_chrooted: line 3: update_chrooted: команда не найдена
.OK
В настройках Альтератора стоит получение адреса по DHCP.