- Random disconnects
- Unknown uptimes nor connection speeds
- Unreliable connection speeds
- Unable to reset the device via the command line
- And a general feeling of being ripped off by the ISP.
So i hit it with the Perl hammer and produced 24k monolith which solves all that and more but will probably never work for anyone else :) If that sounds like a challenge, then have a look at adsl-status on github.
$ ./adsl-status.sh ADSL2 synced @~ 657KB/s (avg 662, max 747). Up 24238 mins (avg 8562, max 89341); 16 day 19 hr 57 min 21 sec. $ ./adsl-status.sh --help usage: adsl.sync[.dev].sh [--verbose|--silent|--help|--debug] | [--reset] $ ./adsl-status.sh --verbose verbose, adsl: clean_text_split = Annex Type ADSL2 -- Upstream 967600 -- Downstream 5374560 -- Elaspsed Time 16 day 19 hr 59 min 14 sec verbose, adsl: adsl_annex_type = ADSL2 verbose, adsl: connection_uptime_in_seconds = 1454354 verbose, adsl: down_bits_per_second / up_bits_per_second (bps) = 5374560/967600 verbose, adsl: down_kilobits_per_second / up_kilobits_per_second (kbs) = 5375/968 verbose, adsl: down_megabits_per_second / up_megabits_per_second (mbs) ~ 5.5/1 verbose, adsl: down_kilobytes_per_second / up_kilobytes_per_second (KB/s) ~ 657/119 yada yada..
No comments:
Post a Comment