From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Message-ID: <462292D1.3040807@rambler.ru> Date: Mon, 16 Apr 2007 01:02:09 +0400 From: Marat Khayrullin User-Agent: Thunderbird 1.5.0.10 (X11/20070221) MIME-Version: 1.0 To: ALT Linux Sisyphus discussion list References: <462091D2.40609@rambler.ru> In-Reply-To: <462091D2.40609@rambler.ru> Content-Type: text/plain; charset=KOI8-R; format=flowed Content-Transfer-Encoding: 8bit Subject: Re: [sisyphus] etcnet + profiles X-BeenThere: sisyphus@lists.altlinux.org X-Mailman-Version: 2.1.9rc1 Precedence: list Reply-To: ALT Linux Sisyphus discussion list List-Id: ALT Linux Sisyphus discussion list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 15 Apr 2007 21:01:29 -0000 Archived-At: List-Archive: List-Post: Marat Khayrullin пишет: > etcnet-0.9.1 > > Как выключить интерфейс для определенного профайла? > DISABLE=yes - отключает всю обработку интерфейса, он не глушется и > соотв. роуты на него не удаляются. > Даже если DISABLE=no и pcmcia карта подключена и линк есть, тогда skipping hotplug iface 'ext' SKIPPED и ifdown/up ext не работает Как включать выключать pcmcia карту руками и в профайле? ext/options: USE_HOTPLUG=yes USE_PCMCIA=yes TYPE=eth MODULE=8390 BOOTPROTO=static LINKDETECT=yes DISABLED=no # /etc/init.d/network restartwith home Loading iptables data.............. Computing interface groups: ... 3 interfaces found Processing /etc/net/vlantab: empty. Stopping group 1/realphys (2 interfaces) Stopping ext: skipping hotplug iface 'ext' SKIPPED Stopping int: ...OK Stopping group 0/virtual (1 interfaces) Stopping lo: Stopping iptables for lo Unloading rules for the "OUTPUT" chain in the "filter" table. Unloading rules for the "INPUT" chain in the "filter" table. .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 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 Computing interface groups: ... 3 interfaces found Starting group 0/virtual (1 interfaces) Starting lo: ..... Starting iptables for lo Loading rules for the "INPUT" chain in the "filter" table. Loading rules for the "OUTPUT" chain in the "filter" table. OK Starting group 1/realphys (2 interfaces) Starting ext: skipping hotplug iface 'ext' SKIPPED Starting int: .......OK Processing /etc/net/vlantab: empty.