[Bug 42100] Re: Fix the wrong device registered in netstatus applet, and automatically set it to the first working network connection.
Adolfo Jayme Barrientos
fitoschido at gmail.com
Sun Oct 6 10:05:48 UTC 2013
** No longer affects: ubuntu-meta (Ubuntu)
** Changed in: gnome-netstatus (Ubuntu)
Status: Triaged => Won't Fix
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-meta in Ubuntu.
https://bugs.launchpad.net/bugs/42100
Title:
Fix the wrong device registered in netstatus applet, and automatically
set it to the first working network connection.
Status in GNOME Network Monitor Applet:
Won't Fix
Status in “gnome-netstatus” package in Ubuntu:
Won't Fix
Bug description:
On machines that have multiple NIC's, sometimes network applet
displays the wrong information.
This fixes the netstatus applet to use the correct interfaces.
Interfaces can be eth, or sit.
I include a script with this bug:
#!/bin/sh
# Find the first working network connection and
# configures it in netstatus applet.
#
# Joel Bryan T. Juliano <joelbryan.juliano at gmail.com>
link="`/sbin/ifconfig | sed -e '/./{H;$!d;}' -e 'x;/[a-zA-Z][a-zA-Z][a-zA-Z]/!d;/RUNNING/!d;' \
| sed '/^[a-zA-Z][a-zA-Z][a-zA-Z]/!d' | sed -n '/^.\{15\}/p' | \
sed -ne 's/\([a-zA-Z][a-zA-Z][a-zA-Z][[:digit:]]\).*/\1/p'`"
/usr/bin/gconftool-2 -t string -s
/apps/panel/applets/applet_0/prefs/interface "$link"
To manage notifications about this bug go to:
https://bugs.launchpad.net/gnome-netstatus/+bug/42100/+subscriptions
More information about the foundations-bugs
mailing list