Package: ifupdown
Version: 0.6.7
Severity: important

Something has changed in ifupdown recently that means that it will not
bring up my eth0 interface

If I stop networking and try and bring up the interface it fails

/etc/init.d/networking stop
ifup -a

when /etc/network/interfaces has the following

# This file describes the network interfaces available on your system
# and how to activate them. For more information, see interfaces(5).

# The loopback network interface
auto lo
iface lo inet loopback

# The primary network interface
auto eth0
iface eth0 inet dhcp


fails with the following output

[EMAIL PROTECTED] ~ # /etc/init.d/networking stop
Deconfiguring network interfaces...done.
[EMAIL PROTECTED] ~ # ifup -a
ifup: interface lo already configured
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/eth0/00:50:da:cf:a5:06
Sending on   LPF/eth0/00:50:da:cf:a5:06
Sending on   Socket/fallback/fallback-net
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.20
SIOCADDRT: File exists
bound to 192.168.0.21 -- renewal in 10800 seconds.
RTNETLINK answers: Cannot assign requested address
[EMAIL PROTECTED] ~ #

ifconfig reveals that the internet address has been set to a default value


[EMAIL PROTECTED] ~ # ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:50:DA:CF:A5:06
          inet addr:169.254.50.3  Bcast:0.0.0.0  Mask:255.255.0.0
          inet6 addr: fe80::250:daff:fecf:a506/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:285925 errors:0 dropped:0 overruns:0 frame:0
          TX packets:167574 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:333055717 (317.6 MiB)  TX bytes:13148490 (12.5 MiB)
          Interrupt:5 Base address:0xd400

[EMAIL PROTECTED] ~ #    

On the other hand - if I do

/etc/init.d/networking stop
dhclient eth0

the interface is brought up perfectly - thus

[EMAIL PROTECTED] ~ # /etc/init.d/networking stop
Deconfiguring network interfaces...done.
[EMAIL PROTECTED] ~ # dhclient eth0
Internet Software Consortium DHCP Client 2.0pl5
Copyright 1995, 1996, 1997, 1998, 1999 The Internet Software Consortium.
All rights reserved.

Please contribute if you find this software useful.
For info, please visit http://www.isc.org/dhcp-contrib.html

sit0: unknown hardware address type 776
sit0: unknown hardware address type 776
Listening on LPF/eth0/00:50:da:cf:a5:06
Sending on   LPF/eth0/00:50:da:cf:a5:06
Sending on   Socket/fallback/fallback-net
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.168.0.20
SIOCSIFADDR: File exists
bound to 192.168.0.21 -- renewal in 10800 seconds.
[EMAIL PROTECTED] ~ # ifconfig eth0
eth0      Link encap:Ethernet  HWaddr 00:50:DA:CF:A5:06
          inet addr:192.168.0.21  Bcast:192.168.0.255  Mask:255.255.255.0
          inet6 addr: fe80::250:daff:fecf:a506/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:285969 errors:0 dropped:0 overruns:0 frame:0
          TX packets:167591 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000
          RX bytes:333061594 (317.6 MiB)  TX bytes:13149982 (12.5 MiB)
          Interrupt:5 Base address:0xd400

[EMAIL PROTECTED] ~ #  






-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.11-1-k7
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)

Versions of packages ifupdown depends on:
ii  debconf [debconf-2.0]       1.4.51       Debian configuration management sy
ii  libc6                       2.3.2.ds1-22 GNU C Library: Shared libraries an
ii  net-tools                   1.60-13      The NET-3 networking toolkit

ifupdown recommends no packages.

-- debconf information:
  ifupdown/convert-interfaces: true


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to