summaryrefslogtreecommitdiffstats
path: root/zarb-ml/mageia-dev/2011-July/006806.html
diff options
context:
space:
mode:
Diffstat (limited to 'zarb-ml/mageia-dev/2011-July/006806.html')
-rw-r--r--zarb-ml/mageia-dev/2011-July/006806.html153
1 files changed, 153 insertions, 0 deletions
diff --git a/zarb-ml/mageia-dev/2011-July/006806.html b/zarb-ml/mageia-dev/2011-July/006806.html
new file mode 100644
index 000000000..d43d874a6
--- /dev/null
+++ b/zarb-ml/mageia-dev/2011-July/006806.html
@@ -0,0 +1,153 @@
+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
+<HTML>
+ <HEAD>
+ <TITLE> [Mageia-dev] After last update net applet shows wrong status
+ </TITLE>
+ <LINK REL="Index" HREF="index.html" >
+ <LINK REL="made" HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20After%20last%20update%20net%20applet%20shows%20wrong%20status&In-Reply-To=%3CCAC7Lmns5bOmR61BOCu1XZRdbb2LE%3D2LHGQFpeOtNhf5nFqu5jg%40mail.gmail.com%3E">
+ <META NAME="robots" CONTENT="index,nofollow">
+ <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
+ <LINK REL="Previous" HREF="006796.html">
+ <LINK REL="Next" HREF="006776.html">
+ </HEAD>
+ <BODY BGCOLOR="#ffffff">
+ <H1>[Mageia-dev] After last update net applet shows wrong status</H1>
+ <B>Eugeni Dodonov</B>
+ <A HREF="mailto:mageia-dev%40mageia.org?Subject=Re%3A%20%5BMageia-dev%5D%20After%20last%20update%20net%20applet%20shows%20wrong%20status&In-Reply-To=%3CCAC7Lmns5bOmR61BOCu1XZRdbb2LE%3D2LHGQFpeOtNhf5nFqu5jg%40mail.gmail.com%3E"
+ TITLE="[Mageia-dev] After last update net applet shows wrong status">eugeni at dodonov.net
+ </A><BR>
+ <I>Sun Jul 17 04:46:29 CEST 2011</I>
+ <P><UL>
+ <LI>Previous message: <A HREF="006796.html">[Mageia-dev] After last update net applet shows wrong status
+</A></li>
+ <LI>Next message: <A HREF="006776.html">[Mageia-dev] freezing (not totaly but making it unusable) mageia (and mandriva cooker) as guest using virtualbox
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#6806">[ date ]</a>
+ <a href="thread.html#6806">[ thread ]</a>
+ <a href="subject.html#6806">[ subject ]</a>
+ <a href="author.html#6806">[ author ]</a>
+ </LI>
+ </UL>
+ <HR>
+<!--beginarticle-->
+<PRE>On Sat, Jul 16, 2011 at 17:05, Michael Altizer &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">xiche at verizon.net</A>&gt; wrote:
+
+&gt;<i> On 07/16/2011 03:53 PM, D.Morgan wrote:
+</I>&gt;<i>
+</I>&gt;&gt;<i> On Sat, Jul 16, 2011 at 3:03 PM, Oliver Burger
+</I>&gt;&gt;<i> &lt;<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">oliver.bgr at googlemail.com</A>&gt; wrote:
+</I>&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> I just updated my system and am now running kernel-3.0...
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> Now I notice, the net-applet shows, I am offline while I am definitely
+</I>&gt;&gt;&gt;<i> not. Trying to connect using draknet-center I get an error message.
+</I>&gt;&gt;&gt;<i> can anyone confirm?
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> If yes, I'd post a bug report (against what?), Which outputs,
+</I>&gt;&gt;&gt;<i> information would be needed?
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> Oliver
+</I>&gt;&gt;&gt;<i>
+</I>&gt;&gt;&gt;<i> see :
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> <A HREF="https://bugs.mageia.org/show_**bug.cgi?id=1266&lt;https://bugs.mageia.org/show_bug.cgi?id=1266">https://bugs.mageia.org/show_**bug.cgi?id=1266&lt;https://bugs.mageia.org/show_bug.cgi?id=1266</A>&gt;
+</I>&gt;&gt;<i>
+</I>&gt;&gt;<i> Yep, the workaround in the bug report fixes the issue.
+</I>&gt;<i>
+</I>&gt;<i> --- tools.pm 2011-07-16 16:03:19.729969872 -0400
+</I>&gt;<i> +++ /usr/lib/libDrakX/network/tool**s.pm &lt;<A HREF="http://tools.pm">http://tools.pm</A>&gt; 2011-07-16
+</I>&gt;<i> 16:00:55.702129467 -0400
+</I>&gt;<i> @@ -263,7 +263,7 @@
+</I>&gt;<i>
+</I>&gt;<i> sub get_routes() {
+</I>&gt;<i> my %routes;
+</I>&gt;<i> - foreach (cat_(&quot;/proc/net/route&quot;)) {
+</I>&gt;<i> + foreach (sort {$b cmp $a} cat_(&quot;/proc/net/route&quot;)) {
+</I>&gt;<i> if (/^(\S+)\s+([0-9A-F]+)\s+([0-**9A-F]+)\s+[0-9A-F]+\s+\d+\s+\**d+\s+(\d+)\s+([0-9A-F]+)/)
+</I>&gt;<i> {
+</I>&gt;<i> if (defined $3) { $routes{$1}{gateway} = hex($3) ?
+</I>&gt;<i> host_hex_to_dotted($3) : $routes{$1}{network} }
+</I>&gt;<i> if (defined $2) { $routes{$1}{network} = host_hex_to_dotted($2)
+</I>&gt;<i> }
+</I>&gt;<i>
+</I>
+/proc/net/routes is a bit strange with 3.0+ kernels, I think that this patch
+is probably the best way to handle it at the moment.
+
+On a side note, Blino, is there a need to parse its content with a regexp?
+All values there are tab-separated, so perhaps this 'if' check could be much
+simplified with a split(), no?
+
+--
+Eugeni Dodonov
+<A HREF="http://eugeni.dodonov.net/">http://eugeni.dodonov.net/</A>
+-------------- next part --------------
+An HTML attachment was scrubbed...
+URL: &lt;/pipermail/mageia-dev/attachments/20110716/8d5e6e74/attachment.html&gt;
+</PRE>
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+<!--endarticle-->
+ <HR>
+ <P><UL>
+ <!--threads-->
+ <LI>Previous message: <A HREF="006796.html">[Mageia-dev] After last update net applet shows wrong status
+</A></li>
+ <LI>Next message: <A HREF="006776.html">[Mageia-dev] freezing (not totaly but making it unusable) mageia (and mandriva cooker) as guest using virtualbox
+</A></li>
+ <LI> <B>Messages sorted by:</B>
+ <a href="date.html#6806">[ date ]</a>
+ <a href="thread.html#6806">[ thread ]</a>
+ <a href="subject.html#6806">[ subject ]</a>
+ <a href="author.html#6806">[ 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>