From: Jim on 6 Feb 2010 05:03 I've written a wee programme (10.5 or above) that simply tells you what gateway you're connected to. It can be found at: <http://www.ursaminorbeta.co.uk/gateway.zip> and the source code at: <http://www.ursaminorbeta.co.uk/gatewaySource.zip> and I hope Plusnet don't mind me, er, 'borrowing' their logo..:-) Consider it released under Creative Commons. Please let me know if it gives unusual or just plain incorrect results. It basically works by running a traceroute to 'www.plus.net', then finding the first item in the list that contains 'plus.net', then taking the 2nd element of the '.' separated string. Jim -- "Microsoft admitted its Vista operating system was a 'less good product' in what IT experts have described as the most ambitious understatement since the captain of the Titanic reported some slightly damp tablecloths." http://www.thedailymash.co.uk/
From: Andy Hewitt on 6 Feb 2010 06:05 Jim <jim(a)magrathea.plus.com> wrote: > I've written a wee programme (10.5 or above) that simply > tells you what gateway you're connected to. > > It can be found at: > > <http://www.ursaminorbeta.co.uk/gateway.zip> > > and the source code at: > > <http://www.ursaminorbeta.co.uk/gatewaySource.zip> > > and I hope Plusnet don't mind me, er, 'borrowing' their logo..:-) > > Consider it released under Creative Commons. Please let me know if it > gives unusual or just plain incorrect results. Yeah, mine just says the gateway is 'plusnet'. -- Andy Hewitt <http://web.me.com/andrewhewitt1/>
From: Jim on 6 Feb 2010 06:08 Andy Hewitt <thewildrover(a)me.com> wrote: > > Consider it released under Creative Commons. Please let me know if it > > gives unusual or just plain incorrect results. > > Yeah, mine just says the gateway is 'plusnet'. Bother. Looks like I made an incorrect assumption. Essentially it's just running a traceroute and trying to find the gateway entry by taking the first string after the first '.' Looks like I need a re-think. Could you post an example traceroute to www.plus.net? Jim -- "Microsoft admitted its Vista operating system was a 'less good product' in what IT experts have described as the most ambitious understatement since the captain of the Titanic reported some slightly damp tablecloths." http://www.thedailymash.co.uk/
From: Andy Hewitt on 6 Feb 2010 06:19 Jim <jim(a)magrathea.plus.com> wrote: > Andy Hewitt <thewildrover(a)me.com> wrote: > > > > Consider it released under Creative Commons. Please let me know if it > > > gives unusual or just plain incorrect results. > > > > Yeah, mine just says the gateway is 'plusnet'. > > Bother. Looks like I made an incorrect assumption. > > Essentially it's just running a traceroute and trying to find the > gateway entry by taking the first string after the first '.' > > Looks like I need a re-think. > > Could you post an example traceroute to www.plus.net? Yup Traceroute has started… traceroute: Warning: www.plus.net has multiple addresses; using 212.159.8.2 traceroute to portal.plus.net (212.159.8.2), 64 hops max, 52 byte packets 1 www.routerlogin.com (10.0.0.1) 1.350 ms 0.545 ms 0.571 ms 2 lo0.plusnet.thn-ag1.plus.net (195.166.128.101) 40.283 ms 39.356 ms 43.042 ms 3 vl703.thn-gw1.plus.net (84.92.4.241) 38.396 ms 37.761 ms 37.381 ms 4 te3-2.ptn-gw01.plus.net (212.159.1.53) 37.749 ms 38.704 ms 38.644 ms 5 gi3-0.pih-cr1.plus.net (212.159.1.177) 50.023 ms 48.741 ms 48.211 ms 6 vlan7.pih-gw3.plus.net (212.159.0.26) 50.116 ms 52.072 ms 50.413 ms 7 if25.pih-lb04.plus.net (212.159.0.18) 51.841 ms 49.712 ms 147.816 ms 8 if25.pih-lb04.plus.net (212.159.0.18) 108.329 ms 50.995 ms 49.699 ms -- Andy Hewitt <http://web.me.com/andrewhewitt1/>
From: Jim on 6 Feb 2010 06:37
Andy Hewitt <thewildrover(a)me.com> wrote: <snip> Fixed, I think. Could you re-download and give it a try? Jim -- "Microsoft admitted its Vista operating system was a 'less good product' in what IT experts have described as the most ambitious understatement since the captain of the Titanic reported some slightly damp tablecloths." http://www.thedailymash.co.uk/ |