Package: ifupdown
Version: 0.7~alpha3
Severity: important
Almost every time my system resumes, dhclient processes for the same
interface. Here is sample "ps" output after a suspend-resume cycle:
2672 ? S<s 0:00 dhclient3 -pf /var/run/dhclient.wlan0.pid -lf
/var/lib/dhcp3/dhclient.wlan0.leases wlan0
2996 ? S<s 0:00 dhclient3 -pf /var/run/dhclient.wlan0.pid -lf
/var/lib/dhcp3/dhclient.wlan0.leases wlan0
3332 ? S<s 0:00 dhclient3 -pf /var/run/dhclient.wlan0.pid -lf
/var/lib/dhcp3/dhclient.wlan0.leases wlan0
3657 ? S<s 0:00 dhclient3 -pf /var/run/dhclient.wlan0.pid -lf
/var/lib/dhcp3/dhclient.wlan0.leases wlan0
3973 ? S<s 0:00 dhclient3 -pf /var/run/dhclient.wlan0.pid -lf
/var/lib/dhcp3/dhclient.wlan0.leases wlan0
4247 ? S<s 0:00 dhclient3 -pf /var/run/dhclient.wlan0.pid -lf
/var/lib/dhcp3/dhclient.wlan0.leases wlan0
4598 ? S<s 0:00 dhclient3 -pf /var/run/dhclient.wlan0.pid -lf
/var/lib/dhcp3/dhclient.wlan0.leases wlan0
5182 ? S<s 0:00 dhclient3 -pf /var/run/dhclient.wlan0.pid -lf
/var/lib/dhcp3/dhclient.wlan0.leases wlan0
7005 ? S<s 0:00 dhclient3 -pf /var/run/dhclient.wlan0.pid -lf
/var/lib/dhcp3/dhclient.wlan0.leases wlan0
7990 ? S<s 0:00 dhclient3 -pf /var/run/dhclient.wlan0.pid -lf
/var/lib/dhcp3/dhclient.wlan0.leases wlan0
9302 ? S<s 0:00 dhclient3 -pf /var/run/dhclient.wlan0.pid -lf
/var/lib/dhcp3/dhclient.wlan0.leases wlan0
9590 ? S<s 0:00 dhclient3 -pf /var/run/dhclient.wlan0.pid -lf
/var/lib/dhcp3/dhclient.wlan0.leases wlan0
9881 ? S<s 0:00 dhclient3 -pf /var/run/dhclient.wlan0.pid -lf
/var/lib/dhcp3/dhclient.wlan0.leases wlan0
10166 ? S<s 0:00 dhclient3 -pf /var/run/dhclient.wlan0.pid -lf
/var/lib/dhcp3/dhclient.wlan0.leases wlan0
10450 ? S<s 0:00 dhclient3 -pf /var/run/dhclient.wlan0.pid -lf
/var/lib/dhcp3/dhclient.wlan0.leases wlan0
10801 ? S<s 0:00 dhclient3 -pf /var/run/dhclient.wlan0.pid -lf
/var/lib/dhcp3/dhclient.wlan0.leases wlan0
11113 pts/4 S+ 0:00 grep dhcl
19524 ? S<s 0:00 dhclient3 -pf /var/run/dhclient.wlan0.pid -lf
/var/lib/dhcp3/dhclient.wlan0.leases wlan0
I also have connection problems that I think are related to this:
usually it will associate correctly with the WLAN and get an IP
address, but then the address is released after some seconds, and a
zeroconf address is set instead. The only way to fix is to kill the
dhclients manually and ifdown/ifup the interface.
wlan0 is a wireless interface managed by wpa_supplicant, in a WPA-PSK
network. The driver is iwl3945, this is a Thinkpad T61.
/etc/network/interfaces:
# The loopback network interface
auto lo
iface lo inet loopback
# The primary network interface
allow-hotplug eth0
iface eth0 inet dhcp
allow-hotplug wlan0
iface wlan0 inet manual
wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf
iface default inet dhcp
iface tmp inet static
address 192.168.1.109
netmask 255.255.255.0
gateway 192.168.1.225
dns-nameservers 192.168.1.225
auto tap0
iface tap0 inet static
pre-up tunctl -u marcus -t $IFACE
address 192.168.3.1
netmask 255.255.255.0
post-up sysctl net.ipv4.conf.$IFACE.proxy_arp=1
-- System Information:
Debian Release: squeeze/sid
APT prefers testing
APT policy: (990, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.30.5-melech (SMP w/2 CPU cores; PREEMPT)
Locale: LANG=sv_SE.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages ifupdown depends on:
ii debconf [debconf-2.0] 1.5.27 Debian configuration management sy
ii iproute 20090324-1 networking and traffic control too
ii libc6 2.9-25 GNU C Library: Shared libraries
ii lsb-base 3.2-23 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 dhcp3-client 3.1.2p1-1 DHCP client
ii ppp 2.4.4rel-10.1 Point-to-Point Protocol (PPP) - da
-- debconf information:
ifupdown/convert-interfaces: true
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]