1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
<!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=%3C4E21EF1D.4030505%40verizon.net%3E">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="006794.html">
<LINK REL="Next" HREF="006806.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[Mageia-dev] After last update net applet shows wrong status</H1>
<B>Michael Altizer</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=%3C4E21EF1D.4030505%40verizon.net%3E"
TITLE="[Mageia-dev] After last update net applet shows wrong status">xiche at verizon.net
</A><BR>
<I>Sat Jul 16 22:05:49 CEST 2011</I>
<P><UL>
<LI>Previous message: <A HREF="006794.html">[Mageia-dev] After last update net applet shows wrong status
</A></li>
<LI>Next message: <A HREF="006806.html">[Mageia-dev] After last update net applet shows wrong status
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6796">[ date ]</a>
<a href="thread.html#6796">[ thread ]</a>
<a href="subject.html#6796">[ subject ]</a>
<a href="author.html#6796">[ author ]</a>
</LI>
</UL>
<HR>
<!--beginarticle-->
<PRE>On 07/16/2011 03:53 PM, D.Morgan wrote:
><i> On Sat, Jul 16, 2011 at 3:03 PM, Oliver Burger
</I>><i> <<A HREF="https://www.mageia.org/mailman/listinfo/mageia-dev">oliver.bgr at googlemail.com</A>> wrote:
</I>>><i> I just updated my system and am now running kernel-3.0...
</I>>><i>
</I>>><i> Now I notice, the net-applet shows, I am offline while I am definitely
</I>>><i> not. Trying to connect using draknet-center I get an error message.
</I>>><i> can anyone confirm?
</I>>><i>
</I>>><i> If yes, I'd post a bug report (against what?), Which outputs,
</I>>><i> information would be needed?
</I>>><i>
</I>>><i> Oliver
</I>>><i>
</I>><i> see :
</I>><i>
</I>><i>
</I>><i> <A HREF="https://bugs.mageia.org/show_bug.cgi?id=1266">https://bugs.mageia.org/show_bug.cgi?id=1266</A>
</I>><i>
</I>Yep, the workaround in the bug report fixes the issue.
--- tools.pm 2011-07-16 16:03:19.729969872 -0400
+++ /usr/lib/libDrakX/network/tools.pm 2011-07-16 16:00:55.702129467 -0400
@@ -263,7 +263,7 @@
sub get_routes() {
my %routes;
- foreach (cat_("/proc/net/route")) {
+ foreach (sort {$b cmp $a} cat_("/proc/net/route")) {
if
(/^(\S+)\s+([0-9A-F]+)\s+([0-9A-F]+)\s+[0-9A-F]+\s+\d+\s+\d+\s+(\d+)\s+([0-9A-F]+)/)
{
if (defined $3) { $routes{$1}{gateway} = hex($3) ?
host_hex_to_dotted($3) : $routes{$1}{network} }
if (defined $2) { $routes{$1}{network} =
host_hex_to_dotted($2) }
</PRE>
<!--endarticle-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="006794.html">[Mageia-dev] After last update net applet shows wrong status
</A></li>
<LI>Next message: <A HREF="006806.html">[Mageia-dev] After last update net applet shows wrong status
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#6796">[ date ]</a>
<a href="thread.html#6796">[ thread ]</a>
<a href="subject.html#6796">[ subject ]</a>
<a href="author.html#6796">[ 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>
|