Member
Статус: Не в сети Регистрация: 11.06.2011 Откуда: Россия
подскажите как решить проблему, правлю файл /etc/network/interfaces перегружаю сервер reboot и все что прописывал в этот файл все потерлось и сконфигурировалось все заново до начала редактирования стоит debian 6 как убрать из авто генерации файл interfaces ? в файле interfaces написано следующее
Код:
# This configuration file is auto-generated. # # WARNING: Do not edit this file, your changes will be lost. # Please create/edit /etc/network/interfaces.head and # /etc/network/interfaces.tail instead, their contents will be # inserted at the beginning and at the end of this file, respectively. # # NOTE: it is NOT guaranteed that the contents of /etc/network/interfaces.tail # will be at the very end of this file. #
# Auto generated lo interface auto lo iface lo inet loopback
# Auto generated venet0 interface auto venet0 iface venet0 inet manual up ifconfig venet0 up up ifconfig venet0 x.x.x.x up route add default dev venet0 down route del default dev venet0 down ifconfig venet0 down
iface venet0 inet6 manual up route -A inet6 add default dev venet0 down route -A inet6 del default dev venet0
auto venet0:0 iface venet0:0 inet static address x.x.x.x netmask x.x.x.x
Сейчас этот форум просматривают: нет зарегистрированных пользователей и гости: 2
Вы не можете начинать темы Вы не можете отвечать на сообщения Вы не можете редактировать свои сообщения Вы не можете удалять свои сообщения Вы не можете добавлять вложения