Udhcpc fails on interface that starts with MAC of 00:00:00:00:00:00
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
udhcp (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I have a wireless USB card (Ralink 2770 based) that reports a MAC address of 00:00:00:00:00:00 until it is first brought up. If I start udhcpc before the the interface is first brought up, and then bring up the interface, udhcpc will never manage to get a lease (doing a SIGUSR1 causes it to try, but it consistently fails). I suspect that udhcpc is caching the MAC address the interface had when it was first started, and hence failing to communicate even after the MAC address gets set. I think that it would be appropriate for udhcpc to re-read the MAC address each time it starts trying to get a lease, as the performance hit would be trivial.
pr2@ta105:~$ lsb_release -rd
Description: Ubuntu 9.10
Release: 9.10
pr2@ta105:~$ apt-cache policy udhcpc
udhcpc:
Installed: 0.9.8cvs2005030
Candidate: 0.9.8cvs2005030
Version table:
*** 0.9.8cvs2005030
500 http://
100 /var/lib/
ProblemType: Bug
Architecture: i386
Date: Wed Apr 21 09:52:27 2010
DistroRelease: Ubuntu 9.10
Package: udhcpc 0.9.8cvs2005030
ProcEnviron:
PATH=(custom, no user)
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcVersionSign
SourcePackage: udhcp
Uname: Linux 2.6.31-14-generic i686
XsessionErrors:
(gnome-
(gnome-
(nautilus:1587): Eel-CRITICAL **: eel_preferences
(polkit-