Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I found the speed value of network monitor in System Monitor cannot be shown after upgrade to Ubuntu 14.04. Including indicator-multiload and dstat

Example 1:

I can see the download speed is 467KB/Sec in firefox Downloads, but nothing shows (zero) in Network History firefox downloading

Example 2:

In the following image, git downloading speed is 358KB/Sec, but the receive/send value in dstat is still 0. And nothing shows in indicator-multiload

git download

I can get that, the network speed monitor is disabled somehow. How can I make it right?


Some more information on my network interface

┌─ (marslo@MJ ~) ->
└─ $ ifconfig -a
eth0      Link encap:Ethernet  HWaddr 5c:f9:dd:68:84:56  
          inet addr:192.168.1.103  Bcast:192.168.1.255  Mask:255.255.255.0
          inet6 addr: fe80::5ef9:ddff:fe68:8456/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
          Interrupt:16 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:65536  Metric:1
          RX packets:41285 errors:0 dropped:0 overruns:0 frame:0
          TX packets:41285 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:456734429 (456.7 MB)  TX bytes:456734429 (456.7 MB)

wlan0     Link encap:Ethernet  HWaddr 00:c2:c6:0a:14:05  
          BROADCAST MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)

The information of PCI

┌─ (marslo@MarsloJiao ~) ->
└─ $ lspci | grep Ethernet
08:00.0 Ethernet controller: Qualcomm Atheros AR8161 Gigabit Ethernet (rev 10)

┌─ (marslo@MarsloJiao ~) ->
└─ $ lspci 
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
00:01.0 PCI bridge: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09)
00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04)
00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4)
00:1c.2 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 3 (rev c4)
00:1c.4 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 5 (rev c4)
00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 7 Series Chipset Family 6-port SATA Controller [AHCI mode] (rev 04)
00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
01:00.0 3D controller: NVIDIA Corporation GF117M [GeForce 610M/710M/820M / GT 620M/625M/630M/720M] (rev a1)
02:00.0 Network controller: Intel Corporation Centrino Wireless-N 2230 (rev c4)
03:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS5229 PCI Express Card Reader (rev 01)
08:00.0 Ethernet controller: Qualcomm Atheros AR8161 Gigabit Ethernet (rev 10)
share|improve this question

migrated from stackoverflow.com May 15 at 5:41

This question came from our site for professional and enthusiast programmers.

    
whats your network interface ? –  AgentCool May 15 at 5:51
    
Hi @raaz, how can I check my network interface? –  Marslo May 15 at 14:56
    
by using ifconfig -a –  AgentCool May 16 at 4:55
    
Hi @raaz, The network interface has been added in my question. Please check it. –  Marslo May 17 at 13:04
    
Interesting your traffic forwarding to lo which usually dont get monitored and traffic statistics are bit fishy. May I see your iptable rules ? –  AgentCool May 19 at 7:01

2 Answers 2

I'd say that the network monitor is functioning perfectly: your eth0 and wlan0 devices show 0 bytes sent and 0 bytes received.

Assuming that you actually have some kind of functioning network other that lo, you need to find it. I'd start looking here:

  1. /proc/net/dev: is this consistent with the ifconfig output?
  2. /etc/udev/rules.d/70-persistent-net-rules: will show the device names & MACs.
  3. dmesg: pipe the output into less or to a file, then search for network device initialization.
  4. var/log/syslog: Look for errors of any kind, especially "can't write" or "locked".

My conjecture is that the system can't record any stats because the root file system is read-only, because of a missing device file, or bad permissions.

share|improve this answer
up vote 0 down vote accepted

As @Aditya and @Bryan suggested, this is the bug in kernel, and it can be fixed by update kernel.

For example: My system is Ubuntu 14.04. The version of kernel is 3.13.0, and the system is 64bit (amd64).

They all can be got by commands as blew:

┌─ (marslo@MarsloJiao ~) ->
└─ $ uname -r
3.13.0-30-generic

OR

┌─ (marslo@MarsloJiao ~) ->
└─ $ dpkg -l | grep "linux\-[a-z]*\-"
ii  linux-headers-3.13.0-24                               3.13.0-24.47                                        all          Header files related to Linux kernel version 3.13.0                                                                          
ii  linux-headers-3.13.0-24-generic                       3.13.0-24.47                                        amd64        Linux kernel headers for version 3.13.0 on 64 bit x86 SMP                                                                    
ii  linux-headers-3.13.0-30                               3.13.0-30.55                                        all          Header files related to Linux kernel version 3.13.0
ii  linux-headers-3.13.0-30-generic                       3.13.0-30.55                                        amd64        Linux kernel headers for version 3.13.0 on 64 bit x86 SMP
ii  linux-headers-generic                                 3.13.0.30.36                                        amd64        Generic Linux kernel headers
ii  linux-image-3.13.0-24-generic                         3.13.0-24.47                                        amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-3.13.0-30-generic                         3.13.0-30.55                                        amd64        Linux kernel image for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-extra-3.13.0-24-generic                   3.13.0-24.47                                        amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-extra-3.13.0-30-generic                   3.13.0-30.55                                        amd64        Linux kernel extra modules for version 3.13.0 on 64 bit x86 SMP
ii  linux-image-generic                                   3.13.0.30.36                                        amd64        Generic Linux kernel image
ii  linux-libc-dev:amd64                                  3.13.0-30.55                                        amd64        Linux Kernel Headers for development
ii  linux-sound-base                                      1.0.25+dfsg-0ubuntu4                                all          base package for ALSA and OSS sound systems

So, the following steps can fix the problem:

  1. there are three deb packages should be downloaded from /~kernel-ppa/mainline/v3.14.1-trusty first:

  2. Install all these debs

    • $ sudo dpkg -i *.deb
  3. Reboot your system

    • $ sudo reboot

Bingo! The network speed back to the system monitor!! systemmonitor

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.