[Bug 42100] Re: Fix the wrong device registered in netstatus applet, and automatically set it to the first working network connection.

Bug Watch Updater 42100 at bugs.launchpad.net
Tue Jul 12 14:04:37 UTC 2011


** Changed in: gnome-netstatus
       Status: New => 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:
  Triaged
Status in “ubuntu-meta” package in Ubuntu:
  Invalid

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