On Fri, Aug 29, 2008 at 02:07:36PM -0000, zedic wrote:
> Okay I have finally figured out the workaround for NetworkManager 0.7.0
> in Ubuntu/Debian.
>
> NetworkManager should be looking at "/etc/dhcp3/dhclient.conf", but
> it's not. It seems to be looking for /etc/dhclient-eth0.conf or /etc
> /dhclient-wlan0.conf.
>
>
> For example if your interface is eth0 here is how you'd fix it.
> sudo cp /etc/dhcp3/dhclient.conf /etc/dhclient-eth0.conf
>
could you please try to apply the following patch to the package?
On Fri, Aug 29, 2008 at 02:07:36PM -0000, zedic wrote: dhclient. conf", but eth0.conf or /etc wlan0.conf. dhclient. conf /etc/dhclient- eth0.conf
> Okay I have finally figured out the workaround for NetworkManager 0.7.0
> in Ubuntu/Debian.
>
> NetworkManager should be looking at "/etc/dhcp3/
> it's not. It seems to be looking for /etc/dhclient-
> /dhclient-
>
>
> For example if your interface is eth0 here is how you'd fix it.
> sudo cp /etc/dhcp3/
>
could you please try to apply the following patch to the package?
=== modified file 'src/dhcp- manager/ nm-dhcp- dhclient. c' manager/ nm-dhcp- dhclient. c 2008-08-27 17:22:32 +0000 manager/ nm-dhcp- dhclient. c 2008-09-06 23:02:08 +0000
--- src/dhcp-
+++ src/dhcp-
@@ -27,16 +27,18 @@
#include <stdlib.h>
#include <errno.h>
#include <unistd.h>
#include <stdio.h>
#include "nm-dhcp-manager.h"
#include "nm-utils.h"
+#include <config.h>
+
#define NM_DHCP_ MANAGER_ PID_FILENAME "dhclient" MANAGER_ PID_FILE_ EXT "pid"
#define NM_DHCP_
#define NM_DHCP_ MANAGER_ LEASE_FILENAME "dhclient" MANAGER_ LEASE_FILE_ EXT "lease"
#define NM_DHCP_
#define ACTION_SCRIPT_PATH LIBEXECDIR "/nm-dhcp- client. action"
- Alexander