Bug 11556 - pcmcia card up/down in profiles
Summary: pcmcia card up/down in profiles
Status: CLOSED NOTABUG
Alias: None
Product: Sisyphus
Classification: Development
Component: etcnet (show other bugs)
Version: unstable
Hardware: all Linux
: P2 blocker
Assignee: Mikhail Efremov
QA Contact: qa-sisyphus
URL:
Keywords:
: 9683 11555 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-04-18 13:57 MSD by Marat Khayrullin
Modified: 2007-04-18 21:20 MSD (History)
5 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Marat Khayrullin 2007-04-18 13:57:57 MSD
аже если 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




Actual Results:  
# /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.
Comment 1 Denis Ovsienko 2007-04-18 20:32:16 MSD
Боюсь, что состоянием hotplug/PCMCIA устройств мы не можем управлять с помощью
ifup и ifdown, а можем только предпринимать необходимые действия, реагируя на
фактическое появление или исчезновение устройства.
Comment 2 Marat Khayrullin 2007-04-18 21:04:06 MSD
(In reply to comment #1)
> Боюсь, что состоянием hotplug/PCMCIA устройств мы не можем управлять с помощью
> ifup и ifdown, а можем только предпринимать необходимые действия, реагируя на
> фактическое появление или исчезновение устройства.

Дык у не надо управлять поднятием-опусканием драйвера.
Есть драйвер - сделали ip link ... set up, не подгружен - ни чего не делаем.
А иначе - раутами каша: по два default'а и др.
Comment 3 Marat Khayrullin 2007-04-18 21:12:40 MSD
*** Bug 11555 has been marked as a duplicate of this bug. ***
Comment 4 Marat Khayrullin 2007-04-18 21:20:26 MSD
*** Bug 9683 has been marked as a duplicate of this bug. ***