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?


=== modified file 'src/dhcp-manager/nm-dhcp-dhclient.c'
--- src/dhcp-manager/nm-dhcp-dhclient.c 2008-08-27 17:22:32 +0000
+++ src/dhcp-manager/nm-dhcp-dhclient.c 2008-09-06 23:02:08 +0000
@@ -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"
 #define NM_DHCP_MANAGER_PID_FILE_EXT   "pid"
 
 #define NM_DHCP_MANAGER_LEASE_FILENAME "dhclient"
 #define NM_DHCP_MANAGER_LEASE_FILE_EXT "lease"
 
 #define ACTION_SCRIPT_PATH     LIBEXECDIR "/nm-dhcp-client.action"



 - Alexander

-- 
NM doesn't pass hostname to DHCP server
https://bugs.launchpad.net/bugs/210095
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to