Bug#601902: gnome-netstatus-applet: On kfreebsd, does not understand the kernel network information.

Michael Dorrington michael.dorrington at gmail.com
Sat Oct 30 21:20:53 UTC 2010


Package: gnome-netstatus-applet
Version: 2.28.1-1
Severity: normal
User: debian-bsd at lists.debian.org
Usertags: kfreebsd
X-Debbugs-CC: debian-bsd at lists.debian.org

On kfreebsd, the gnome-netstatus-applet does not understand the way the
kernel presents network interface information. The applet icon only ever
has a stop icon on it and does not show network activity even if an
active device is selected.

Right clicking on the applet icon brings up the "Connections Properties"
window. In the "Name" drop down box are several strange entries along
with a real one on my system, 're0'. Selecting this real interface still
does not make the applet display the correct value in the "Connections
Properties" window for Status or Activity, although the Support tab
displays the correct information for Address, Broadcast and Subnet Mask.

Left clicking on the applet icon pops up a message saying:

   /__\ Please contact your system administrator to resolve the 
   \  / following problem:

        Could not find information on interface 're0' in /proc/net/dev

                                                             [ Close ]

AFAIK, the kfreebsd does not use '/proc/net/dev' for its device
statistics, its just a dummy file for Linux compatibility layer.

$ cat /proc/net/dev 
Inter-|                                                   Receive|  Transmit
  face|          bytes    packets errs drop fifo frame compressed|          bytes    packets errs drop fifo frame compressed
  eth0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0
   lo0:       0       0    0    0    0     0          0         0        0       0    0    0    0     0       0          0

whereas netstat and ifconfig say

# netstat -b -d -f link -I eth0
Name    Mtu Network       Address              Ipkts Ierrs Idrop     Ibytes    Opkts Oerrs     Obytes  Coll Drop
# netstat -b -d -f link -I re0
Name    Mtu Network       Address              Ipkts Ierrs Idrop     Ibytes    Opkts Oerrs     Obytes  Coll Drop
re0    1500 <Link#1>      52:54:00:12:34:56     1020     0     0     446181      927     0     113138   888    0 
# netstat -b -d -f link -I lo0
Name    Mtu Network       Address              Ipkts Ierrs Idrop     Ibytes    Opkts Oerrs     Obytes  Coll Drop
lo0   16384 <Link#2>                               6     0     0        504        6     0        504     0    0 
# ifconfig 
re0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
	options=9b<RXCSUM,TXCSUM,VLAN_MTU,VLAN_HWTAGGING,VLAN_HWCSUM>
	ether 52:54:0:12:34:56
	inet6 fe80::5054:ff:fe12:3456%re0 prefixlen 64 scopeid 0x1 
	inet 10.0.2.15 netmask 0xffffff00 broadcast 10.0.2.255
	nd6 options=3<PERFORMNUD,ACCEPT_RTADV>
	media: Ethernet autoselect (100baseTX <full-duplex>)
	status: active
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> metric 0 mtu 16384
	options=3<RXCSUM,TXCSUM>
	inet6 ::1 prefixlen 128 
	inet6 fe80::1%lo0 prefixlen 64 scopeid 0x2 
	inet 127.0.0.1 netmask 0xff000000 
	nd6 options=3<PERFORMNUD,ACCEPT_RTADV>

Regards,
Mike.

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: kfreebsd-i386 (i686)

Kernel: kFreeBSD 8.1-1-686
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages gnome-netstatus-applet depends on:
ii  gconf2                  2.28.1-5         GNOME configuration database syste
ii  gksu                    2.0.2-4          graphical frontend to su
ii  libart-2.0-2            2.3.21-1         Library of functions for 2D graphi
ii  libatk1.0-0             1.30.0-1         The ATK accessibility toolkit
ii  libbonobo2-0            2.24.3-1         Bonobo CORBA interfaces library
ii  libbonoboui2-0          2.24.3-1         The Bonobo UI library
ii  libc0.1                 2.11.2-6         Embedded GNU C Library: Shared lib
ii  libcairo2               1.8.10-6         The Cairo 2D vector graphics libra
ii  libfontconfig1          2.8.0-2.1        generic font configuration library
ii  libfreetype6            2.4.2-1          FreeType 2 font engine, shared lib
ii  libgconf2-4             2.28.1-5         GNOME configuration database syste
ii  libglib2.0-0            2.24.2-1         The GLib library of C routines
ii  libgnome2-0             2.30.0-1         The GNOME library - runtime files
ii  libgnomecanvas2-0       2.30.1-1         A powerful object-oriented display
ii  libgtk2.0-0             2.20.1-2         The GTK+ graphical user interface 
ii  liborbit2               1:2.14.18-0.1    libraries for ORBit2 - a CORBA ORB
ii  libpanel-applet2-0      2.30.2-2         library for GNOME Panel applets
ii  libpango1.0-0           1.28.3-1         Layout and rendering of internatio
ii  libpopt0                1.16-1           lib for parsing cmdline parameters
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

gnome-netstatus-applet recommends no packages.

gnome-netstatus-applet suggests no packages.

-- no debconf information


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 898 bytes
Desc: OpenPGP digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20101030/8e8fb763/attachment.pgp>


More information about the pkg-gnome-maintainers mailing list