summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2012-December/020545.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2012-December/020545.html')
-rw-r--r--zarb-ml/mageia-dev/2012-December/020545.html123
1 files changed, 123 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2012-December/020545.html b/zarb-ml/mageia-dev/2012-December/020545.html
new file mode 100644
index 000000000..382631b79
--- /dev/null
+++ b/zarb-ml/mageia-dev/2012-December/020545.html
@@ -0,0 +1,123 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] NetworkManager vs initscripts
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20NetworkManager%20vs%20initscripts&In-Reply-To=%3C50BD3FF7.1020009%40ono.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="020799.html">
+ <LINK REL="Next" HREF="020546.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] NetworkManager vs initscripts</H1>
+ <B>JA Magall&#243;n</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20NetworkManager%20vs%20initscripts&In-Reply-To=%3C50BD3FF7.1020009%40ono.com%3E"
+ TITLE="[Mageia-dev] NetworkManager vs initscripts">jamagallon at ono.com
+ </A><BR>
+ <I>Tue Dec 4 01:12:39 CET 2012</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="020799.html">[Mageia-dev] requiring postgres-devel
+</A></li>
+ <LI>Next message: <A HREF="020546.html">[Mageia-dev] NetworkManager vs initscripts
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#20545">[ date ]</a>
+ <a href="thread.html#20545">[ thread ]</a>
+ <a href="subject.html#20545">[ subject ]</a>
+ <a href="author.html#20545">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On 11/28/2012 03:15 PM, Jose Jorge wrote:
+&gt;<i> Le 28/11/2012 14:05, Johnny A. Solbu a &#233;crit :
+</I>&gt;&gt;<i> On Wednesday 28. November 2012 12.44, Olivier Blin wrote:
+</I>&gt;&gt;&gt;<i> You can just set NM_CONTROLLED=yes in the generated ifcfg files.
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> If the interface is configured using NetworkManager, why doesn't NM itself create the file, if it doesn't exist, and add the line, to prevent this?
+</I>&gt;&gt;<i> Perhaps a checkbox could be added to make it happen.
+</I>&gt;<i>
+</I>&gt;<i> Because the GUI tools and the installer always create this file. Except hackers, no one removes it, ans MCC adds NM_CONTROLLED=yes if you check the box in the GUI!
+</I>&gt;<i>
+</I>
+Well, this is what I have undestood and checked, plz correct me if wrong:
+- initscripts always want an ifcfg-eth0 (-wlan0) file
+- if it is not there, it is created by udev
+- mageia gui tools set the NM_CONTROLLED flag, but still rely on the ifcfg-rh
+ plugin to let NM pull the config from there
+
+To get the most 'pure' NM setup I could, I did this:
+- disabled the ifcfg-rh plugin in NM.conf, just keyfile
+- configured the network via nm-connection-editor, stored system wide
+ in /etc/NetworkManager/system-connections
+- creaed a dummy ifcfg-eth0 file with
+ DEVICE=eth0
+ NM_CONTROLLED=yes
+ lines. No network info in there...just dummy file for initscripts to ignore it,
+ as udev will be trying to create it with DHCP setup if not present...
+
+Perhaps GUI toos and installer could do this also, if user wants the interface
+to be managed by NM. Perhaps it is time to deprecate ifcfg-rh and create native
+files for NM...
+NM is ispecially usefull if you connect to multiple wifis and want different
+routers/DNS/domains depending on your wifi network.
+
+Thanks.
+
+PD: diggin a bit I found /etc/sysconfig/udev_net, with its BLACKLIST lists,
+and found also about /etc/sysconfit/network and AUTOMATIC_IFCFG
+(see /lib/udev/net_create_ifcfg).
+Places to play...
+
+--
+J.A. Magallon &lt;jamagallon()ono!com&gt; \ Winter is coming...
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="020799.html">[Mageia-dev] requiring postgres-devel
+</A></li>
+ <LI>Next message: <A HREF="020546.html">[Mageia-dev] NetworkManager vs initscripts
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#20545">[ date ]</a>
+ <a href="thread.html#20545">[ thread ]</a>
+ <a href="subject.html#20545">[ subject ]</a>
+ <a href="author.html#20545">[ author ]</a>
+ </LI>
+ </UL>
+
+<hr>
+<a href="https://www.mageia.org/mailman/listinfo/mageia-dev">More information about the Mageia-dev
+mailing list</a><br>
+</body></html>