nickbro Posted August 31, 2013 Posted August 31, 2013 (edited) While dealing with my sky ADSL router cutting out while the phone was used, I've made a little app that reads the info from the Sky Router Statistics page and displays it, refreshing every 3 seconds. [ATTACH=CONFIG]20258[/ATTACH] If you want a copy, find it attached. You will need to edit the SkyStats.exe.config file first, and set the IP address of your sky router (default is 192.168.0.1 I think, I changed mine to 10.0.0.138) Right clicking on the app will allow you run the app automatically at startup.SkyStats.zip Edited August 31, 2013 by nickbro
ZeroHour Posted August 31, 2013 Posted August 31, 2013 Crashing out here for me sadly (not ran debugger yet) but its a nice idea. Tip, it could default to the network connections gateway ip which is usually the sky router.
featured_spectre Posted August 31, 2013 Posted August 31, 2013 Crashes out here also, debugger isn't giving help here.
nickbro Posted August 31, 2013 Author Posted August 31, 2013 Ah, could just work for my version of the sky router. Can you go to http://192.168.0.1/sky_system.html, and if you could PM me the HTML on that page I will have a look and see if I can figure out where it's failing. It should work on all but the Netgear router, as they all produce the same HTML page in later models
nickbro Posted August 31, 2013 Author Posted August 31, 2013 (edited) Try this app, it will generate the html page to email to me if it finds an error, and it uses the default gateway for the ip addressSkyStats.zip Edited August 31, 2013 by nickbro
nickbro Posted September 2, 2013 Author Posted September 2, 2013 New version, which works with the Sky Hub, and should work with the other models of the Sky RouterSkyStats.zip 1
mac_shinobi Posted September 2, 2013 Posted September 2, 2013 New version, which works with the Sky Hub, and should work with the other models of the Sky Router Not related to you or this util / app you have made and will try this app soon but can't believe the sky hub does not have gigabit ports
nickbro Posted September 2, 2013 Author Posted September 2, 2013 Yer I was shocked too, but I have a 16 port gig switch sat in front of it, so it's not too bad for me 1
mac_shinobi Posted September 2, 2013 Posted September 2, 2013 Yer I was shocked too, but I have a 16 port gig switch sat in front of it, so it's not too bad for me What make & model 16 port gig switch and how much was it roughly ?
featured_spectre Posted September 2, 2013 Posted September 2, 2013 Nick...the app wants me to give you a blank HTML page...literally nothing in it, opened with windebug, notepad++ or anything else.
nickbro Posted September 2, 2013 Author Posted September 2, 2013 Hmm odd, looks like it can't find the sky status page, try going to http://192.168.0.1/sky_system.html
mac_shinobi Posted September 3, 2013 Posted September 3, 2013 Hmm odd, looks like it can't find the sky status page, try going to http://192.168.0.1/sky_system.html Not an authentication issue ? Just asking as that is the very first thing it prompted me for was the routers admin credentials username and password before it displayed those details
nickbro Posted September 3, 2013 Author Posted September 3, 2013 Have you changed the admin details? I've preprogrammed it with admin/sky
ZeroHour Posted September 3, 2013 Posted September 3, 2013 Have you changed the admin details? I've preprogrammed it with admin/sky I never leave routers at defaults lol.... detect a 401 http code and then run a prompt for auth details. Its basic auth so pretty easy to rope in.
nickbro Posted September 3, 2013 Author Posted September 3, 2013 Ah right, attached is one which you can set the username and password inSkyStats.zip 1
mac_shinobi Posted September 3, 2013 Posted September 3, 2013 Ah right, attached is one which you can set the username and password in Will try the latest version out in a few hours
hawc Posted September 3, 2013 Posted September 3, 2013 Could this be tinkered with to work with a Virgin Media Superhub 1 and 2
mac_shinobi Posted September 5, 2013 Posted September 5, 2013 Ah right, attached is one which you can set the username and password in This worked great for me, just had to edit the config file to update the password as I had and always do change default logon details and launched straight away Just curious though what did you use to create this ie dot net ie vb or c sharp etc or what exactly ? If I pm you my email address - any chance of getting the source just for this sky app as I would be very interested in how you did this
nickbro Posted September 5, 2013 Author Posted September 5, 2013 Source code for anyone interestedSkyStats.zip 1
mac_shinobi Posted September 6, 2013 Posted September 6, 2013 Does it matter what version of visual studio I download / install and use ?
Arthur Posted September 6, 2013 Posted September 6, 2013 It looks like you need Visual Studio 2012. 1
JRowley Posted December 4, 2013 Posted December 4, 2013 I would change: _Rows.Add(new Row { Name = "Attenuation", Down = reg.Matches(result)[0].Value, Up = reg.Matches(result)[1].Value }); _Rows.Add(new Row { Name = "Noise", Down = reg.Matches(result)[2].Value, Up = reg.Matches(result)[3].Value }); To: try { _Rows.Add(new Row { Name = "Attenuation", Down = reg.Matches(result)[0].Value, Up = reg.Matches(result)[1].Value }); _Rows.Add(new Row { Name = "Noise", Down = reg.Matches(result)[2].Value, Up = reg.Matches(result)[3].Value }); } catch { } Purely because my sky hub doesn't display attenuation or noise statistics on the sky_system.html page, rather than take it out completely this allows for those to view those stats if present (though its a rather hackish/ugly method). 1
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now