IDNetters Forums

Technical News & Discussion => IDNet Help => Topic started by: Glenn on Apr 23, 2010, 19:35:16

Title: I think I'll trust the BB usage monitor
Post by: Glenn on Apr 23, 2010, 19:35:16
The received bytes from my router stats shows -440833261 over the past 23 days, but over the same period, the monitor says 9.93Gb .
Title: Re: I think I'll trust the BB usage monitor
Post by: Rik on Apr 23, 2010, 19:36:27
 ;D

Routers do have some odd problems with maths, don't they.
Title: Re: I think I'll trust the BB usage monitor
Post by: Glenn on Apr 23, 2010, 19:37:36
Maybe I could show support, and they could pay me.  :whistle:
Title: Re: I think I'll trust the BB usage monitor
Post by: Rik on Apr 23, 2010, 19:38:33
 ;D
Title: Re: I think I'll trust the BB usage monitor
Post by: esh on Apr 23, 2010, 22:23:14
Someone has clearly hacked your router and is dragging the bits and bytes kicking and screaming back onto the internet. It's internet terrorism, I say! We need more nuclear weapons and tighter civil liberties to stop this kind of atrocity!

I'm going back to my hole now.
Title: Re: I think I'll trust the BB usage monitor
Post by: Glenn on Apr 24, 2010, 06:44:16
 ;D
Title: Re: I think I'll trust the BB usage monitor
Post by: pdu on Apr 24, 2010, 18:00:31
Your router is 32bit and the software on it apparently doesn't use various bits of floating point magic to cope with 64 bit numbers.  As a result, the maths screws up and returns a 32bit signed integer (hence the minus sign at the start).  I'd hope there would be a firmware update from the router manufacturer to fix it :)  You should see it mess up at 4GB (4294967296 bytes, the max unsigned value a 32 bit int can store) so an ugly workaround would be to check the router every few days and reset the counter (might need a reboot/reconnect) when it's close to 4GB.