[sisyphus] etcnet + profiles

Marat Khayrullin =?iso-8859-1?q?xmm_=CE=C1_rambler=2Eru?=
Пн Апр 16 01:02:09 MSD 2007


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.






Подробная информация о списке рассылки Sisyphus