wicd/dhcpcd does not generate /etc/resolv.conf

Bug #664839 reported by Dennis Schridde
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dhcpcd (Ubuntu)
Invalid
Undecided
Unassigned
wicd (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Binary package hint: wicd

After updating from Ubuntu 10.04 to 10.10, wicd/dhcpcd does not generate /etc/resolv.conf anymore. This does not depend on the connection type (wireless or wired), and is not fixed by deleting or emptying the file. The IP address is acquired without any apparent problem though.

/var/log/messages says:
---
kernel: [ 1400.441626] ADDRCONF(NETDEV_CHANGE): wlan0: link becomes ready
dhcpcd[3933]: wlan0: dhcpcd 3.2.3 starting
dhcpcd[3933]: wlan0: hardware address = xxx
dhcpcd[3933]: wlan0: DUID = xxx
dhcpcd[3933]: wlan0: broadcasting for a lease
dhcpcd[3933]: wlan0: offered 192.168.0.20 from 192.168.0.1
dhcpcd[3933]: wlan0: checking 192.168.0.20 is available on attached networks
dhcpcd[3933]: wlan0: leased 192.168.0.20 for 864000 seconds
dhcpcd[3933]: wlan0: adding IP address 192.168.0.20/24
dhcpcd[3933]: wlan0: adding default route via 192.168.0.1 metric 0
dhcpcd[3933]: wlan0: exiting
dhcpcd.sh: interface wlan0 has been configured with new IP=192.168.0.20
---

ProblemType: Bug
DistroRelease: Ubuntu 10.10
Package: wicd 1.7.0+ds1-5
ProcVersionSignature: Ubuntu 2.6.35-22.35-generic 2.6.35.4
Uname: Linux 2.6.35-22-generic i686
Architecture: i386
Date: Fri Oct 22 00:57:17 2010
InstallationMedia: Kubuntu-Netbook 10.04 "Lucid Lynx" - Beta i386 (20100318)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB
 PATH=(custom, user)
 LANG=en_GB.utf-8
 SHELL=/bin/bash
SourcePackage: wicd

Revision history for this message
Dennis Schridde (devurandom) wrote :
Revision history for this message
wastvedt (wastvedt) wrote :

I had this problem as well. Setting wicd to use dhclient instead of 'Automatic' in the DHCP Client settings fixed the problem. It should be able to use 'Automatic' though.

Revision history for this message
Dennis Schridde (devurandom) wrote :

wastvedt is correct on comment #2. Using dhclient instead of dhcpcd makes this work. Seems something broke dhcpcd-3 since Ubuntu 10.04.

Revision history for this message
Dennis Schridde (devurandom) wrote :

Possibly related: bug #412171 ("Obsolete options interfere with wicd")

Revision history for this message
Dennis Schridde (devurandom) wrote :

Confirming the issue for Ubuntu 11.04

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in dhcpcd (Ubuntu):
status: New → Confirmed
Changed in wicd (Ubuntu):
status: New → Confirmed
Changed in wicd (Ubuntu):
status: Confirmed → Invalid
Changed in dhcpcd (Ubuntu):
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.