Conky network issue

3 réponses [Dernière contribution]
FLOSS
Hors ligne
A rejoint: 05/06/2018

The network section of my Conky config isn't working right. This is my current script:

${font Arial:bold:size=10}${color ff0000}NETWORK ${color Black}${hr 2}
$font${color Ivory}IP on wlan0 $alignr ${addr wlan0}

Down $alignr ${downspeed wlan0} kb/s
Up $alignr ${upspeed wlan0} kb/s

Downloaded: $alignr ${totaldown wlan0}
Uploaded: $alignr ${totalup wlan0}

All are currently reading 0B, and there isn't any IP info, either. Am I missing a dependency for Conky? If anyone can help, I'd greatly appreciate it. Thank you!

Fichier attachéTaille
Conky.png26.99 Ko
FLOSS
Hors ligne
A rejoint: 05/06/2018

I used ifconfig to determine that it wasn't wlan0, made the adjustment, and now I'm in business.

...still learning, but happy with the results. :D

chaosmonk

I am a member!

I am a translator!

Hors ligne
A rejoint: 07/07/2017

> I used ifconfig to determine that it wasn't wlan0, made the adjustment,
> and now I'm in business.

I'm not familiar with conky, but in my i3blocks wifi script I use

device=$(iw dev | sed -n 2p | awk '{print $2}')

to get the name of the device so that the script works with any WiFi
card.

FLOSS
Hors ligne
A rejoint: 05/06/2018

I'll have to try that. Thank you, CM.