PATCH: src/backends/NetworkManagerSlackware.c
- From: "Paul Blazejowski" <paulb blazebox homeip net>
- To: networkmanager-list gnome org
- Cc:
- Subject: PATCH: src/backends/NetworkManagerSlackware.c
- Date: Tue, 6 Dec 2005 02:08:47 -0500 (EST)
By default dhcpcd is called (from /etc/rc.d/rc.inet1) to obtain an IP
address, running NetworkManager will never get us an IP because dhclient
is unable to bind to already taken interfce, so we kill any dhcpcd
processes in order to get dhclient to obtain an IP...this has been removed
in one of the ealier revisions, anyway here's a patch against CVS HEAD to
get it working again.
Index: src/backends/NetworkManagerSlackware.c
===================================================================
RCS file: /cvs/gnome/NetworkManager/src/backends/NetworkManagerSlackware.c,v
retrieving revision 1.14
diff -u -r1.14 NetworkManagerSlackware.c
--- src/backends/NetworkManagerSlackware.c 19 Oct 2005 13:44:34 -0000
1.14
+++ src/backends/NetworkManagerSlackware.c 6 Dec 2005 06:54:16 -0000
@@ -188,6 +188,7 @@
*/
void nm_system_kill_all_dhcp_daemons (void)
{
+ nm_spawn_process ("/bin/killall -q dhcpcd");
}
Thank you,
Paul B.
--
FreeBSD -- The Power To Serve!
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]