Forum Articles
  Welcome back Join CF
You are here You are here: Home | Forum | Anyone else using an IPv6 Broker?

You are currently viewing our boards as a guest which gives you limited access to view most of the discussions, articles and other free features. By joining our Virgin Media community you will have full access to all discussions, be able to view and post threads, communicate privately with other members (PM), respond to polls, upload your own images/photos, and access many other special features. Registration is fast, simple and absolutely free so please join our community today.


Welcome to Cable Forum
Go Back   Cable Forum > Virgin Media Services > Virgin Media Internet Service
Register FAQ Community Calendar

Oddity in router interface
Reply
 
Thread Tools
Old 16-10-2013, 16:31   #1
Milambar
Inactive
 
Join Date: Jan 2008
Posts: 954
Milambar has a reputation beyond reputeMilambar has a reputation beyond reputeMilambar has a reputation beyond reputeMilambar has a reputation beyond reputeMilambar has a reputation beyond reputeMilambar has a reputation beyond reputeMilambar has a reputation beyond reputeMilambar has a reputation beyond reputeMilambar has a reputation beyond reputeMilambar has a reputation beyond reputeMilambar has a reputation beyond reputeMilambar has a reputation beyond reputeMilambar has a reputation beyond repute
Oddity in router interface

I was examining the page source of VmRouterStatus_status.asp, in order to modify my script that monitors and logs my router status. I spotted a huge chunk of the page has been commented out.

Code:
<!--
<tr>
	<td class="title">Ethernet 1 Link Status</td>					
        <td>Up</td>
	<td>1000 Mbps/Full duplex</td>
</tr>
<tr>
	<td class="title">Ethernet 2 Link Status</td>
	<td>Up</td>
	<td>1000 Mbps/Full duplex</td>
</tr>
<tr>
	<td class="title">Ethernet 3 Link Status</td>
	<td>Up</td>
	<td>1000 Mbps/Full duplex</td>
</tr>
<tr>
        <td class="title">Ethernet 4 Link Status</td>
	<td>Up</td>
	<td>1000 Mbps/Full duplex</td>
</tr>
-->
I'm wondering if anyone had any ideas as to why VM decided to comment out this block, rather than allowing it to be displayed normally?
Milambar is offline   Reply With Quote
Advertisement
Old 16-10-2013, 16:36   #2
Kushan
cf.mega poster
 
Join Date: Dec 2010
Location: Warrington
Posts: 4,737
Kushan has a bronzed appealKushan has a bronzed appeal
Kushan has a bronzed appealKushan has a bronzed appealKushan has a bronzed appealKushan has a bronzed appealKushan has a bronzed appealKushan has a bronzed appealKushan has a bronzed appealKushan has a bronzed appealKushan has a bronzed appealKushan has a bronzed appealKushan has a bronzed appealKushan has a bronzed appealKushan has a bronzed appealKushan has a bronzed appealKushan has a bronzed appealKushan has a bronzed appealKushan has a bronzed appealKushan has a bronzed appealKushan has a bronzed appealKushan has a bronzed appeal
Re: Oddity in router interface

Probably done as part of their "Let's take the netgear firmware and dumb it down for the thickos" plan.
Kushan is offline   Reply With Quote
Old 16-10-2013, 16:42   #3
Sephiroth
Wisdom & truth
 
Sephiroth's Avatar
 
Join Date: Jul 2009
Location: RG41
Services: RG41: 1Gig VOLT Rutland: Gigaclear 400/400
Posts: 12,793
Sephiroth has a nice shiny starSephiroth has a nice shiny starSephiroth has a nice shiny star
Sephiroth has a nice shiny starSephiroth has a nice shiny starSephiroth has a nice shiny starSephiroth has a nice shiny starSephiroth has a nice shiny starSephiroth has a nice shiny starSephiroth has a nice shiny starSephiroth has a nice shiny starSephiroth has a nice shiny star
Re: Oddity in router interface

There was a long thread in one of the forums a few months ago that went into a lot of things that were commented out. But if you want it you gotta find it!
__________________
Seph.

My advice is at your risk.
Sephiroth is offline   Reply With Quote
Old 16-10-2013, 16:52   #4
kwikbreaks
Inactive
 
Join Date: May 2010
Services: Plusnet FTTC, FoxSat HDR for TV, Vonage VOIP.
Posts: 2,082
kwikbreaks has reached the bronze age
kwikbreaks has reached the bronze agekwikbreaks has reached the bronze agekwikbreaks has reached the bronze agekwikbreaks has reached the bronze agekwikbreaks has reached the bronze agekwikbreaks has reached the bronze agekwikbreaks has reached the bronze agekwikbreaks has reached the bronze age
Re: Oddity in router interface

I'd guess that the code that should have populated those fields either never got written or was so inefficient/bug ridden that they just commented that out too.

I'm 100% convinced that the old flood detection / pingtest "bug" was fixed simply by ignoring the setting and leaving the code inactive regardless.

There's more than one way to eliminate bugs and commenting out non-essential buggycode is the probably the cheapest. It's certainly the most reliable.
kwikbreaks is offline   Reply With Quote
Old 16-10-2013, 17:44   #5
qasdfdsaq
cf.mega poster
 
Join Date: Aug 2004
Posts: 11,207
qasdfdsaq is cast in bronzeqasdfdsaq is cast in bronzeqasdfdsaq is cast in bronzeqasdfdsaq is cast in bronze
qasdfdsaq is cast in bronzeqasdfdsaq is cast in bronzeqasdfdsaq is cast in bronzeqasdfdsaq is cast in bronzeqasdfdsaq is cast in bronzeqasdfdsaq is cast in bronzeqasdfdsaq is cast in bronzeqasdfdsaq is cast in bronzeqasdfdsaq is cast in bronzeqasdfdsaq is cast in bronzeqasdfdsaq is cast in bronzeqasdfdsaq is cast in bronzeqasdfdsaq is cast in bronzeqasdfdsaq is cast in bronze
Re: Oddity in router interface

I wouldn't say it's the most reliable, just randomly commenting out buggy code can break a lot of other things if inter-dependencies are not considered properly.
qasdfdsaq is offline   Reply With Quote
Old 17-10-2013, 11:17   #6
Sephiroth
Wisdom & truth
 
Sephiroth's Avatar
 
Join Date: Jul 2009
Location: RG41
Services: RG41: 1Gig VOLT Rutland: Gigaclear 400/400
Posts: 12,793
Sephiroth has a nice shiny starSephiroth has a nice shiny starSephiroth has a nice shiny star
Sephiroth has a nice shiny starSephiroth has a nice shiny starSephiroth has a nice shiny starSephiroth has a nice shiny starSephiroth has a nice shiny starSephiroth has a nice shiny starSephiroth has a nice shiny starSephiroth has a nice shiny starSephiroth has a nice shiny star
Re: Oddity in router interface

Quote:
Originally Posted by Kushan View Post
Probably done as part of their "Let's take the netgear firmware and dumb it down for the thickos" plan.
More likely what Kush says plus what can we take out that won't cause the world to howl but will reduce resource contention in the SH2.
__________________
Seph.

My advice is at your risk.
Sephiroth is offline   Reply With Quote
Old 17-10-2013, 20:57   #7
kwikbreaks
Inactive
 
Join Date: May 2010
Services: Plusnet FTTC, FoxSat HDR for TV, Vonage VOIP.
Posts: 2,082
kwikbreaks has reached the bronze age
kwikbreaks has reached the bronze agekwikbreaks has reached the bronze agekwikbreaks has reached the bronze agekwikbreaks has reached the bronze agekwikbreaks has reached the bronze agekwikbreaks has reached the bronze agekwikbreaks has reached the bronze agekwikbreaks has reached the bronze age
Re: Oddity in router interface

Looking at the commented out code the fact that the fields appear to be populated suggests that there is code running to populate them. That suggests it could be dumbing down or (imo) more likely that the code isn't working correctly so they don't want to present obviously wrong status information to users and have opted for the simplest way to avoid that. It would be interesting to know if it changes if a cable is disconnected or a 100Mbps device substituted. Does the current all ports connected at 1000Mbps reflect reality at that time?
kwikbreaks is offline   Reply With Quote
Old 18-10-2013, 12:00   #8
Milambar
Inactive
 
Join Date: Jan 2008
Posts: 954
Milambar has a reputation beyond reputeMilambar has a reputation beyond reputeMilambar has a reputation beyond reputeMilambar has a reputation beyond reputeMilambar has a reputation beyond reputeMilambar has a reputation beyond reputeMilambar has a reputation beyond reputeMilambar has a reputation beyond reputeMilambar has a reputation beyond reputeMilambar has a reputation beyond reputeMilambar has a reputation beyond reputeMilambar has a reputation beyond reputeMilambar has a reputation beyond repute
Re: Oddity in router interface

Thats a good thought. I realise that its showing all 4 as connected, yet the reality is that only 2 are connected to actual devices. The other two ports are unused as most of my devices connect via wifi.

I guess that suggests non-functional code behind them.
Milambar is offline   Reply With Quote
Old 18-10-2013, 15:33   #9
kwikbreaks
Inactive
 
Join Date: May 2010
Services: Plusnet FTTC, FoxSat HDR for TV, Vonage VOIP.
Posts: 2,082
kwikbreaks has reached the bronze age
kwikbreaks has reached the bronze agekwikbreaks has reached the bronze agekwikbreaks has reached the bronze agekwikbreaks has reached the bronze agekwikbreaks has reached the bronze agekwikbreaks has reached the bronze agekwikbreaks has reached the bronze agekwikbreaks has reached the bronze age
Re: Oddity in router interface

In that case I suspect there is no code behind it and the html was just a mock up of what could be done. In past life I used to work for a software company - we always reckoned that the best demos were by slide projector rather than showing live code...
kwikbreaks is offline   Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +1. The time now is 10:34.


Server: osmium.zmnt.uk
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
All Posts and Content are © Cable Forum