Would you like to react to this message? Create an account in a few clicks or log in to continue.

conky and internet

5 posters

Go down

conky and internet Empty conky and internet

Post by peter2005 Tue May 10, 2016 5:22 am

In new chalet OS 16.04 conky does not measure internet traffic, up and down speeds are always zero, any idea why?
peter2005
peter2005

Posts : 15
Join date : 2016-04-03

Back to top Go down

conky and internet Empty Re: conky and internet

Post by Sotelach Tue May 10, 2016 6:47 pm

Does your computer internet card use Broadcom drivers for connection?
Are you connecting to the internet through Wifi or Ethernet?
Sotelach
Sotelach

Posts : 41
Join date : 2016-01-09
Location : Lancashire

Back to top Go down

conky and internet Empty Re: conky and internet

Post by peter2005 Wed May 11, 2016 2:43 am

I have ChaletOS in Virtual Machine and the internet through Ethernet.
peter2005
peter2005

Posts : 15
Join date : 2016-04-03

Back to top Go down

conky and internet Empty Re: conky and internet

Post by James Tobin Sun May 15, 2016 7:59 am

go in virtualbox settings. under "network" tab give us a screenshot so we can know what type of virtual adapter you are using
James Tobin
James Tobin

Posts : 737
Join date : 2016-05-05
Location : United States

https://tobinbridge.zohosites.com/

Back to top Go down

conky and internet Empty Re: conky and internet

Post by Dai_trying Thu Jun 02, 2016 12:25 am

Down speed : ${downspeed eth0}
Total : ${totaldown eth0}
Up speed : ${upspeed eth0}
Total : ${totalup eth0}

This will give you wired network speeds and totals, you can change the network adapter to suit your own adapters address.
Dai_trying
Dai_trying

Posts : 77
Join date : 2016-05-20

Back to top Go down

conky and internet Empty Re: conky and internet

Post by bluphoenyx Thu Jun 02, 2016 7:11 am

FWIW, in my install on real hardware, the ethernet connection is enp2s0. There is no eth0 so the config file may not be looking for the right device name. Using the terminal enter the command:

ifconfig

This should tell what devices are being used.
bluphoenyx
bluphoenyx

Posts : 28
Join date : 2016-05-27

Back to top Go down

conky and internet Empty Re: conky and internet

Post by James Tobin Thu Jun 02, 2016 8:15 am

peter2005 wrote:I have ChaletOS in Virtual Machine and the internet through Ethernet.

what host os?
James Tobin
James Tobin

Posts : 737
Join date : 2016-05-05
Location : United States

https://tobinbridge.zohosites.com/

Back to top Go down

conky and internet Empty Re: conky and internet

Post by peter2005 Sun Jun 05, 2016 12:18 am

bluphoenyx wrote:FWIW, in my install on real hardware, the ethernet connection is enp2s0. There is no eth0 so the config file may not be looking for the right device name. Using the terminal enter the command:

ifconfig

This should tell what devices are being used.

yes, you're right my is 'ens33'. I wonder how are these names created.
peter2005
peter2005

Posts : 15
Join date : 2016-04-03

Back to top Go down

conky and internet Empty Re: conky and internet

Post by Dai_trying Sun Jun 05, 2016 2:21 am

I preferred it when they used the standard names of eth0 wlan0 etc... it made life so much easier, maybe they will adapt some sort of uniformity to device names as the software progresses. Smile
Dai_trying
Dai_trying

Posts : 77
Join date : 2016-05-20

Back to top Go down

conky and internet Empty Re: conky and internet

Post by bluphoenyx Sun Jun 05, 2016 9:46 am

Sadly, I can no longer say. It was possible at one time to set an alias for things like this in the module configuration file, but many things have changed over the years. I suspect, but haven't been able to verify, that the changes are due to either the use of systemd or advances in the kernel source codes. I doubt this is a ChaletOS modification.

This is another reason that I use gkrellm. It finds network devices automatically, including those created by virtualbox. At least, there was no problem when installing the monitor in ChaletOS. Sadly, most distributions favor conky instead. Me, I'm just resistant to change and stick to what I'm used to Smile. I put the gkrelm window on the right edge of the monitor where it is quickly visible.

Note that I have not looked at any of the ChaletOS conky configurations to see if they support changing network devices. If so, this can provide an alternative to setting a specific network device.
bluphoenyx
bluphoenyx

Posts : 28
Join date : 2016-05-27

Back to top Go down

conky and internet Empty Re: conky and internet

Post by James Tobin Sun Jun 05, 2016 9:53 am

they do. On mine I have my own configured conky and I have to put in the network ID (for me it is 'wlps40). So to change that is easy with a neat little trick. Open the terminal and run
Code:
ifconfig
and to the left of the columns you'll see the network names of each whether wireless or different ethernet etc. For me it would be wlps40 on my wireless. So then just do this neat little trick. Lets say the conky is on wlps30 and you want it wlps40 just for demo purposes. So you will run this in terminal:
Code:
mousepad .conkyrc
Then you will hit 'search' on the top then 'find and replace' replace 'wlps30' with 'wlps40' on all instances and save the document and exit. I recommend though that you back up the original config before starting. One issue I had when doing that is for some reason it killed the spaces before wlps40 make sure it doesnt do that. If it does then just finish it then replace 'wlps40' with ' wlps40' and that should work.

Of course replace 'wlps40' with your network name from ifconfig Very Happy
James Tobin
James Tobin

Posts : 737
Join date : 2016-05-05
Location : United States

https://tobinbridge.zohosites.com/

Back to top Go down

conky and internet Empty Re: conky and internet

Post by bluphoenyx Sun Jun 05, 2016 10:15 am

Sorry, I meant automatically choosing the network device like gkrellm does. Because the program requires an edited configuration file, this may not be possible. However, conky is a pretty smart and adaptable application with a lot of options.
bluphoenyx
bluphoenyx

Posts : 28
Join date : 2016-05-27

Back to top Go down

conky and internet Empty Re: conky and internet

Post by James Tobin Sun Jun 05, 2016 10:28 am

oh I see, when it comes to network devices getting into that I blank out Neutral

sorry 4 late reply was eating :>
James Tobin
James Tobin

Posts : 737
Join date : 2016-05-05
Location : United States

https://tobinbridge.zohosites.com/

Back to top Go down

conky and internet Empty Re: conky and internet

Post by Dai_trying Sun Jun 05, 2016 10:39 am

I haven't used gkrelm, I think i will have to take a look.
@James: Changing the network card in the config file is easier than that, simply
Code:
sed -i 's/eth0/wlps40/g' .conkyrc
obviously replace eth0 with what you have in the file and replace wlps40 with your interface id and replace .conkyrc with the name of your conky conkfig file. Smile
Dai_trying
Dai_trying

Posts : 77
Join date : 2016-05-20

Back to top Go down

conky and internet Empty Re: conky and internet

Post by James Tobin Sun Jun 05, 2016 10:49 am

u 'n ur conkies! where did you learn this conky stuff?
James Tobin
James Tobin

Posts : 737
Join date : 2016-05-05
Location : United States

https://tobinbridge.zohosites.com/

Back to top Go down

conky and internet Empty Re: conky and internet

Post by Dai_trying Sun Jun 05, 2016 11:07 am

Just by using them... a lot!! Smile And that last snippet is just a bash command, I do a lot of bash scripting, and python too.
Dai_trying
Dai_trying

Posts : 77
Join date : 2016-05-20

Back to top Go down

conky and internet Empty Re: conky and internet

Post by James Tobin Wed Jun 08, 2016 9:50 am

cool, that makes you very valuable on these forums Wink
James Tobin
James Tobin

Posts : 737
Join date : 2016-05-05
Location : United States

https://tobinbridge.zohosites.com/

Back to top Go down

conky and internet Empty Re: conky and internet

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum