Package: ifupdown
Version: 0.6.10
Severity: normal
File: /sbin/ifdown

Excuse me for my bad English :-)

I have enabled ethernet interface:

# ifconfig
eth0      Link encap:Ethernet  HWaddr 1c:6f:65:d9:a8:55  
          inet addr:192.168.0.100  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::1e6f:65ff:fed9:a855/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:7311 errors:0 dropped:0 overruns:0 frame:0
          TX packets:7080 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:5770721 (5.5 MiB)  TX bytes:936079 (914.1 KiB)
          Interrupt:40 Base address:0x6000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:20 errors:0 dropped:0 overruns:0 frame:0
          TX packets:20 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:1160 (1.1 KiB)  TX bytes:1160 (1.1 KiB)

I want to disable it temporary.
I try ifupdown, but it can't disable interface:

# ifdown eth0
ifdown: interface eth0 not configured

It is strange error message. But I can say that if eth0 works then it is 
configured, so ifdown's message is lie.

Please change message to more informative.

I can guess 2 possible sources of problem.

First is: on system boot udev renames my eth0 to eth2,
so I use nameif program as workaround this bug. It is possible that
this workaround is problem for ifdown.

Second is: I use dhcpcd client, not dhclient.

Regards, Sergey




-- System Information:
Debian Release: 6.0.1
  APT prefers proposed-updates
  APT policy: (500, 'proposed-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.38-2-686 (SMP w/4 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ifupdown depends on:
ii  libc6                   2.11.2-10        Embedded GNU C Library: Shared lib
ii  lsb-base                3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip
ii  net-tools               1.60-23          The NET-3 networking toolkit

ifupdown recommends no packages.

Versions of packages ifupdown suggests:
ii  dhcpcd [dhcp-client]          1:3.2.3-5  DHCP client for automatically conf
ii  iproute                       20100519-3 networking and traffic control too
ii  ppp                           2.4.5-4    Point-to-Point Protocol (PPP) - da

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to