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

Bug #664839 reported by Dennis Schridde on 2010-10-21
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
dhcpcd (Ubuntu)
Undecided
Unassigned
wicd (Ubuntu)
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

Dennis Schridde (devurandom) wrote :
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.

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.

Dennis Schridde (devurandom) wrote :

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

Dennis Schridde (devurandom) wrote :

Confirming the issue for Ubuntu 11.04

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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers