How to "ifdown ..." on squeeze?



On a new installation of squeeze, ifdown no longer works as it used
to (on my old Debian system).

When ifconfig lists an interface "eth0", neither "ifdown eth0" nor
"ifdown eth" takes the interface down. The attempts yield:
"ifdown: interface eth0 not configured" and
"ifdown: interface eth not configured".

How does one take an interface down on squeeze?

(My old system's /etc/network/interfaces had:
...
auto eth0
iface eth0 inet dhcp
On my squeeze system, it's:
...
allow-hotplug eth0
(with a commented-out line:
#NetworkManager#iface eth0 inet dhcp
)
)



Also: The reason I was trying to take it down and back up was to
trigger a fresh DHCP query and corresponding host-name configuration.
What's the preferred way of doing that?


Thanks,
Daniel



--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx
Archive: http://lists.debian.org/4EB7376B.9080304@xxxxxxxxx



Relevant Pages

  • Re: cups in squeeze with ethernet postscript printer
    ... But with Squeeze, the webadmin GUI is not responding, so I ...  With the GUI in Etch and in Lenny, ... interface, but I need to Google for a HOWTO (I should be able to find ...
    (Debian-User)
  • Re: Changes to sysfs PM layer break userspace
    ... your grep missed tg3.c for example, which has a wrapper around the power state code and goes to D3hot on downing of the interface. ... (just the first one I looked at as a "reference driver", others probably do the same thing) ... Admittedly it would be slightly more useful to have the ifdown and the virtual-unplug be separate events. ...
    (Linux-Kernel)
  • Re: cups in squeeze with ethernet postscript printer
    ... But with Squeeze, the webadmin GUI is not responding, so I ... A week ago there was some response from the GUI, ... interface, but I need to Google for a HOWTO (I should be able to find ...
    (Debian-User)
  • Darkstat not working on tun0
    ... Debian "Squeeze" system running on an old Dell GX260 mini desktop box. ... and now darkstat doesn't recognize the VPN ... tunnel interface. ... UP POINTOPOINT RUNNING NOARP MULTICAST MTU:1500 Metric:1 ...
    (comp.os.linux.networking)
  • Re: system-config-network as non-root
    ... Mikkel L. Ellertson wrote: ... >> ifdown. ...
    (Fedora)