Conky network issue

3 risposte [Ultimo contenuto]
FLOSS
Offline
Iscritto: 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!

AllegatoDimensione
Conky.png26.99 KB
FLOSS
Offline
Iscritto: 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!

Offline
Iscritto: 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
Offline
Iscritto: 05/06/2018

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