Re: network manager does not detect the IP !
- From: Dan Williams <dcbw redhat com>
- To: Joan Moreau <joan moreau m4x org>
- Cc: networkmanager-list gnome org
- Subject: Re: network manager does not detect the IP !
- Date: Tue, 05 Dec 2006 15:54:09 -0500
On Tue, 2006-12-05 at 22:28 +0200, Joan Moreau wrote:
> > Two issues here:
> >
> > 1) the wireless card/driver is getting disconnected from the access
> > point, you'll see the "CTRL-EVENT-DISCONNECTED" messages. In this case,
> > NM should be failing the connection anyway, terminating your connection.
> > Perhaps the driver needs fixing, or you are far away from the access
> > point.
>
> This was due to the bad connection in the web coffee ;-)
>
> But the connection worked well when setup manually
>
> > 2) Can you attach your /sbin/dhclient-script file?
>
> Below.
Ok, that's your problem. The dhclient script isn't set up to send the
returned DHCP options to NetworkManager. So in /sbin/dhclient, right
after the lines at the top that start with "#", add:
if [ -n "${dhc_dbus}" ]; then
/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;
Dan
> Thanks
>
> joan
>
>
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]