Re: DHCP timeout problem



On Fri, 8 Jul 2005, Tony Murray wrote:

> I have been trying to get NetworkManager working and I am almost there
> after many hurdles.
> 
> When NetworkManager is waiting for dhcdbd/dhclient to recieve an IP it
> times out and sets up a zeroconf ip...  but dhclient gets a correct ip
> and sets it.  So, the problem is somewhere between NetworkManager /
> dhcdbd / dhclient.  Confirmation of a successful DHCP_DISCOVER is not
> getting from one end to the other.
> 
> I have attach the full section from my logs.  It looks informative, but
> I do not know enough to fix it...
> 
> Also, please note that I have used my own compiled dhclient-3.0.2 (with
> -x patch), dhcdbd-1.6 and NetworkManager-CVS_HEAD and a patch to the
> Gentoo backend.  I am using Gentoo on my laptop with a b44 and ipw2200.

can you verify that your dhclient-script is actually passing the values to 
NetworkManager?  You'll need some modifications there too:

if [ -n "${dhc_dbus}" ]; then
   /usr/bin/dbus-send \
       --system \
       --dest=com.redhat.dhcp \
       --type=method_call \
       /com/redhat/dhcp/$interface \
       com.redhat.dhcp.set \
       'string:'"`env | /bin/egrep -v '^(PATH|SHLVL|_|PWD|dhc_dbus)\='`";
       if (( ( dhc_dbus & 31 ) == 31 )); then
	   exit 0;
       fi;
fi;

That's at the top of mine...  You could insert an echo there or something just 
to make sure that its actually sending the values to NM.

Dan



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]