Package: dhcp3-client
Version: 3.0.5-3
Severity: normal

dhclient3 had stopped bringing the network up a few months ago,
although going back to stable's dhcp3-client (from January) doesn't
fix this, so I suspect it could be something to do with udev, hotplug,
netenv or something else, although I have reached the end of my
debugging ability.

With /etc/network/interfaces as follows:

####
# /etc/network/interfaces autogenerated by netenv Sun Jul 1 20:25:46 EST 2007
# old /etc/network/interfaces backup as /etc/network/interfaces.pre-netenv
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
####

Optionally, same results if that file contains also the following --
hotplug has changed recently, and I don't know what implications this
will have):

####
mapping hotplug
   script echo
####

With the above choices of /etc/network/interfaces, when dhclient3 is
run, I get the following (this log was from stable's 3.0.4, but same
under current unstable's V3.0.5):

Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:0f:b5:4b:6e:eb
Sending on   LPF/eth0/00:0f:b5:4b:6e:eb
Sending on   Socket/fallback
DHCPRELEASE on eth0 to 192.231.166.47 port 67
Internet Systems Consortium DHCP Client V3.0.4
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:0f:b5:4b:6e:eb
Sending on   LPF/eth0/00:0f:b5:4b:6e:eb
Sending on   Socket/fallback
receive_packet failed on eth0: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 5
send_packet: Network is down
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 12
send_packet: Network is down

The debug file just gives the following:

Sun Jul 1 20:27:16 EST 2007: entering dhclient-enter-hooks.d, dumping variables.
reason='PREINIT'
interface='eth0'
medium=''
alias_ip_address=''
new_ip_address=''
new_subnet_mask=''
new_domain_name=''
new_domain_name_servers=''
new_routers=''
new_static_routes=''
old_ip_address=''
old_subnet_mask=''
old_domain_name=''
old_domain_name_servers=''
old_routers=''
old_static_routes=''


Now, I just discovered that I can get dhcp to work if I bring up the
interface manually, and then later add a default route:

# killall dhclient3
# ifconfig eth0 up
# dhclient3 
There is already a pid file /var/run/dhclient.pid with pid 30950
removed stale PID file
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

Listening on LPF/eth0/00:0f:b5:4b:6e:eb
Sending on   LPF/eth0/00:0f:b5:4b:6e:eb
Sending on   Socket/fallback
DHCPDISCOVER on eth0 to 255.255.255.255 port 67 interval 6
DHCPOFFER from 192.231.166.47
DHCPREQUEST on eth0 to 255.255.255.255 port 67
DHCPACK from 192.231.166.47
bound to 192.231.166.113 -- renewal in 85817 seconds.
# route add default eth0

That gives me a functional system, but what has changed?

-- System Information:
Debian Release: lenny/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.18-4-686 (SMP w/1 CPU core)
Locale: LANG=en_AU, LC_CTYPE=en_AU (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages dhcp3-client depends on:
ii  debconf [debconf-2.0]         1.5.13     Debian configuration management sy
ii  debianutils                   2.22       Miscellaneous utilities specific t
ii  dhcp3-common                  3.0.5-3    common files used by all the dhcp3
ii  libc6                         2.5-11     GNU C Library: Shared libraries

dhcp3-client recommends no packages.

-- debconf information:
  dhcp3-client/dhclient-needs-restarting:
  dhcp3-client/dhclient-script_moved:


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

Reply via email to