You are not logged in.

#1 2014-01-19 09:00:04

camabeh
Member
From: Europe
Registered: 2013-09-12
Posts: 4

Conky doesn't show net speed

Hello, I have a problem with conky. Somehow it doesn't  show internet speed on  Ethernet (enp4s0) but it shows the speed of wifi adapter (wlp3s0).

ip link

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN mode DEFAULT group default 
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
2: enp4s0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP mode DEFAULT group default qlen 1000
    link/ether 50:46:5d:33:c1:18 brd ff:ff:ff:ff:ff:ff
3: wlp3s0: <BROADCAST,MULTICAST> mtu 1500 qdisc mq state DOWN mode DEFAULT group default qlen 1000
    link/ether 68:5d:43:db:9a:9d brd ff:ff:ff:ff:ff:ff

.conky snippets

net_avg_samples 2

Up: ${upspeed enp4s0}${alignr}${upspeedgraph enp4s0 8,60 black black}

Last edited by camabeh (2014-01-19 13:36:45)

Offline

#2 2014-01-19 10:43:01

manoet
Member
Registered: 2014-01-16
Posts: 26

Re: Conky doesn't show net speed

Does conky show something else or does it leave blank lines?
Also, try to run conky from a shell and see if there is any error message in the output

Offline

#3 2014-01-19 11:07:45

camabeh
Member
From: Europe
Registered: 2013-09-12
Posts: 4

Re: Conky doesn't show net speed

It draws correctly but speed is always 0

screenshot-01192014-120430pm.php

Conky starts fine..

Conky: desktop window (1200003) is subwindow of root window (9c)
Conky: window type - desktop
Conky: drawing to created window (0x1c00001)
Conky: drawing to double buffer

Offline

#4 2014-01-19 13:21:27

Daerandin
Member
From: Norway
Registered: 2013-05-07
Posts: 260
Website

Re: Conky doesn't show net speed

enp4s0 is most likely your ethernet, not your wireless. Try setting wlp3s0 in conky.

Edit: From the wiki page on wireless, running

iw dev

should display the name of your wireless interface.

Last edited by Daerandin (2014-01-19 13:26:01)

Offline

#5 2014-01-19 13:38:44

camabeh
Member
From: Europe
Registered: 2013-09-12
Posts: 4

Re: Conky doesn't show net speed

Only enp4s0 (eth) doesn't work, wlp3s0 (wifi) works in conky.

Offline

#6 2014-01-19 15:34:06

Daerandin
Member
From: Norway
Registered: 2013-05-07
Posts: 260
Website

Re: Conky doesn't show net speed

The common naming conventions is that enp* is for ethernet and wlp* is for your wireless interface. Using enp4s0 in conky would show your internet speed if you were connected to the internet through that interface, but obviously you are not.

Edit: I was not fully awake when I first read your post, re-read and I see I misread some. Is your ethernet connected, and what do you use for connecting it?

Last edited by Daerandin (2014-01-19 15:40:40)

Offline

#7 2014-02-04 02:39:29

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,356

Re: Conky doesn't show net speed

Similar behaviour here, and been having that behaviour for a long while (couple of months at least). Never really bothered figuring out what caused it, was working fine sometime last year. As you can probably figure out, this is so low down my priority list I haven't the slightest clue when it changed.


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#8 2014-02-04 06:14:02

VDP76
Member
Registered: 2013-04-21
Posts: 23

Re: Conky doesn't show net speed

camabeh, ngoonee, have you tried a different version of conky!?
there is one in the testing official repositories and a conky-git version in the AUR..

Offline

Board footer

Powered by FluxBB