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
|
<div class="gmail_quote">On Sat, Jul 16, 2011 at 17:05, Michael Altizer <span dir="ltr"><<a href="mailto:xiche@verizon.net">xiche@verizon.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div></div><div class="h5">On 07/16/2011 03:53 PM, D.Morgan wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
On Sat, Jul 16, 2011 at 3:03 PM, Oliver Burger<br>
<<a href="mailto:oliver.bgr@googlemail.com" target="_blank">oliver.bgr@googlemail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I just updated my system and am now running kernel-3.0...<br>
<br>
Now I notice, the net-applet shows, I am offline while I am definitely<br>
not. Trying to connect using draknet-center I get an error message.<br>
can anyone confirm?<br>
<br>
If yes, I'd post a bug report (against what?), Which outputs,<br>
information would be needed?<br>
<br>
Oliver<br>
<br>
</blockquote>
see :<br>
<br>
<br>
<a href="https://bugs.mageia.org/show_bug.cgi?id=1266" target="_blank">https://bugs.mageia.org/show_<u></u>bug.cgi?id=1266</a><br>
<br>
</blockquote></div></div>
Yep, the workaround in the bug report fixes the issue.<br>
<br>
--- <a href="http://tools.pm" target="_blank">tools.pm</a> 2011-07-16 16:03:19.729969872 -0400<br>
+++ /usr/lib/libDrakX/network/<a href="http://tools.pm" target="_blank">tool<u></u>s.pm</a> 2011-07-16 16:00:55.702129467 -0400<br>
@@ -263,7 +263,7 @@<br>
<br>
sub get_routes() {<br>
my %routes;<br>
- foreach (cat_("/proc/net/route")) {<br>
+ foreach (sort {$b cmp $a} cat_("/proc/net/route")) {<br>
if (/^(\S+)\s+([0-9A-F]+)\s+([0-<u></u>9A-F]+)\s+[0-9A-F]+\s+\d+\s+\<u></u>d+\s+(\d+)\s+([0-9A-F]+)/) {<br>
if (defined $3) { $routes{$1}{gateway} = hex($3) ? host_hex_to_dotted($3) : $routes{$1}{network} }<br>
if (defined $2) { $routes{$1}{network} = host_hex_to_dotted($2) }<br>
</blockquote></div><br>/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.<br><br>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?<br clear="all">
<br>-- <br>Eugeni Dodonov<br><a href="http://eugeni.dodonov.net/" target="_blank">http://eugeni.dodonov.net/</a><br>
|