bw_get will not return any data

Report issues relating to bandwith monitoring, bandwidth quotas or QoS in this forum.

Moderator: Moderators

Post Reply
agrohe21
Posts: 95
Joined: Wed Aug 23, 2017 7:51 pm

bw_get will not return any data

Post by agrohe21 »

https://imgur.com/a/g42nJnY

I see files in bwmon folder but bw_get will not return any data
Linksys WRT32x Wired Gateway, Orbi RBK20 Wifi
Linksys WRT32x Wired Gateway, Orbi RBK50 Wifi

agrohe21
Posts: 95
Joined: Wed Aug 23, 2017 7:51 pm

Re: bw_get will not return any data

Post by agrohe21 »

I have found that you have to remove the .bw extension to get bw_get to work properly
Linksys WRT32x Wired Gateway, Orbi RBK20 Wifi
Linksys WRT32x Wired Gateway, Orbi RBK50 Wifi

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: bw_get will not return any data

Post by Lantis »

bw_get operates on the data stored in RAM, not those data files. So yes, no bw extension required.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

agrohe21
Posts: 95
Joined: Wed Aug 23, 2017 7:51 pm

Re: bw_get will not return any data

Post by agrohe21 »

Yes, i see that. I also modified the /etc/init.d/bwmon_gargoyle to track 1440 minutes vs 15. That requires changing the parameters to bw_get vs the file names.

BTW, I recall somewhere seeing a command to dump those valid values, but I cannot find that.
Linksys WRT32x Wired Gateway, Orbi RBK20 Wifi
Linksys WRT32x Wired Gateway, Orbi RBK50 Wifi

Lantis
Moderator
Posts: 6753
Joined: Mon Jan 05, 2015 5:33 am
Location: Australia

Re: bw_get will not return any data

Post by Lantis »

if you type

Code: Select all

iptables -m bwmon --help
It should show you all options for the module. I don't think it shows you limits for each field, but if you have a specific query i might be able to help.
http://lantisproject.com/downloads/gargoyle_ispyisail.php for the latest releases
Please be respectful when posting. I do this in my free time on a volunteer basis.

agrohe21
Posts: 95
Joined: Wed Aug 23, 2017 7:51 pm

Re: bw_get will not return any data

Post by agrohe21 »

it seems iptables does not have a -m switch. but I found what I was looking for in then /tmp/bw_backup/do_bw_backup.sh file.

that seems to be some sort of memory dump of what are the latest valid combinations based on the configuration.
Linksys WRT32x Wired Gateway, Orbi RBK20 Wifi
Linksys WRT32x Wired Gateway, Orbi RBK50 Wifi

Post Reply