Shery Posted April 8, 2016 Share Posted April 8, 2016 (edited) How can I get a list of nodes connected to a router by java or any other method Edited April 8, 2016 by Shery Link to comment Share on other sites More sharing options...
fiveworlds Posted April 9, 2016 Share Posted April 9, 2016 Well I use php curl. I didn't get it right away but I worked out by looking through the router source code that device info is given by a specific page. In my case it was http://192.168.1.254/cgi-bin/pages/connectionStatus.cgi. It does depend on your router though. Here is my code <?php //Upload a blank cookie.txt to the same directory as this file with a CHMOD/Permission to 777 function login($url,$data){ $fp = fopen("cookie.txt", "w"); fclose($fp); $login = curl_init(); curl_setopt($login, CURLOPT_COOKIEJAR, "cookie.txt"); curl_setopt($login, CURLOPT_COOKIEFILE, "cookie.txt"); curl_setopt($login, CURLOPT_TIMEOUT, 40000); curl_setopt($login, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($login, CURLOPT_URL, $url); curl_setopt($login, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']); curl_setopt($login, CURLOPT_FOLLOWLOCATION, TRUE); curl_setopt($login, CURLOPT_POST, TRUE); curl_setopt($login, CURLOPT_POSTFIELDS, $data); ob_start(); return curl_exec ($login); ob_end_clean(); curl_close ($login); unset($login); } function grab_page($site){ $ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']); curl_setopt($ch, CURLOPT_TIMEOUT, 40); curl_setopt($ch, CURLOPT_COOKIEFILE, "cookie.txt"); curl_setopt($ch, CURLOPT_URL, $site); ob_start(); return curl_exec ($ch); ob_end_clean(); curl_close ($ch); } function post_data($site,$data){ $datapost = curl_init(); $headers = array("Expect:"); curl_setopt($datapost, CURLOPT_URL, $site); curl_setopt($datapost, CURLOPT_TIMEOUT, 40000); curl_setopt($datapost, CURLOPT_HEADER, TRUE); curl_setopt($datapost, CURLOPT_HTTPHEADER, $headers); curl_setopt($datapost, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']); curl_setopt($datapost, CURLOPT_POST, TRUE); curl_setopt($datapost, CURLOPT_POSTFIELDS, $data); curl_setopt($datapost, CURLOPT_COOKIEFILE, "cookie.txt"); ob_start(); return curl_exec ($datapost); ob_end_clean(); curl_close ($datapost); unset($datapost); } login("http://192.168.1.254/cgi-bin/index.asp?YWRtaW46ZWZhNTM4OTZmOTVl","Loginuser=fiveworlds&LoginPassword=&Prestige_Login=Login"); $string=grab_page("http://192.168.1.254/cgi-bin/pages/connectionStatus.cgi"); echo $string; ?> here is the page's code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <title>Portal Page</title> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <link href="../../css/brick.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="../../js/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="../../js/jquery.clickmenu.pack.js"></script> <script src="../../js/jquery.tooltip.min.js" type="text/javascript"></script> <script src="../../pages/VD/VDcomponent.js" type="text/javascript"></script> <script type="text/javascript"> $.ajaxSetup({ 'beforeSend': function(xhr) { xhr.setRequestHeader("If-Modified-Since", "0"); xhr.setRequestHeader("Cache-Control", "no-cache"); xhr.setRequestHeader("Pragma", "no-cache"); xhr.setRequestHeader("Expires", "0"); } }); window.parent.$.closeLoadingMask(); var selectednode; $(document).ready(function() { }); var timeValue; var currentList; var refreshTargetPage; function autoRefresh() { var intervalSelect; var viewmodevalue; document.getElementById("refreshTargetPage").value = refreshTargetPage; document.getElementById("refreshId").value = document.getElementById("Sys_RefreshList").value; intervalSelect=document.getElementById("Sys_RefreshList").value; viewmodevalue=document.connectionStatus.viewmode.value; document.getElementById("refreshViewMode").value = currentList; if(document.getElementById('arrownaviBtnR').style.display == "block" && document.getElementById('arrownaviBtnL').style.display == "none" && document.getElementById('arrownaviBtnRVirtual').style.display == "none" && document.getElementById('arrownaviBtnR2').style.display == "none") { document.connectionStatus.refmapview.value = 1; with (document.connectionStatus) { var data = { refmapview: refmapview.value } } var url = "/cgi-bin/pages/connectionStatus_p1.asp"; var callback = function(responseData, textStatus) { }; window.parent.$.post(url, data, callback, "html"); window.location.reload(); } if(document.getElementById('arrownaviBtnR').style.display == "none" && document.getElementById('arrownaviBtnL').style.display == "block" && document.getElementById('arrownaviBtnRVirtual').style.display == "block" && document.getElementById('arrownaviBtnR2').style.display == "none") { if((document.getElementById("Sys_RefreshList").value > 0)) { $('#downMsg').hide(); } document.connectionStatus.refmapview.value = 0; with (document.connectionStatus) { var data = { refmapview: refmapview.value } } var url = "/cgi-bin/pages/connectionStatus_p1.asp"; var callback = function(responseData, textStatus) { }; window.parent.$.post(url, data, callback, "html"); window.location.reload(); } if(document.getElementById('arrownaviBtnR').style.display == "none" && document.getElementById('arrownaviBtnL').style.display == "none" && document.getElementById('arrownaviBtnRVirtual').style.display == "none" && document.getElementById('arrownaviBtnR2').style.display == "block") { if((document.getElementById("Sys_RefreshList").value > 0)) { $('#downMsg').hide(); } document.connectionStatus.refmapview.value = 0; $('#VDView').load("/cgi-bin/pages/vdview.cgi"); } if(document.connectionStatus.pagepart.value != 1) { document.getElementById("Sys_RefreshList").value=intervalSelect; resetInterval(2); } } function backrefresh(){ $.ajax({ type: "POST", url: "connectionStatus_p1.asp", data: "intervalSelect="+document.getElementById("Sys_RefreshList").value+"&viewmode="+document.connectionStatus.viewmode.value, success: function(html){ window.location.reload(); } }); } function resetInterval(reload){ var selecting; clearTimeout(timeValue); with (document.connectionStatus) { var data = { intervalSelect: Sys_RefreshList.value, viewmode: viewmode.value } } var url = "/cgi-bin/pages/connectionStatus_p1.asp"; var callback = function(responseData, textStatus) { }; window.parent.$.post(url, data, callback, "html"); selecting = $('#Sys_RefreshList').val(); if (selecting == 1) timeValue = setTimeout('autoRefresh()', 10000); else if (selecting == 2) timeValue = setTimeout('autoRefresh()', 20000); else if (selecting == 3) timeValue = setTimeout('autoRefresh()', 30000); else if (selecting == 4) timeValue = setTimeout('autoRefresh()', 60000); else{ if(document.connectionStatus.pagepart.value == 1) { if(document.connectionStatus.connectsingle.value == 1) { $('#downMsg').hide(); } else { $('#downMsg').fadeIn(0); } } } } function doModifyRule(obj,action_flag,del_index,add_index,IP,MAC,dup_ip,dup_mac) { if(action_flag == "add") { if(add_index==-1) { alert(Reserve_Error[language_Index]); obj.checked=false; return; } if(dup_ip == "1") { alert(Duplicate_IP_Address_Error[language_Index]); obj.checked=false; return; } if(dup_mac == "1") { alert(Duplicate_MAC_Error[language_Index]); obj.checked=false; return; } document.connectionStatus.returnAddIndex.value = parseInt(add_index,10); document.connectionStatus.IPAddress.value = IP; document.connectionStatus.MacAddress.value = MAC; $.ajax({ type: "POST", url: "connectionStatus_p1.asp", data: "returnAddIndex="+document.connectionStatus.returnAddIndex.value+"&IPAddress="+document.connectionStatus.IPAddress.value+"&MacAddress="+document.connectionStatus.MacAddress.value, success: function(html){ window.location.reload(); } }); } else { document.connectionStatus.returnCurrentIndex.value = parseInt(del_index,10); $.ajax({ type: "POST", url: "connectionStatus_p1.asp", data: "returnCurrentIndex="+document.connectionStatus.returnCurrentIndex.value, success: function(html){ window.location.reload(); } }); } } $(function() { function showConnection(flag) { if (flag) { $('.disconnect').hide(); $('.connect').show(); $('#downMsg').fadeOut(0); } else { $('.disconnect').show(); $('.connect').hide(); $('#downMsg').fadeIn(0); } } $('#internet_ConnectionOff').each(function(i, d){ showConnection(false); document.connectionStatus.connectsingle.value = 0; }); $('#internet_ConnectionOn').each(function(i, d){ showConnection(true); document.connectionStatus.connectsingle.value = 1; }); }) $(function() { function showLine(flag) { if (flag) { $('.rightline').hide(); $('.righttopline').hide(); $('.rightbottomline').hide(); } else { $('.rightline').show(); $('.righttopline').show(); $('.rightbottomline').show(); } } $('#i_PCOff').each(function(i, d){ showLine(false); }); $('#i_PCOn').each(function(i, d){ showLine(false); }); }) $(function() { function adjustDownMsg(){ $('#downMsg').css({ top: $(window).height() - $('#downMsg').height() - 20 + $(window).scrollTop() }); } $(window).scroll(adjustDownMsg).resize(adjustDownMsg); function connection(flag, init){ var time = 200; if (init) time = 0; adjustDownMsg(); if (flag) { $('.disconnect').hide(); $('.connect').show(); $('#downMsg').animate({ top: $(window).height() - $('#downMsg').height()-10 + $(window).scrollTop(), opacity: 'hide' }, time, adjustDownMsg); } else { $('.disconnect').show(); $('.connect').hide(); $('#downMsg').fadeIn(time); } } currentList = document.getElementById("refreshViewMode").value; refreshTargetPage = document.getElementById("refreshTargetPage").value; if((document.getElementById("Sys_RefreshList").value > 0)) { $('#downMsg').hide(); } resetInterval(1); }) var menu = '<ul style="position: relative;">'+ '<li class="menutop">'+ '</li>'+ '<li>'+ '<a href="#" class="info">Info</a>'+ '</li>'+ '<li class="menubottom">'+ '</li>'+ '</ul>'; $(function(){ var zCounter = 10000; var subMenuHeight = 105; $('.wirelessFrame .list').each(function(i, d){ zCounter -= 1; $(d).children('li').append(menu); $(d).parent().css('z-index', zCounter); $(d).clickMenu(); $('.wirelessFrame .list').show(); var index = i + 1; var device = $('.wirelessFrame li:nth-child(' + index + ')').find('.i_device img').attr('src'); var signal = $('.wirelessFrame li:nth-child(' + index + ')').find('.i_wifi').attr('class'); var parentalcontrol = $('.wirelessFrame li:nth-child(' + index + ')').find('.i_parental').attr('class'); var PQAAttr = 'wireless device: ' + device + ' signal: ' + signal + ' parental control: ' + parentalcontrol; $(d).find('li a').attr('PQAAttr', PQAAttr); }); $('.wiredFrame .list').each(function(i, d){ zCounter -= 1; $(d).children('li').append(menu); $(d).parent().css('z-index', zCounter); $(d).clickMenu(); $('.wiredFrame .list').show(); var index = i + 1; var device = $('.wiredFrame li:nth-child(' + index + ')').find('.i_device img').attr('src'); var parentalcontrol = $('.wiredFrame li:nth-child(' + index + ')').find('.i_parental').attr('class'); var PQAAttr = 'wired device: ' + device + ' parental control: ' + parentalcontrol; $(d).find('li a').attr('PQAAttr', PQAAttr); }); $('.info').click(function(){ var db1 = window.parent.$.zyUiDialog({ width: 450, height: 220, title: 'Info', buttons: { 'OK': function(){ db1.dialog('close')} } }); var link = '/cgi-bin/pages/info.cgi?index=' + selectednode; if(jQuery.browser.safari && parseInt(jQuery.browser.version)<=525 ) link='../'+link; db1.load(link); db1.dialog('open'); }); if(document.connectionStatus.refmapview.value == 1){ var mapPosition = $('#mapView').position(); $('#statusView').css('left', $('#mapView').width() + mapPosition.left).hide(0); $('#VDView').css('left', $('#mapView').width() + mapPosition.left).hide(0); if(document.connectionStatus.viewmode.value == 1) { document.getElementById('listView').style.display = "none"; document.getElementById('iconView').style.display = "block"; } else { document.getElementById('listView').style.display = "none"; document.getElementById('iconView').style.display = "block"; } }else{ var mapPosition = $('#statusView').position(); $('#mapView').css('left', $('#statusView').width() + mapPosition.left).hide(0); $('#VDView').css('left', $('#statusView').width() + mapPosition.left).hide(0); } function changeView(showObj, hideObj, orient, callback){ var offset = $(showObj).width() * orient; showObj.css('left', -1*offset); showObj.animate({ left: '+=' + offset ,opacity: 'show' }, 200, callback) hideObj.animate({ left: '+=' + offset ,opacity: 'hide' }, 200) } var currentView = 'statusView'; if(document.connectionStatus.refmapview.value == 1) currentView = 'mapView'; var modifyNetworkmapframeH = function(){ var currentViewObj = $('#'+currentView); switch(currentView) { case 'mapView': $('.networkmapframe, ').animate({height:currentViewObj.height()+subMenuHeight}, 0 ); break; case 'statusView': $('.networkmapframe').animate({height:currentViewObj.height()-20}, 0 ); break; case 'VDView': $('.networkmapframe').animate({height:currentViewObj.height()-40}, 0 ); break; } } var updateViewStatus = function(view){ var btnL = $('#naviBtnL'); var btnR = $('#naviBtnR'); var btnRVirtual = $('#naviBtnRVirtual'); var btnR2 = $('#naviBtnR2'); currentView = view; switch(currentView) { case 'mapView': $('.listBtn').trigger('click'); document.getElementById('arrownaviBtnR').style.display = "block"; document.getElementById('arrownaviBtnL').style.display = "none"; document.getElementById('arrownaviBtnRVirtual').style.display = "none"; document.getElementById('arrownaviBtnR2').style.display = "none"; $('#naviRText').html(MLG_SystemInfo_ConnectionStatus[language_Index]); modifyNetworkmapframeH(); $('.viewModeHide, #viewModeicon').show(); break; case 'statusView': document.getElementById('arrownaviBtnR').style.display = "none"; document.getElementById('arrownaviBtnR2').style.display = "none"; // setTimeout(function(){ document.getElementById('arrownaviBtnL').style.display = "block"; document.getElementById('arrownaviBtnRVirtual').style.display = "block"; // },4000); $('#naviLText').html(MLG_LANDevice_ConnectionStatus[language_Index]); modifyNetworkmapframeH(); $('.viewModeHide, #viewModeicon').hide(); break; case 'VDView': document.getElementById('arrownaviBtnR').style.display = "none"; document.getElementById('arrownaviBtnL').style.display = "none"; document.getElementById('arrownaviBtnRVirtual').style.display = "none"; document.getElementById('arrownaviBtnR2').style.display = "block"; $('#naviRTextVirtual').html(MLG_VirtualDevice_ConnectionStatus[language_Index]); modifyNetworkmapframeH(); $('.viewModeHide, #viewModeicon').hide(); break; default: break; } } updateViewStatus(currentView); $('#naviBtnR').click( function(){ var orient = -1; var thisBtn = $(this); if (currentView == 'mapView') { document.connectionStatus.pagepart.value = 2; changeView($('#statusView'), $('#mapView'), orient, function(){updateViewStatus('statusView');}); } }); $('#naviBtnR2').click( function(){ var orient = -1; var thisBtn = $(this); if (currentView == 'VDView') { document.connectionStatus.pagepart.value = 2; window.location.reload(); } }); $('#naviBtnRVirtual').click( function(){ var orient = -1; var thisBtn = $(this); if (currentView == 'statusView') { document.connectionStatus.pagepart.value = 3; $('#VDView').load("/cgi-bin/pages/vdview.cgi"); changeView($('#VDView'), $('#statusView'), orient, function(){updateViewStatus('VDView');}); } }); $('#naviBtnL').click( function(){ var orient = 1; var thisBtn = $(this); if (currentView == 'statusView') { document.connectionStatus.pagepart.value = 1; changeView($('#mapView'), $('#statusView'), orient, function(){updateViewStatus('mapView');}); } }); $('.iconBtn').click(function(){ document.connectionStatus.viewmode.value = 0; $('.iconBtn').addClass('highlight'); $('.listBtn').removeClass('highlight'); $('.iconView').fadeIn(0); $('.listView').fadeOut(0); $('.networkmapframe').height($('#mapView').height() + subMenuHeight); if(document.connectionStatus.Sys_RefreshList.value != 0) { with (document.connectionStatus) { var data = { viewmode: viewmode.value } } var url = "/cgi-bin/pages/connectionStatus_p1.asp"; var callback = function(responseData, textStatus) { }; window.parent.$.post(url, data, callback, "html"); } }); $('.listBtn').click(function(){ document.connectionStatus.viewmode.value = 1; $('.listBtn').addClass('highlight'); $('.iconBtn').removeClass('highlight'); $('.listView').fadeIn(0); $('.iconView').fadeOut(0); $('.networkmapframe').height($('#mapView').height() + subMenuHeight); if(document.connectionStatus.Sys_RefreshList.value != 0) { with (document.connectionStatus) { var data = { viewmode: viewmode.value } } var url = "/cgi-bin/pages/connectionStatus_p1.asp"; var callback = function(responseData, textStatus) { }; window.parent.$.post(url, data, callback, "html"); } }); $('.listmode').hover( function(){ $(this).children('a').addClass('hover').css('cursor', 'pointer'); }, function(){ $(this).children('a').removeClass('hover'); }) $('.iconmode').hover( function(){ $(this).children('a').addClass('hover').css('cursor', 'pointer'); }, function(){ $(this).children('a').removeClass('hover'); }) $(window).resize(function(){ modifyNetworkmapframeH(); }); }); function MM_goToURL() { //v3.0 var i, args=MM_goToURL.arguments; document.MM_returnValue = false; for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'"); } $(function(){ $('#checkPrbmBtn').click(function(){ $('#downMsg').fadeOut(0); }); }); function nodeClicked(value){ selectednode = value; } $(function(){ if(document.connectionStatus.viewmode.value == 1) $('.listBtn').trigger('click'); if(document.connectionStatus.refmapview.value != 1) document.getElementById('statusView').style.display = "block"; if(window.parent.document.mainpage.connectionstatus_flag.value == 1){ window.parent.document.mainpage.connectionstatus_flag.value = 0; } }) function doEdit(entry) { var db1 = window.parent.$.zyUiDialog({ width: 400, height: 300, title: 'DHCP Option Table', buttons: { 'Back': function(){ db1.dialog('close') } } }); var link = '/cgi-bin/pages/DhcpOptionList.html?reloadFlag=1&editNum=' + entry; db1.load(link); db1.dialog('open'); } function reconnect(DipConnFlag) { var data = { DipConnFlag:DipConnFlag, redirect:0 }; if ( DipConnFlag == 1 ) { data.redirect = 1; } var url = "/cgi-bin/PPPoEManulDial.asp"; var callback; callback = function(responseData, textStatus) { autoRefresh(); //window.parent.$.closeLoadingMask(); }; window.parent.$.openLoadingMask(1); $.post(url, data, callback, "html"); } </script> <title>Portal Page</title> </head> <body> <form name="connectionStatus" method="post" action="/../../../../index.html"> <div class="content_frame2" > <div style="position:absolute; height:500px; width:100px; right:0px; z-index:500; top:15px;"> <div class="arrowbtnR" id="arrownaviBtnL" style="display:none;"><a href="#" id="naviBtnL"></a> <span class="arrowbnText" id='naviLText'> LAN Device</span></div> <div class="arrowbtnL" id="arrownaviBtnR" style="display:none;"><a href="#" id="naviBtnR"></a> <span class="arrowbnText" id='naviRText'> System Info</span> </div> <div class="arrowbtnL" id="arrownaviBtnRVirtual" style="display:none;"><a href="#" id="naviBtnRVirtual"></a> <span class="arrowbnText" id='naviRTextVirtual'> Virtual Device</span> </div> <div class="arrowbtnR" id="arrownaviBtnR2" style="display:none;"><a href="#" id="naviBtnR2"></a> <span class="arrowbnText" id='naviRText2'> System Info</span> </div> <div class="modesetting" id="modesetting_map"><ul><li style="margin-left:10px;"><div class="viewmode" style="display:none;" id="viewModeicon"> <ul> <li class="iconmode"><a class="iconBtn highlight" title="Icon View"></a></li> <li class="listmode"><a id="listBtn" class="listBtn" title="List View"></a></li> </ul> </div></li> <li class="blod white_12 viewModeHide" style="margin-left:14px; display:none;"><span id='ViewingMode_ConnectionStatus'>Viewing mode</span>: </li> <li style="margin-left:10px;"><select name="Sys_RefreshList" id="Sys_RefreshList" size="1" onChange="resetInterval()" style="color:#242529; border:#242529 1px solid;"> <option value="0">None </option> <option value="1">10 seconds </option> <option value="2" selected="selected">20 seconds </option> <option value="3">30 seconds </option> <option value="4">60 seconds </option> </select></li><li class="blod white_12"><span id='Home_Refresh'>Refresh interval:</span> </li></ul> <input type="hidden" name="refreshId" id="refreshId"> <input type="hidden" name="refreshTargetPage" id="refreshTargetPage" value="##refreshTargetPage##"> <input type="hidden" name="refreshViewMode" id="refreshViewMode" value="##refreshViewMode##"> <input type="hidden" name="viewmode" value="1"> <input type="hidden" name="pagepart" value="2"> <input type="hidden" name="connectsingle" value=""> <input type="hidden" name="returnCurrentIndex" value=""> <input type="hidden" name="returnAddIndex" value=""> <input type="hidden" name="IPAddress" value=""> <input type="hidden" name="MacAddress" value=""> <input type="hidden" name="refmapview" value="0"> </div> </div> <script type="text/javascript"> window.parent.$.openLoadingMask(1); </script> <script language="JavaScript"> if(window.parent.document.mainpage.connectionstatus_flag.value == 1) { document.connectionStatus.Sys_RefreshList.value=2; document.connectionStatus.viewmode.value=1; } else { if ('0'!="no node information" && '0'!="no attribute information") document.connectionStatus.Sys_RefreshList.value='0'; if ('0'!="no node information" && '0'!="no attribute information") document.connectionStatus.viewmode.value='0'; if ('1'!="no node information" && '0'!="no attribute information") document.connectionStatus.refmapview.value='1'; } </script> <div height="100%" style="overflow:visable;"> <div class="i_left_arrow"></div> <script type="text/javascript"> window.parent.$.openLoadingMask(1); </script> <!--VD view start--> <div id="VDView" class='naviView' style="position: relative;"> </div> <!-- end VD view --> <!-- ********************************************** statusview start ********************************************** --> <div id="statusView" class='naviView' style="display:none;position: relative;"> <div class="title" style="color:#000;"><span id="SystemInfo_ConnectionStatus"></span></div> <table width="96%" border="0" align="left" cellpadding="0" cellspacing="0"> <tr> <td width="50%"> </td> <td> </td> </tr> <tr> <td valign="top"> </td> <td valign="top"> </td> </tr> <tr> <td valign="top"><div class="w_text3"> <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_frame"> <tr > <td colspan="3" class="top_font"> System </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='ModelName_ConnectionStatus'></span>: </td> <td colspan="2" class="table_font w_blue"> eir D1000 Modem </td> </tr> <tr > <td class="table_font_eircom"><span id='MLG_DSL_Serial_Number'></span>:</td> <td colspan="2" class="table_font w_blue"> S150Y04107410 </td> </tr> <tr > <td class="table_font_eircom"><span id='MLG_DSL_MACAddress'></span>: </td> <td colspan="2" class="table_font w_blue"> A0:E4:CB:4B:49:04 </td> </tr> <tr > <td class="table_font_eircom"><span id='MLG_FirmwareVersion'></span>: </td> <td colspan="2" class="table_font w_blue"> 2.00(AADU.5)_20150909 </td> </tr> <tr > <td class="table_font_eircom"><span id='MLG_DSL_Version'></span>: </td> <td colspan="2" class="table_font w_blue"> <div>FwVer:3.20.32.0_A_TC3087</div><div>HwVer:T14.F7_11.2</div> </td> </tr> <tr > <td class="table_font_eircom"><span id='MLG_DSL_System_Uptime'></span>: </td> <td colspan="2" class="table_font w_blue"> 4 days: 14 hours: 48 minutes </td> </tr> <tr > <td class="table_font_eircom"><span id='MLG_Current_Time_Date'></span>: </td> <td colspan="2" class="table_font w_blue"> Mon Jan 5 14:48:07 UTC 2015 </td> </tr> <tr > <td class="table_font_eircom">System Mode: </td> <td colspan="2" class="table_font w_blue"> <font color="#736C66">Routing</font> / <font color="#D5D2CA">Bridging</font> </td> </tr> <tr > <td class="table_font_eircom"><span id='MLG_Home_CPU'></span>:</td> <td width="38%" height="18"class="table_font"><table width="100%" height="18" border="1" cellpadding="0" cellspacing="0" bordercolor="#736C66"> <tr><td bgcolor="#D5D2CA"><table width="03%" height="18" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="18" bgcolor="#736C66"> </td> </tr> </table></td> </tr> </table></td> <td class="table_font w_blue">03% </td> </tr> <tr> <td class="table_font_eircom"><span id='MLG_Home_MemUsage'></span>:</td> <td class="table_font"><table width="100%" height="18" border="1" cellpadding="0" cellspacing="0" bordercolor="#736C66"> <tr> <td bgcolor="#D5D2CA"><table width="49%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="18" bgcolor="#736C66"> </td> </tr> </table></td> </tr> </table></td> <td class="table_font w_blue">49% </td> </tr> </table> <br /> <br /> <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_frame"> <tr > <td colspan="2" class="top_font"><span id='MLG_Home_Connection'></span> <tr > <td class="table_font_eircom"><span id='MLG_Home_Broadband'></span>:</td> <td class="table_font w_blue">Connected </td> </tr> <tr > <td class="table_font_eircom"><span id='MLG_Home_DSL_Mode'></span> </td> <td class="table_font w_blue"> ITU G.992.5(ADSL2PLUS) </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_Speed'></span>: </td> <td class="table_font w_blue"> 17914 kbps/765 kbps </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_Attenuation'></span>(Down/Up):</td> <td class="table_font w_blue"> 22.6 dB/ 10.5 dB </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_DSL_Noise_Margin'></span>: </td> <td class="table_font w_blue"> 0.1 dB/ 17.7 dB </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_WAN_IP_Address'></span>:</td> <td class="table_font w_blue"> 86.41.146.51 </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_IP_Subnet_Mask'></span>: </td> <td class="table_font w_blue"> 255.255.255.255 </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_Default_Gateway'></span>: </td> <td class="table_font w_blue"> 159.134.155.7 </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_IPv6_Address'></span>: </td> <td class="table_font w_blue"> :: </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_IPv6_Prefix'></span>: </td> <td class="table_font w_blue"> 0 </td> </tr> <tr > <td width="40%" class="table_font_eircom">IPv6 Default Gateway:</td> <td class="table_font w_blue"> :: </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_Primary_DNS'></span>: </td> <td class="table_font w_blue"> 159.134.0.1 </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_Secandary_DNS'></span>: </td> <td class="table_font w_blue"> 159.134.0.2 </td> </tr> <tr > <td width="40%" class="table_font_eircom">3G Status: </td> <td class="table_font w_blue"> NoDevice </td> </tr> <tr > <td width="40%" class="table_font_eircom">3G Rate: </td> <td class="table_font w_blue"> N/A </td> </tr> <tr > <td width="40%" class="table_font_eircom">3G IP Address: </td> <td class="table_font w_blue"> 0.0.0.0 </td> </tr> <tr > <td width="40%" class="table_font_eircom">3G IP Subnet Mask: </td> <td class="table_font w_blue"> N/A </td> </tr> <tr > <td width="40%" class="table_font_eircom">3G Gateway: </td> <td class="table_font w_blue"> N/A </td> </tr> <tr > <td width="40%" class="table_font_eircom">3G Primary DNS: </td> <td class="table_font w_blue"> 0.0.0.0 </td> </tr> <tr > <td width="40%" class="table_font_eircom">3G Secondary DNS: </td> <td class="table_font w_blue"> 0.0.0.0 </td> </tr> </table> </div></td> <td valign=top><table width=96% border=0 align=center cellpadding=0 cellspacing=0 class=table_frame> <tr> <td colspan=2 class=top_font>Local Network</td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_LAN1'></span>: </td> <td class="table_font w_blue"> N/A </td> </tr> <tr > <td class="table_font_eircom"><span id='MLG_Home_LAN2'></span>: </td> <td class="table_font w_blue"> N/A </td> </tr> <tr > <td class="table_font_eircom"><span id='MLG_Home_LAN3'></span>: </td><td class="table_font w_blue"> N/A </td> </tr> <tr > <td class="table_font_eircom"><span id='MLG_Home_LAN4'></span>: </td><td class="table_font w_blue"> N/A </td> </tr> <tr > <td class="table_font_eircom"><span id='MLG_Home_Modem_Address'></span>: </td><td class="table_font w_blue"> 192.168.1.254 </td> </tr> <tr > <td class="table_font_eircom"><span id='MLG_Home_Modem_Subnet_Mask'></span>: </td><td class="table_font w_blue"> 255.255.255.0 </td> </tr> <tr > <td class="table_font_eircom">IPv6 Address:</td> <td class="table_font w_blue"> fe80::a2e4:cbff:fe4b:4904 </td> </tr> <tr > <td class="table_font_eircom">IPv6 Prefix:</td> <td class="table_font w_blue"> 64 </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_DHCP'></span>: </td> <td class="table_font w_blue"> Server </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_DHCP_Range'></span>: </td> <td class="table_font w_blue"> 192.168.1.1 - 200 </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_Firewall'></span>: </td> <td class="table_font w_blue"> Medium </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_Wireless_Status'></span>: </td> <td class="table_font w_blue"> 300M </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_SSID'></span>: </td> <td class="table_font w_blue"> eircom03268240 </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_Channel'></span>: </td> <td class="table_font w_blue"> 1 </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_Security_Mode'></span>: </td> <td class="table_font w_blue"> WPA2-PSK + WPA-PSK </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_Key'></span>: </td> <td class="table_font w_blue"> efa53896f95e </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_WPS'></span>: </td> <td class="table_font w_blue"> Disabled </td> </tr> </table> </td> </tr> </table> </div> <!-- ********************************************** end status view ********************************************** --> <!-- ********************************************** map view start ********************************************** --> <!--map view start--> <div id="mapView" class='mapView' style="display:true; position: relative;"> <div class="title" style="color:#000000;"><span id='LANDevice_ConnectionStatus'></span></div> <ul> <li> <div id="iconView" class="iconView" style="display:true;"> <div class="iconfrmae"> <table width="96%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="190" valign="top"> <div style="position:absolute; width:190px; "> <div class="disconnect" style="display:none;"> <div class="i_internet"><img src="../../images/network/i_internet.gif" width="55" height="55" /><span style="display:block; text-align:center;">Internet</span> <div class="i_modom_dline"> <div class="i_router"><img src="../../images/network/i_router.gif" /><span style="display:block; text-align:center;">eir D1000 Modem</span></div> </div> </div> <div class="i_router_line"> </div> </div> </div> <div class="connect" style="display:none;"> <div class="i_internet"><img src="../../images/network/i_internet.gif" width="55" height="55" /><span style="display:block; text-align:center;">Internet</span> <div class="i_modom_line"> <div class="i_router"><img src="../../images/network/i_router.gif" /><span style="display:block; text-align:center;">eir D1000 Modem</span></div> </div> </div> <div class="i_router_line"> </div> </div></td> <td width="7" valign="top"> <div class="rightline" style="display:none;"></div> <div class="righttopline" style="display:none;"></div> <div class="rightbottomline" style="display:none;"></div> </td> <td valign="top" ><div class="mapviewright"> <div class="deviceFrame"> <div class="deviceicon"> <ul class="wirelessFrame"> <div id="i_PCOff")></div> <li> <ul id="list1" class="list" style="display:none;"> <div class=i_wifi></div> <span class="i_device"><img src="../../images/network/i_pc.gif" width="55" height="52" /></span> <li id="iconLink" title="android-8551bcb13007a642&7C:B1:5D:18:2C:16" onclick="nodeClicked('android-8551bcb13007a642&IP=192.168.1.1&MAC=7C:B1:5D:18:2C:16')"> android- <img src="../../images/network/i_downarrow.gif" width="6" height="4" /></li> </ul></li><li> <ul id="list1" class="list" style="display:none;"> <div class=i_wifi></div> <span class="i_device"><img src="../../images/network/i_pc.gif" width="55" height="52" /></span> <li id="iconLink" title="David-PC&F8:D1:11:AD:67:93" onclick="nodeClicked('David-PC&IP=192.168.1.6&MAC=F8:D1:11:AD:67:93')"> David-PC <img src="../../images/network/i_downarrow.gif" width="6" height="4" /></li> </ul></li><li> <ul id="list1" class="list" style="display:none;"> <div class=i_wifi></div> <span class="i_device"><img src="../../images/network/i_pc.gif" width="55" height="52" /></span> <li id="iconLink" title="android-6d27e04ebdfcceb7&C0:65:99:64:69:A9" onclick="nodeClicked('android-6d27e04ebdfcceb7&IP=192.168.1.2&MAC=C0:65:99:64:69:A9')"> android- <img src="../../images/network/i_downarrow.gif" width="6" height="4" /></li> </ul></li><li> <ul id="list1" class="list" style="display:none;"> <div class=i_wifi></div> <span class="i_device"><img src="../../images/network/i_pc.gif" width="55" height="52" /></span> <li id="iconLink" title="android-44c6aba7be7a41fd&B4:EF:39:BA:44:8C" onclick="nodeClicked('android-44c6aba7be7a41fd&IP=192.168.1.3&MAC=B4:EF:39:BA:44:8C')"> android- <img src="../../images/network/i_downarrow.gif" width="6" height="4" /></li> </ul></li></ul> <ul class="wiredFrame"> <div id="i_PCOn"></div> </ul> </div></div></div></td></tr></table> </div> </div> </li> </ul> <div id="listView" class="listView" style="display:none;"> <ul> <li> <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="50%"> </td> <td> </td> </tr> <tr> <td colspan="2" valign="top"><div class="w_table"> <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_frame"> <tr> <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><table width="100%" cellpadding="0" cellspacing="0" > <tr align="center"> <td width="5%" class="top_font">#</td> <td class="top_font"><span id="MLG_Device_Name">Device Name</span></td> <td class="top_font"><span id="MLG_IP_Address_Con">IP Address</span></td> <td class="top_font"><span id="MLG_MACAddress_ConnectionStatus">MAC Address</span></td> <td class="top_font"><span id="LAN_Reserve">Reserve</span></td> </tr> <tr align="center"> <td class="table_font"><img src="../../images/network/i_s_pc_on.gif" width="16" height="16" /></td> <td class="table_font"> android-8551bcb13007a642 </td> <td class="table_font"> </ul></li> 192.168.1.1</td> <td class="table_font"> 7C:B1:5D:18:2C:16 </td> <td class="table_font"><input type="checkbox" onClick="doModifyRule(this,'add',-1,1,'192.168.1.1','7C:B1:5D:18:2C:16','0','0')"> <font style="cursor:hand;cursor:pointer;"> </font> </td> </tr><tr align="center"> <td class="table_font"><img src="../../images/network/i_s_pc_on.gif" width="16" height="16" /></td> <td class="table_font"> David-PC </td> <td class="table_font"> </ul></li> 192.168.1.6</td> <td class="table_font"> F8:D1:11:AD:67:93 </td> <td class="table_font"><input type="checkbox" checked onClick="doModifyRule(this,'delete',0,1,'192.168.1.6','F8:D1:11:AD:67:93','1','1')"> <font style="cursor:hand;cursor:pointer;"> </font> </td> </tr><tr align="center"> <td class="table_font"><img src="../../images/network/i_s_pc_on.gif" width="16" height="16" /></td> <td class="table_font"> android-6d27e04ebdfcceb7 </td> <td class="table_font"> </ul></li> 192.168.1.2</td> <td class="table_font"> C0:65:99:64:69:A9 </td> <td class="table_font"><input type="checkbox" onClick="doModifyRule(this,'add',-1,1,'192.168.1.2','C0:65:99:64:69:A9','0','0')"> <font style="cursor:hand;cursor:pointer;"> </font> </td> </tr><tr align="center"> <td class="table_font"><img src="../../images/network/i_s_pc_on.gif" width="16" height="16" /></td> <td class="table_font"> android-44c6aba7be7a41fd </td> <td class="table_font"> </ul></li> 192.168.1.3</td> <td class="table_font"> B4:EF:39:BA:44:8C </td> <td class="table_font"><input type="checkbox" onClick="doModifyRule(this,'add',-1,1,'192.168.1.3','B4:EF:39:BA:44:8C','0','0')"> <font style="cursor:hand;cursor:pointer;"> </font> </td> </tr><tr align="center"> <td class="table_font"><img src="../../images/network/i_s_pc.gif" width="16" height="16" /></td> <td class="table_font"> OPC </td> <td class="table_font"> </ul></li> 192.168.1.4</td> <td class="table_font"> 64:5A:04:7A:E1:D3 </td> <td class="table_font"><input type="checkbox" onClick="doModifyRule(this,'add',-1,1,'192.168.1.4','64:5A:04:7A:E1:D3','0','0')"> <font style="cursor:hand;cursor:pointer;"> </font> </td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> </table> </div></td> </tr> </table> </li> </ul> </div> </div> <div id="internet_ConnectionOn"></div> <!--Error Message Start--> <div class="downmessage" id="downMsg" style="display:none;" ><ul><li class="downleft"></li> <li class="downcenter" style="position:relative;"> <div style=" position:absolute;width:100%; z-index:800; top:15px; left:10px;"><span class="blod" id="MLG_CheckProblem_ConnectionStatus">Check the problems</span><br /><br /> eir D1000 Modem <span id="MLG_Disconnected_ConnectionStatus">is disconnected from the internet,please check WAN settings or contact your ISP.</span> <br /> </div></li></ul><div class="button_position" style=" position:absolute; top:65px; right:-5px;"><input name="New Message" type="button" id="checkPrbmBtn" value="OK" /> </div></div> <!--Error Message End--> <script type="text/javascript"> window.parent.$.closeLoadingMask(1); </script> <!-- ********************************************** end map view ********************************************** --> </div> </div> </form> </body> <script type="text/javascript" src="../../js/Multi_Language.js"></script> <script language="JavaScript"> if ('English'=="English") language_Index=0; else if ('English'=="Turkey") language_Index=1; else if ('English'=="German") language_Index=2; else if ('English'=="French") language_Index=3; else if ('English'=="Italian") language_Index=4; else language_Index=0; document.getElementById("Home_Refresh").innerHTML = MLG_Home_Refresh[language_Index]; document.getElementById("ViewingMode_ConnectionStatus").innerHTML = MLG_ViewingMode_ConnectionStatus[language_Index]; document.getElementById("LANDevice_ConnectionStatus").innerHTML = MLG_LANDevice_ConnectionStatus[language_Index]; document.getElementById("naviRTextVirtual").innerHTML = MLG_VirtualDevice_ConnectionStatus[language_Index]; document.getElementById("naviLText").innerHTML = MLG_LANDevice_ConnectionStatus[language_Index]; document.getElementById("naviRText").innerHTML = MLG_SystemInfo_ConnectionStatus[language_Index]; document.getElementById("naviRText2").innerHTML = MLG_SystemInfo_ConnectionStatus[language_Index]; document.getElementById("SystemInfo_ConnectionStatus").innerHTML = MLG_SystemInfo_ConnectionStatus[language_Index]; document.getElementById("MLG_DSL_Version").innerHTML = MLG_DSL_Version[language_Index]; document.getElementById("ModelName_ConnectionStatus").innerHTML = MLG_ModelName_ConnectionStatus[language_Index]; document.getElementById("MLG_DSL_Serial_Number").innerHTML = ModelName_Serial_Number[language_Index]; document.getElementById("MLG_DSL_MACAddress").innerHTML = MLG_MACAddressColon_ConnectionStatus[language_Index]; document.getElementById("MLG_FirmwareVersion").innerHTML = MLG_FirmwareVersion_ConnectionStatus[language_Index]; document.getElementById("MLG_DSL_Version").innerHTML = MLG_DSL_Version[language_Index]; document.getElementById("MLG_DSL_System_Uptime").innerHTML = MLG_DSL_System_Uptime[language_Index]; document.getElementById("MLG_Current_Time_Date").innerHTML = MLG_Current_Time_Date[language_Index]; document.getElementById("MLG_Home_CPU").innerHTML = MLG_Home_CPU[language_Index]; document.getElementById("MLG_Home_MemUsage").innerHTML = MLG_Home_MemUsage[language_Index]; document.getElementById("MLG_Home_Connection").innerHTML = MLG_Home_Connection[language_Index]; document.getElementById("MLG_Home_Broadband").innerHTML = MLG_Home_Broadband[language_Index]; document.getElementById("MLG_Home_DSL_Mode").innerHTML = Home_DSL_Mode[language_Index]; document.getElementById("MLG_Home_Speed").innerHTML = MLG_Home_Speed[language_Index]; document.getElementById("MLG_Home_Attenuation").innerHTML = MLG_Home_Attenuation[language_Index]; document.getElementById("MLG_Home_DSL_Noise_Margin").innerHTML = MLG_Home_DSL_Noise_Margin[language_Index]; document.getElementById("MLG_Home_WAN_IP_Address").innerHTML = MLG_Home_WAN_IP_Address[language_Index]; document.getElementById("MLG_Home_IP_Subnet_Mask").innerHTML = MLG_Home_IP_Subnet_Mask[language_Index]; document.getElementById("MLG_Home_Default_Gateway").innerHTML = MLG_Home_Default_Gateway[language_Index]; document.getElementById("MLG_Home_IPv6_Address").innerHTML = MLG_Home_IPv6_Address[language_Index]; document.getElementById("MLG_Home_IPv6_Prefix").innerHTML = MLG_Home_IPv6_Prefix[language_Index]; document.getElementById("MLG_Home_Primary_DNS").innerHTML = MLG_Home_Primary[language_Index]; document.getElementById("MLG_Home_Secandary_DNS").innerHTML = MLG_Home_Secandary_DNS[language_Index]; document.getElementById("MLG_Home_LAN1").innerHTML = MLG_Home_LAN1[language_Index]; document.getElementById("MLG_Home_LAN2").innerHTML = MLG_Home_LAN2[language_Index]; document.getElementById("MLG_Home_LAN3").innerHTML = MLG_Home_LAN3[language_Index]; document.getElementById("MLG_Home_LAN4").innerHTML = MLG_Home_LAN4[language_Index]; document.getElementById("MLG_Home_Modem_Address").innerHTML = MLG_Home_Modem_Address[language_Index]; document.getElementById("MLG_Home_Modem_Subnet_Mask").innerHTML = MLG_Home_Modem_Subnet_Mask[language_Index]; document.getElementById("MLG_Home_DHCP").innerHTML = MLG_Home_DHCP[language_Index]; document.getElementById("MLG_Home_DHCP_Range").innerHTML = MLG_Home_DHCP_Range[language_Index]; document.getElementById("MLG_Home_Firewall").innerHTML = MLG_Home_Firewall[language_Index]; document.getElementById("MLG_Home_Wireless_Status").innerHTML = MLG_Home_Wireless_Status[language_Index]; document.getElementById("MLG_Home_SSID").innerHTML = MLG_Home_SSID[language_Index]; document.getElementById("MLG_Home_Channel").innerHTML = MLG_Home_Channel[language_Index]; document.getElementById("MLG_Home_Security_Mode").innerHTML = MLG_Home_Security_Mode[language_Index]; document.getElementById("MLG_Home_Key").innerHTML = MLG_Home_Key[language_Index]; document.getElementById("MLG_Home_WPS").innerHTML = MLG_Home_WPS[language_Index]; document.getElementById("MLG_Current_Time_Date").innerHTML = MLG_Current_Time_Date[language_Index]; document.getElementById("MLG_Home_CPU").innerHTML = MLG_Home_CPU[language_Index]; document.getElementById("MLG_Home_MemUsage").innerHTML = MLG_Home_MemUsage[language_Index]; </script> <script type="text/javascript"> window.parent.$.closeLoadingMask(1); </script> </html> Though not very visible in all that there is a table containing the necessary data. <table width="96%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="190" valign="top"> <div style="position:absolute; width:190px; "> <div class="disconnect" style="display:none;"> <div class="i_internet"><img src="../../images/network/i_internet.gif" width="55" height="55" /><span style="display:block; text-align:center;">Internet</span> <div class="i_modom_dline"> <div class="i_router"><img src="../../images/network/i_router.gif" /><span style="display:block; text-align:center;">eir D1000 Modem</span></div> </div> </div> <div class="i_router_line"> </div> </div> </div> <div class="connect" style="display:none;"> <div class="i_internet"><img src="../../images/network/i_internet.gif" width="55" height="55" /><span style="display:block; text-align:center;">Internet</span> <div class="i_modom_line"> <div class="i_router"><img src="../../images/network/i_router.gif" /><span style="display:block; text-align:center;">eir D1000 Modem</span></div> </div> </div> <div class="i_router_line"> </div> </div></td> <td width="7" valign="top"> <div class="rightline" style="display:none;"></div> <div class="righttopline" style="display:none;"></div> <div class="rightbottomline" style="display:none;"></div> </td> <td valign="top" ><div class="mapviewright"> <div class="deviceFrame"> <div class="deviceicon"> <ul class="wirelessFrame"> <div id="i_PCOff")></div> <li> <ul id="list1" class="list" style="display:none;"> <div class=i_wifi></div> <span class="i_device"><img src="../../images/network/i_pc.gif" width="55" height="52" /></span> <li id="iconLink" title="android-8551bcb13007a642&7C:B1:5D:18:2C:16" onclick="nodeClicked('android-8551bcb13007a642&IP=192.168.1.1&MAC=7C:B1:5D:18:2C:16')"> android- <img src="../../images/network/i_downarrow.gif" width="6" height="4" /></li> </ul></li><li> <ul id="list1" class="list" style="display:none;"> <div class=i_wifi></div> <span class="i_device"><img src="../../images/network/i_pc.gif" width="55" height="52" /></span> <li id="iconLink" title="David-PC&F8:D1:11:AD:67:93" onclick="nodeClicked('David-PC&IP=192.168.1.6&MAC=F8:D1:11:AD:67:93')"> David-PC <img src="../../images/network/i_downarrow.gif" width="6" height="4" /></li> </ul></li><li> <ul id="list1" class="list" style="display:none;"> <div class=i_wifi></div> <span class="i_device"><img src="../../images/network/i_pc.gif" width="55" height="52" /></span> <li id="iconLink" title="android-6d27e04ebdfcceb7&C0:65:99:64:69:A9" onclick="nodeClicked('android-6d27e04ebdfcceb7&IP=192.168.1.2&MAC=C0:65:99:64:69:A9')"> android- <img src="../../images/network/i_downarrow.gif" width="6" height="4" /></li> </ul></li><li> <ul id="list1" class="list" style="display:none;"> <div class=i_wifi></div> <span class="i_device"><img src="../../images/network/i_pc.gif" width="55" height="52" /></span> <li id="iconLink" title="android-44c6aba7be7a41fd&B4:EF:39:BA:44:8C" onclick="nodeClicked('android-44c6aba7be7a41fd&IP=192.168.1.3&MAC=B4:EF:39:BA:44:8C')"> android- <img src="../../images/network/i_downarrow.gif" width="6" height="4" /></li> </ul></li></ul> <ul class="wiredFrame"> <div id="i_PCOn"></div> </ul> </div></div></div></td></tr></table> </div> </div> </li> </ul> <div id="listView" class="listView" style="display:none;"> <ul> <li> <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="50%"> </td> <td> </td> </tr> <tr> <td colspan="2" valign="top"><div class="w_table"> <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_frame"> <tr> <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><table width="100%" cellpadding="0" cellspacing="0" > <tr align="center"> <td width="5%" class="top_font">#</td> <td class="top_font"><span id="MLG_Device_Name">Device Name</span></td> <td class="top_font"><span id="MLG_IP_Address_Con">IP Address</span></td> <td class="top_font"><span id="MLG_MACAddress_ConnectionStatus">MAC Address</span></td> <td class="top_font"><span id="LAN_Reserve">Reserve</span></td> </tr> <tr align="center"> <td class="table_font"><img src="../../images/network/i_s_pc_on.gif" width="16" height="16" /></td> <td class="table_font"> android-8551bcb13007a642 </td> <td class="table_font"> </ul></li> 192.168.1.1</td> <td class="table_font"> 7C:B1:5D:18:2C:16 </td> <td class="table_font"><input type="checkbox" onClick="doModifyRule(this,'add',-1,1,'192.168.1.1','7C:B1:5D:18:2C:16','0','0')"> <font style="cursor:hand;cursor:pointer;"> </font> </td> </tr><tr align="center"> <td class="table_font"><img src="../../images/network/i_s_pc_on.gif" width="16" height="16" /></td> <td class="table_font"> David-PC </td> <td class="table_font"> </ul></li> 192.168.1.6</td> <td class="table_font"> F8:D1:11:AD:67:93 </td> <td class="table_font"><input type="checkbox" checked onClick="doModifyRule(this,'delete',0,1,'192.168.1.6','F8:D1:11:AD:67:93','1','1')"> <font style="cursor:hand;cursor:pointer;"> </font> </td> </tr><tr align="center"> <td class="table_font"><img src="../../images/network/i_s_pc_on.gif" width="16" height="16" /></td> <td class="table_font"> android-6d27e04ebdfcceb7 </td> <td class="table_font"> </ul></li> 192.168.1.2</td> <td class="table_font"> C0:65:99:64:69:A9 </td> <td class="table_font"><input type="checkbox" onClick="doModifyRule(this,'add',-1,1,'192.168.1.2','C0:65:99:64:69:A9','0','0')"> <font style="cursor:hand;cursor:pointer;"> </font> </td> </tr><tr align="center"> <td class="table_font"><img src="../../images/network/i_s_pc_on.gif" width="16" height="16" /></td> <td class="table_font"> android-44c6aba7be7a41fd </td> <td class="table_font"> </ul></li> 192.168.1.3</td> <td class="table_font"> B4:EF:39:BA:44:8C </td> <td class="table_font"><input type="checkbox" onClick="doModifyRule(this,'add',-1,1,'192.168.1.3','B4:EF:39:BA:44:8C','0','0')"> <font style="cursor:hand;cursor:pointer;"> </font> </td> </tr><tr align="center"> <td class="table_font"><img src="../../images/network/i_s_pc.gif" width="16" height="16" /></td> <td class="table_font"> OPC </td> <td class="table_font"> </ul></li> 192.168.1.4</td> <td class="table_font"> 64:5A:04:7A:E1:D3 </td> <td class="table_font"><input type="checkbox" onClick="doModifyRule(this,'add',-1,1,'192.168.1.4','64:5A:04:7A:E1:D3','0','0')"> <font style="cursor:hand;cursor:pointer;"> </font> </td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> </table> </div></td> </tr> </table> Link to comment Share on other sites More sharing options...
fiveworlds Posted April 9, 2016 Share Posted April 9, 2016 Also since I can I will explain standard rfid tags. Rfid tags like this one have no battery they contain an antenna on their pcb which allows it to connect to a router on a similar frequency. The rfid tag works on wireless electricity and so can be fairly small. It contains a coil of wire which captures the electricity generated by the rfid reader. Link to comment Share on other sites More sharing options...
Shery Posted April 11, 2016 Author Share Posted April 11, 2016 unable to understand the code.. which code i have to run on which platform..?? to get the list of devices connect to wifi router... Link to comment Share on other sites More sharing options...
Sensei Posted April 11, 2016 Share Posted April 11, 2016 Fiveworlds, show output from your scripts. Run them and take screen-shot, and attach image here.. Link to comment Share on other sites More sharing options...
Strange Posted April 11, 2016 Share Posted April 11, 2016 unable to understand the code.. which code i have to run on which platform..?? to get the list of devices connect to wifi router... I have to apologise for fiveworlds. He frequently either misunderstands the question or provides totally useless answers. Do you want to do this from Windows (or Linux or Mac)? I am not aware of a general answer to your question. You may be able to log in to the router's admin interface and find the list of nodes it is attached to, especially if it is providing network addresses via DHCP. Also since I can I will explain standard rfid tags. Rfid tags like this one have no battery they contain an antenna on their pcb which allows it to connect to a router on a similar frequency. The rfid tag works on wireless electricity and so can be fairly small. It contains a coil of wire which captures the electricity generated by the rfid reader. How is that relevant? -1 Link to comment Share on other sites More sharing options...
Shery Posted April 11, 2016 Author Share Posted April 11, 2016 http://www.scienceforums.net/topic/94043-esp8266-using-to-location-detector/ so there for esp8266 is connected to router and i want to extract its mac address and place into data base. for my ERP software..i know its not easy to understand my project by just reading it.. so my requirement is to get all the nodes thats are connected to wifi router. I haven't chose any platform either windows or Linux. Link to comment Share on other sites More sharing options...
Sensei Posted April 12, 2016 Share Posted April 12, 2016 (edited) I have to apologise for fiveworlds. He frequently either misunderstands the question or provides totally useless answers. C'mon. Are not your judgment slightly premature in this case.. ? Some routers have admin panel. There is needed to log in to them by specifying admin and password. It must be done by API which allows keeping cookie, because that's how logging credential are typically implemented (other way is redirect to some URL with GET URL part set to some secret code). After code is logged in, visit website in router's admin panel where are all data who is connected to router and download. He mimic what user would do in web browser to see who is connected, but from script. This method would not work with my router, but I know plentiful routers where it could/should work as intended, just by replacing login,password and connection status.cgi url to appropriate value. Fiveworlds, you should not return in the middle of function code. But store result from curl_exec() in the variable, and return it at the end of function. //Upload a blank cookie.txt to the same directory as this file with a CHMOD/Permission to 777 function login($url,$data){ $fp = fopen("cookie.txt", "w"); fclose($fp); $login = curl_init(); curl_setopt($login, CURLOPT_COOKIEJAR, "cookie.txt"); curl_setopt($login, CURLOPT_COOKIEFILE, "cookie.txt"); curl_setopt($login, CURLOPT_TIMEOUT, 40000); curl_setopt($login, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($login, CURLOPT_URL, $url); curl_setopt($login, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']); curl_setopt($login, CURLOPT_FOLLOWLOCATION, TRUE); curl_setopt($login, CURLOPT_POST, TRUE); curl_setopt($login, CURLOPT_POSTFIELDS, $data); ob_start(); $result = curl_exec ($login); // return result to variable ob_end_clean(); curl_close ($login); unset($login); return( $result ); // return variable } function grab_page($site){ $ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']); curl_setopt($ch, CURLOPT_TIMEOUT, 40); curl_setopt($ch, CURLOPT_COOKIEFILE, "cookie.txt"); curl_setopt($ch, CURLOPT_URL, $site); ob_start(); $result = curl_exec ($ch); // return result to variable ob_end_clean(); curl_close ($ch); return( $result ); // return variable } function post_data($site,$data){ $datapost = curl_init(); $headers = array("Expect:"); curl_setopt($datapost, CURLOPT_URL, $site); curl_setopt($datapost, CURLOPT_TIMEOUT, 40000); curl_setopt($datapost, CURLOPT_HEADER, TRUE); curl_setopt($datapost, CURLOPT_HTTPHEADER, $headers); curl_setopt($datapost, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']); curl_setopt($datapost, CURLOPT_POST, TRUE); curl_setopt($datapost, CURLOPT_POSTFIELDS, $data); curl_setopt($datapost, CURLOPT_COOKIEFILE, "cookie.txt"); ob_start(); $result = curl_exec ($datapost); // return result to variable ob_end_clean(); curl_close ($datapost); unset($datapost); return( $result ); // return variable } unable to understand the code.. which code i have to run on which platform..?? to get the list of devices connect to wifi router... Ignore second script, use just the top one, as it's easy to work with. It's PHP script that you should put in your local Apache/PHP server, accessible from web browser folder. Do you have installed Apache/PHP? You must adjust couple variables in the last lines, to appropriate for your router (login,password,connectionstatus.cgi). login("http://192.168.1.254/cgi-bin/index.asp?YWRtaW46ZWZhNTM4OTZmOTVl","Loginuser=fiveworlds&LoginPassword=&Prestige_Login=Login"); $string=grab_page("http://192.168.1.254/cgi-bin/pages/connectionStatus.cgi"); Obviously your router must have such connectionStatus.cgi page (login to it manually from web browser, to learn what are data). Fiveworlds is writing mostly in PHP/JavaScript, so you have to excuse him for providing such script. Once it's checked it works, you can rewrite it in Java,C,C++,C# or whatever. There is no sense doing it, if your router does not have such connectionStatus.cgi or wont allow logging from script/code.. Edited April 12, 2016 by Sensei Link to comment Share on other sites More sharing options...
Shery Posted April 12, 2016 Author Share Posted April 12, 2016 what is fiveworlds..???? Link to comment Share on other sites More sharing options...
Sensei Posted April 13, 2016 Share Posted April 13, 2016 (edited) what is fiveworlds..???? Fiveworlds, is of course, nickname of member of this forum, who replied the first to your post, and wrote post #2 with source code...... Edited April 13, 2016 by Sensei Link to comment Share on other sites More sharing options...
Shery Posted April 21, 2016 Author Share Posted April 21, 2016 Well I use php curl. I didn't get it right away but I worked out by looking through the router source code that device info is given by a specific page. In my case it was http://192.168.1.254/cgi-bin/pages/connectionStatus.cgi. It does depend on your router though. Here is my code <?php //Upload a blank cookie.txt to the same directory as this file with a CHMOD/Permission to 777 function login($url,$data){ $fp = fopen("cookie.txt", "w"); fclose($fp); $login = curl_init(); curl_setopt($login, CURLOPT_COOKIEJAR, "cookie.txt"); curl_setopt($login, CURLOPT_COOKIEFILE, "cookie.txt"); curl_setopt($login, CURLOPT_TIMEOUT, 40000); curl_setopt($login, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($login, CURLOPT_URL, $url); curl_setopt($login, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']); curl_setopt($login, CURLOPT_FOLLOWLOCATION, TRUE); curl_setopt($login, CURLOPT_POST, TRUE); curl_setopt($login, CURLOPT_POSTFIELDS, $data); ob_start(); return curl_exec ($login); ob_end_clean(); curl_close ($login); unset($login); } function grab_page($site){ $ch = curl_init(); curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE); curl_setopt($ch, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']); curl_setopt($ch, CURLOPT_TIMEOUT, 40); curl_setopt($ch, CURLOPT_COOKIEFILE, "cookie.txt"); curl_setopt($ch, CURLOPT_URL, $site); ob_start(); return curl_exec ($ch); ob_end_clean(); curl_close ($ch); } function post_data($site,$data){ $datapost = curl_init(); $headers = array("Expect:"); curl_setopt($datapost, CURLOPT_URL, $site); curl_setopt($datapost, CURLOPT_TIMEOUT, 40000); curl_setopt($datapost, CURLOPT_HEADER, TRUE); curl_setopt($datapost, CURLOPT_HTTPHEADER, $headers); curl_setopt($datapost, CURLOPT_USERAGENT, $_SERVER['HTTP_USER_AGENT']); curl_setopt($datapost, CURLOPT_POST, TRUE); curl_setopt($datapost, CURLOPT_POSTFIELDS, $data); curl_setopt($datapost, CURLOPT_COOKIEFILE, "cookie.txt"); ob_start(); return curl_exec ($datapost); ob_end_clean(); curl_close ($datapost); unset($datapost); } login("http://192.168.1.254/cgi-bin/index.asp?YWRtaW46ZWZhNTM4OTZmOTVl","Loginuser=fiveworlds&LoginPassword=&Prestige_Login=Login"); $string=grab_page("http://192.168.1.254/cgi-bin/pages/connectionStatus.cgi"); echo $string; ?> here is the page's code <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <title>Portal Page</title> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=EmulateIE7" /> <link href="../../css/brick.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="../../js/jquery-1.3.2.min.js"></script> <script type="text/javascript" src="../../js/jquery.clickmenu.pack.js"></script> <script src="../../js/jquery.tooltip.min.js" type="text/javascript"></script> <script src="../../pages/VD/VDcomponent.js" type="text/javascript"></script> <script type="text/javascript"> $.ajaxSetup({ 'beforeSend': function(xhr) { xhr.setRequestHeader("If-Modified-Since", "0"); xhr.setRequestHeader("Cache-Control", "no-cache"); xhr.setRequestHeader("Pragma", "no-cache"); xhr.setRequestHeader("Expires", "0"); } }); window.parent.$.closeLoadingMask(); var selectednode; $(document).ready(function() { }); var timeValue; var currentList; var refreshTargetPage; function autoRefresh() { var intervalSelect; var viewmodevalue; document.getElementById("refreshTargetPage").value = refreshTargetPage; document.getElementById("refreshId").value = document.getElementById("Sys_RefreshList").value; intervalSelect=document.getElementById("Sys_RefreshList").value; viewmodevalue=document.connectionStatus.viewmode.value; document.getElementById("refreshViewMode").value = currentList; if(document.getElementById('arrownaviBtnR').style.display == "block" && document.getElementById('arrownaviBtnL').style.display == "none" && document.getElementById('arrownaviBtnRVirtual').style.display == "none" && document.getElementById('arrownaviBtnR2').style.display == "none") { document.connectionStatus.refmapview.value = 1; with (document.connectionStatus) { var data = { refmapview: refmapview.value } } var url = "/cgi-bin/pages/connectionStatus_p1.asp"; var callback = function(responseData, textStatus) { }; window.parent.$.post(url, data, callback, "html"); window.location.reload(); } if(document.getElementById('arrownaviBtnR').style.display == "none" && document.getElementById('arrownaviBtnL').style.display == "block" && document.getElementById('arrownaviBtnRVirtual').style.display == "block" && document.getElementById('arrownaviBtnR2').style.display == "none") { if((document.getElementById("Sys_RefreshList").value > 0)) { $('#downMsg').hide(); } document.connectionStatus.refmapview.value = 0; with (document.connectionStatus) { var data = { refmapview: refmapview.value } } var url = "/cgi-bin/pages/connectionStatus_p1.asp"; var callback = function(responseData, textStatus) { }; window.parent.$.post(url, data, callback, "html"); window.location.reload(); } if(document.getElementById('arrownaviBtnR').style.display == "none" && document.getElementById('arrownaviBtnL').style.display == "none" && document.getElementById('arrownaviBtnRVirtual').style.display == "none" && document.getElementById('arrownaviBtnR2').style.display == "block") { if((document.getElementById("Sys_RefreshList").value > 0)) { $('#downMsg').hide(); } document.connectionStatus.refmapview.value = 0; $('#VDView').load("/cgi-bin/pages/vdview.cgi"); } if(document.connectionStatus.pagepart.value != 1) { document.getElementById("Sys_RefreshList").value=intervalSelect; resetInterval(2); } } function backrefresh(){ $.ajax({ type: "POST", url: "connectionStatus_p1.asp", data: "intervalSelect="+document.getElementById("Sys_RefreshList").value+"&viewmode="+document.connectionStatus.viewmode.value, success: function(html){ window.location.reload(); } }); } function resetInterval(reload){ var selecting; clearTimeout(timeValue); with (document.connectionStatus) { var data = { intervalSelect: Sys_RefreshList.value, viewmode: viewmode.value } } var url = "/cgi-bin/pages/connectionStatus_p1.asp"; var callback = function(responseData, textStatus) { }; window.parent.$.post(url, data, callback, "html"); selecting = $('#Sys_RefreshList').val(); if (selecting == 1) timeValue = setTimeout('autoRefresh()', 10000); else if (selecting == 2) timeValue = setTimeout('autoRefresh()', 20000); else if (selecting == 3) timeValue = setTimeout('autoRefresh()', 30000); else if (selecting == 4) timeValue = setTimeout('autoRefresh()', 60000); else{ if(document.connectionStatus.pagepart.value == 1) { if(document.connectionStatus.connectsingle.value == 1) { $('#downMsg').hide(); } else { $('#downMsg').fadeIn(0); } } } } function doModifyRule(obj,action_flag,del_index,add_index,IP,MAC,dup_ip,dup_mac) { if(action_flag == "add") { if(add_index==-1) { alert(Reserve_Error[language_Index]); obj.checked=false; return; } if(dup_ip == "1") { alert(Duplicate_IP_Address_Error[language_Index]); obj.checked=false; return; } if(dup_mac == "1") { alert(Duplicate_MAC_Error[language_Index]); obj.checked=false; return; } document.connectionStatus.returnAddIndex.value = parseInt(add_index,10); document.connectionStatus.IPAddress.value = IP; document.connectionStatus.MacAddress.value = MAC; $.ajax({ type: "POST", url: "connectionStatus_p1.asp", data: "returnAddIndex="+document.connectionStatus.returnAddIndex.value+"&IPAddress="+document.connectionStatus.IPAddress.value+"&MacAddress="+document.connectionStatus.MacAddress.value, success: function(html){ window.location.reload(); } }); } else { document.connectionStatus.returnCurrentIndex.value = parseInt(del_index,10); $.ajax({ type: "POST", url: "connectionStatus_p1.asp", data: "returnCurrentIndex="+document.connectionStatus.returnCurrentIndex.value, success: function(html){ window.location.reload(); } }); } } $(function() { function showConnection(flag) { if (flag) { $('.disconnect').hide(); $('.connect').show(); $('#downMsg').fadeOut(0); } else { $('.disconnect').show(); $('.connect').hide(); $('#downMsg').fadeIn(0); } } $('#internet_ConnectionOff').each(function(i, d){ showConnection(false); document.connectionStatus.connectsingle.value = 0; }); $('#internet_ConnectionOn').each(function(i, d){ showConnection(true); document.connectionStatus.connectsingle.value = 1; }); }) $(function() { function showLine(flag) { if (flag) { $('.rightline').hide(); $('.righttopline').hide(); $('.rightbottomline').hide(); } else { $('.rightline').show(); $('.righttopline').show(); $('.rightbottomline').show(); } } $('#i_PCOff').each(function(i, d){ showLine(false); }); $('#i_PCOn').each(function(i, d){ showLine(false); }); }) $(function() { function adjustDownMsg(){ $('#downMsg').css({ top: $(window).height() - $('#downMsg').height() - 20 + $(window).scrollTop() }); } $(window).scroll(adjustDownMsg).resize(adjustDownMsg); function connection(flag, init){ var time = 200; if (init) time = 0; adjustDownMsg(); if (flag) { $('.disconnect').hide(); $('.connect').show(); $('#downMsg').animate({ top: $(window).height() - $('#downMsg').height()-10 + $(window).scrollTop(), opacity: 'hide' }, time, adjustDownMsg); } else { $('.disconnect').show(); $('.connect').hide(); $('#downMsg').fadeIn(time); } } currentList = document.getElementById("refreshViewMode").value; refreshTargetPage = document.getElementById("refreshTargetPage").value; if((document.getElementById("Sys_RefreshList").value > 0)) { $('#downMsg').hide(); } resetInterval(1); }) var menu = '<ul style="position: relative;">'+ '<li class="menutop">'+ '</li>'+ '<li>'+ '<a href="#" class="info">Info</a>'+ '</li>'+ '<li class="menubottom">'+ '</li>'+ '</ul>'; $(function(){ var zCounter = 10000; var subMenuHeight = 105; $('.wirelessFrame .list').each(function(i, d){ zCounter -= 1; $(d).children('li').append(menu); $(d).parent().css('z-index', zCounter); $(d).clickMenu(); $('.wirelessFrame .list').show(); var index = i + 1; var device = $('.wirelessFrame li:nth-child(' + index + ')').find('.i_device img').attr('src'); var signal = $('.wirelessFrame li:nth-child(' + index + ')').find('.i_wifi').attr('class'); var parentalcontrol = $('.wirelessFrame li:nth-child(' + index + ')').find('.i_parental').attr('class'); var PQAAttr = 'wireless device: ' + device + ' signal: ' + signal + ' parental control: ' + parentalcontrol; $(d).find('li a').attr('PQAAttr', PQAAttr); }); $('.wiredFrame .list').each(function(i, d){ zCounter -= 1; $(d).children('li').append(menu); $(d).parent().css('z-index', zCounter); $(d).clickMenu(); $('.wiredFrame .list').show(); var index = i + 1; var device = $('.wiredFrame li:nth-child(' + index + ')').find('.i_device img').attr('src'); var parentalcontrol = $('.wiredFrame li:nth-child(' + index + ')').find('.i_parental').attr('class'); var PQAAttr = 'wired device: ' + device + ' parental control: ' + parentalcontrol; $(d).find('li a').attr('PQAAttr', PQAAttr); }); $('.info').click(function(){ var db1 = window.parent.$.zyUiDialog({ width: 450, height: 220, title: 'Info', buttons: { 'OK': function(){ db1.dialog('close')} } }); var link = '/cgi-bin/pages/info.cgi?index=' + selectednode; if(jQuery.browser.safari && parseInt(jQuery.browser.version)<=525 ) link='../'+link; db1.load(link); db1.dialog('open'); }); if(document.connectionStatus.refmapview.value == 1){ var mapPosition = $('#mapView').position(); $('#statusView').css('left', $('#mapView').width() + mapPosition.left).hide(0); $('#VDView').css('left', $('#mapView').width() + mapPosition.left).hide(0); if(document.connectionStatus.viewmode.value == 1) { document.getElementById('listView').style.display = "none"; document.getElementById('iconView').style.display = "block"; } else { document.getElementById('listView').style.display = "none"; document.getElementById('iconView').style.display = "block"; } }else{ var mapPosition = $('#statusView').position(); $('#mapView').css('left', $('#statusView').width() + mapPosition.left).hide(0); $('#VDView').css('left', $('#statusView').width() + mapPosition.left).hide(0); } function changeView(showObj, hideObj, orient, callback){ var offset = $(showObj).width() * orient; showObj.css('left', -1*offset); showObj.animate({ left: '+=' + offset ,opacity: 'show' }, 200, callback) hideObj.animate({ left: '+=' + offset ,opacity: 'hide' }, 200) } var currentView = 'statusView'; if(document.connectionStatus.refmapview.value == 1) currentView = 'mapView'; var modifyNetworkmapframeH = function(){ var currentViewObj = $('#'+currentView); switch(currentView) { case 'mapView': $('.networkmapframe, ').animate({height:currentViewObj.height()+subMenuHeight}, 0 ); break; case 'statusView': $('.networkmapframe').animate({height:currentViewObj.height()-20}, 0 ); break; case 'VDView': $('.networkmapframe').animate({height:currentViewObj.height()-40}, 0 ); break; } } var updateViewStatus = function(view){ var btnL = $('#naviBtnL'); var btnR = $('#naviBtnR'); var btnRVirtual = $('#naviBtnRVirtual'); var btnR2 = $('#naviBtnR2'); currentView = view; switch(currentView) { case 'mapView': $('.listBtn').trigger('click'); document.getElementById('arrownaviBtnR').style.display = "block"; document.getElementById('arrownaviBtnL').style.display = "none"; document.getElementById('arrownaviBtnRVirtual').style.display = "none"; document.getElementById('arrownaviBtnR2').style.display = "none"; $('#naviRText').html(MLG_SystemInfo_ConnectionStatus[language_Index]); modifyNetworkmapframeH(); $('.viewModeHide, #viewModeicon').show(); break; case 'statusView': document.getElementById('arrownaviBtnR').style.display = "none"; document.getElementById('arrownaviBtnR2').style.display = "none"; // setTimeout(function(){ document.getElementById('arrownaviBtnL').style.display = "block"; document.getElementById('arrownaviBtnRVirtual').style.display = "block"; // },4000); $('#naviLText').html(MLG_LANDevice_ConnectionStatus[language_Index]); modifyNetworkmapframeH(); $('.viewModeHide, #viewModeicon').hide(); break; case 'VDView': document.getElementById('arrownaviBtnR').style.display = "none"; document.getElementById('arrownaviBtnL').style.display = "none"; document.getElementById('arrownaviBtnRVirtual').style.display = "none"; document.getElementById('arrownaviBtnR2').style.display = "block"; $('#naviRTextVirtual').html(MLG_VirtualDevice_ConnectionStatus[language_Index]); modifyNetworkmapframeH(); $('.viewModeHide, #viewModeicon').hide(); break; default: break; } } updateViewStatus(currentView); $('#naviBtnR').click( function(){ var orient = -1; var thisBtn = $(this); if (currentView == 'mapView') { document.connectionStatus.pagepart.value = 2; changeView($('#statusView'), $('#mapView'), orient, function(){updateViewStatus('statusView');}); } }); $('#naviBtnR2').click( function(){ var orient = -1; var thisBtn = $(this); if (currentView == 'VDView') { document.connectionStatus.pagepart.value = 2; window.location.reload(); } }); $('#naviBtnRVirtual').click( function(){ var orient = -1; var thisBtn = $(this); if (currentView == 'statusView') { document.connectionStatus.pagepart.value = 3; $('#VDView').load("/cgi-bin/pages/vdview.cgi"); changeView($('#VDView'), $('#statusView'), orient, function(){updateViewStatus('VDView');}); } }); $('#naviBtnL').click( function(){ var orient = 1; var thisBtn = $(this); if (currentView == 'statusView') { document.connectionStatus.pagepart.value = 1; changeView($('#mapView'), $('#statusView'), orient, function(){updateViewStatus('mapView');}); } }); $('.iconBtn').click(function(){ document.connectionStatus.viewmode.value = 0; $('.iconBtn').addClass('highlight'); $('.listBtn').removeClass('highlight'); $('.iconView').fadeIn(0); $('.listView').fadeOut(0); $('.networkmapframe').height($('#mapView').height() + subMenuHeight); if(document.connectionStatus.Sys_RefreshList.value != 0) { with (document.connectionStatus) { var data = { viewmode: viewmode.value } } var url = "/cgi-bin/pages/connectionStatus_p1.asp"; var callback = function(responseData, textStatus) { }; window.parent.$.post(url, data, callback, "html"); } }); $('.listBtn').click(function(){ document.connectionStatus.viewmode.value = 1; $('.listBtn').addClass('highlight'); $('.iconBtn').removeClass('highlight'); $('.listView').fadeIn(0); $('.iconView').fadeOut(0); $('.networkmapframe').height($('#mapView').height() + subMenuHeight); if(document.connectionStatus.Sys_RefreshList.value != 0) { with (document.connectionStatus) { var data = { viewmode: viewmode.value } } var url = "/cgi-bin/pages/connectionStatus_p1.asp"; var callback = function(responseData, textStatus) { }; window.parent.$.post(url, data, callback, "html"); } }); $('.listmode').hover( function(){ $(this).children('a').addClass('hover').css('cursor', 'pointer'); }, function(){ $(this).children('a').removeClass('hover'); }) $('.iconmode').hover( function(){ $(this).children('a').addClass('hover').css('cursor', 'pointer'); }, function(){ $(this).children('a').removeClass('hover'); }) $(window).resize(function(){ modifyNetworkmapframeH(); }); }); function MM_goToURL() { //v3.0 var i, args=MM_goToURL.arguments; document.MM_returnValue = false; for (i=0; i<(args.length-1); i+=2) eval(args[i]+".location='"+args[i+1]+"'"); } $(function(){ $('#checkPrbmBtn').click(function(){ $('#downMsg').fadeOut(0); }); }); function nodeClicked(value){ selectednode = value; } $(function(){ if(document.connectionStatus.viewmode.value == 1) $('.listBtn').trigger('click'); if(document.connectionStatus.refmapview.value != 1) document.getElementById('statusView').style.display = "block"; if(window.parent.document.mainpage.connectionstatus_flag.value == 1){ window.parent.document.mainpage.connectionstatus_flag.value = 0; } }) function doEdit(entry) { var db1 = window.parent.$.zyUiDialog({ width: 400, height: 300, title: 'DHCP Option Table', buttons: { 'Back': function(){ db1.dialog('close') } } }); var link = '/cgi-bin/pages/DhcpOptionList.html?reloadFlag=1&editNum=' + entry; db1.load(link); db1.dialog('open'); } function reconnect(DipConnFlag) { var data = { DipConnFlag:DipConnFlag, redirect:0 }; if ( DipConnFlag == 1 ) { data.redirect = 1; } var url = "/cgi-bin/PPPoEManulDial.asp"; var callback; callback = function(responseData, textStatus) { autoRefresh(); //window.parent.$.closeLoadingMask(); }; window.parent.$.openLoadingMask(1); $.post(url, data, callback, "html"); } </script> <title>Portal Page</title> </head> <body> <form name="connectionStatus" method="post" action="/../../../../index.html"> <div class="content_frame2" > <div style="position:absolute; height:500px; width:100px; right:0px; z-index:500; top:15px;"> <div class="arrowbtnR" id="arrownaviBtnL" style="display:none;"><a href="#" id="naviBtnL"></a> <span class="arrowbnText" id='naviLText'> LAN Device</span></div> <div class="arrowbtnL" id="arrownaviBtnR" style="display:none;"><a href="#" id="naviBtnR"></a> <span class="arrowbnText" id='naviRText'> System Info</span> </div> <div class="arrowbtnL" id="arrownaviBtnRVirtual" style="display:none;"><a href="#" id="naviBtnRVirtual"></a> <span class="arrowbnText" id='naviRTextVirtual'> Virtual Device</span> </div> <div class="arrowbtnR" id="arrownaviBtnR2" style="display:none;"><a href="#" id="naviBtnR2"></a> <span class="arrowbnText" id='naviRText2'> System Info</span> </div> <div class="modesetting" id="modesetting_map"><ul><li style="margin-left:10px;"><div class="viewmode" style="display:none;" id="viewModeicon"> <ul> <li class="iconmode"><a class="iconBtn highlight" title="Icon View"></a></li> <li class="listmode"><a id="listBtn" class="listBtn" title="List View"></a></li> </ul> </div></li> <li class="blod white_12 viewModeHide" style="margin-left:14px; display:none;"><span id='ViewingMode_ConnectionStatus'>Viewing mode</span>: </li> <li style="margin-left:10px;"><select name="Sys_RefreshList" id="Sys_RefreshList" size="1" onChange="resetInterval()" style="color:#242529; border:#242529 1px solid;"> <option value="0">None </option> <option value="1">10 seconds </option> <option value="2" selected="selected">20 seconds </option> <option value="3">30 seconds </option> <option value="4">60 seconds </option> </select></li><li class="blod white_12"><span id='Home_Refresh'>Refresh interval:</span> </li></ul> <input type="hidden" name="refreshId" id="refreshId"> <input type="hidden" name="refreshTargetPage" id="refreshTargetPage" value="##refreshTargetPage##"> <input type="hidden" name="refreshViewMode" id="refreshViewMode" value="##refreshViewMode##"> <input type="hidden" name="viewmode" value="1"> <input type="hidden" name="pagepart" value="2"> <input type="hidden" name="connectsingle" value=""> <input type="hidden" name="returnCurrentIndex" value=""> <input type="hidden" name="returnAddIndex" value=""> <input type="hidden" name="IPAddress" value=""> <input type="hidden" name="MacAddress" value=""> <input type="hidden" name="refmapview" value="0"> </div> </div> <script type="text/javascript"> window.parent.$.openLoadingMask(1); </script> <script language="JavaScript"> if(window.parent.document.mainpage.connectionstatus_flag.value == 1) { document.connectionStatus.Sys_RefreshList.value=2; document.connectionStatus.viewmode.value=1; } else { if ('0'!="no node information" && '0'!="no attribute information") document.connectionStatus.Sys_RefreshList.value='0'; if ('0'!="no node information" && '0'!="no attribute information") document.connectionStatus.viewmode.value='0'; if ('1'!="no node information" && '0'!="no attribute information") document.connectionStatus.refmapview.value='1'; } </script> <div height="100%" style="overflow:visable;"> <div class="i_left_arrow"></div> <script type="text/javascript"> window.parent.$.openLoadingMask(1); </script> <!--VD view start--> <div id="VDView" class='naviView' style="position: relative;"> </div> <!-- end VD view --> <!-- ********************************************** statusview start ********************************************** --> <div id="statusView" class='naviView' style="display:none;position: relative;"> <div class="title" style="color:#000;"><span id="SystemInfo_ConnectionStatus"></span></div> <table width="96%" border="0" align="left" cellpadding="0" cellspacing="0"> <tr> <td width="50%"> </td> <td> </td> </tr> <tr> <td valign="top"> </td> <td valign="top"> </td> </tr> <tr> <td valign="top"><div class="w_text3"> <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_frame"> <tr > <td colspan="3" class="top_font"> System </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='ModelName_ConnectionStatus'></span>: </td> <td colspan="2" class="table_font w_blue"> eir D1000 Modem </td> </tr> <tr > <td class="table_font_eircom"><span id='MLG_DSL_Serial_Number'></span>:</td> <td colspan="2" class="table_font w_blue"> S150Y04107410 </td> </tr> <tr > <td class="table_font_eircom"><span id='MLG_DSL_MACAddress'></span>: </td> <td colspan="2" class="table_font w_blue"> A0:E4:CB:4B:49:04 </td> </tr> <tr > <td class="table_font_eircom"><span id='MLG_FirmwareVersion'></span>: </td> <td colspan="2" class="table_font w_blue"> 2.00(AADU.5)_20150909 </td> </tr> <tr > <td class="table_font_eircom"><span id='MLG_DSL_Version'></span>: </td> <td colspan="2" class="table_font w_blue"> <div>FwVer:3.20.32.0_A_TC3087</div><div>HwVer:T14.F7_11.2</div> </td> </tr> <tr > <td class="table_font_eircom"><span id='MLG_DSL_System_Uptime'></span>: </td> <td colspan="2" class="table_font w_blue"> 4 days: 14 hours: 48 minutes </td> </tr> <tr > <td class="table_font_eircom"><span id='MLG_Current_Time_Date'></span>: </td> <td colspan="2" class="table_font w_blue"> Mon Jan 5 14:48:07 UTC 2015 </td> </tr> <tr > <td class="table_font_eircom">System Mode: </td> <td colspan="2" class="table_font w_blue"> <font color="#736C66">Routing</font> / <font color="#D5D2CA">Bridging</font> </td> </tr> <tr > <td class="table_font_eircom"><span id='MLG_Home_CPU'></span>:</td> <td width="38%" height="18"class="table_font"><table width="100%" height="18" border="1" cellpadding="0" cellspacing="0" bordercolor="#736C66"> <tr><td bgcolor="#D5D2CA"><table width="03%" height="18" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="18" bgcolor="#736C66"> </td> </tr> </table></td> </tr> </table></td> <td class="table_font w_blue">03% </td> </tr> <tr> <td class="table_font_eircom"><span id='MLG_Home_MemUsage'></span>:</td> <td class="table_font"><table width="100%" height="18" border="1" cellpadding="0" cellspacing="0" bordercolor="#736C66"> <tr> <td bgcolor="#D5D2CA"><table width="49%" border="0" cellspacing="0" cellpadding="0"> <tr> <td height="18" bgcolor="#736C66"> </td> </tr> </table></td> </tr> </table></td> <td class="table_font w_blue">49% </td> </tr> </table> <br /> <br /> <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_frame"> <tr > <td colspan="2" class="top_font"><span id='MLG_Home_Connection'></span> <tr > <td class="table_font_eircom"><span id='MLG_Home_Broadband'></span>:</td> <td class="table_font w_blue">Connected </td> </tr> <tr > <td class="table_font_eircom"><span id='MLG_Home_DSL_Mode'></span> </td> <td class="table_font w_blue"> ITU G.992.5(ADSL2PLUS) </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_Speed'></span>: </td> <td class="table_font w_blue"> 17914 kbps/765 kbps </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_Attenuation'></span>(Down/Up):</td> <td class="table_font w_blue"> 22.6 dB/ 10.5 dB </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_DSL_Noise_Margin'></span>: </td> <td class="table_font w_blue"> 0.1 dB/ 17.7 dB </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_WAN_IP_Address'></span>:</td> <td class="table_font w_blue"> 86.41.146.51 </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_IP_Subnet_Mask'></span>: </td> <td class="table_font w_blue"> 255.255.255.255 </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_Default_Gateway'></span>: </td> <td class="table_font w_blue"> 159.134.155.7 </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_IPv6_Address'></span>: </td> <td class="table_font w_blue"> :: </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_IPv6_Prefix'></span>: </td> <td class="table_font w_blue"> 0 </td> </tr> <tr > <td width="40%" class="table_font_eircom">IPv6 Default Gateway:</td> <td class="table_font w_blue"> :: </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_Primary_DNS'></span>: </td> <td class="table_font w_blue"> 159.134.0.1 </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_Secandary_DNS'></span>: </td> <td class="table_font w_blue"> 159.134.0.2 </td> </tr> <tr > <td width="40%" class="table_font_eircom">3G Status: </td> <td class="table_font w_blue"> NoDevice </td> </tr> <tr > <td width="40%" class="table_font_eircom">3G Rate: </td> <td class="table_font w_blue"> N/A </td> </tr> <tr > <td width="40%" class="table_font_eircom">3G IP Address: </td> <td class="table_font w_blue"> 0.0.0.0 </td> </tr> <tr > <td width="40%" class="table_font_eircom">3G IP Subnet Mask: </td> <td class="table_font w_blue"> N/A </td> </tr> <tr > <td width="40%" class="table_font_eircom">3G Gateway: </td> <td class="table_font w_blue"> N/A </td> </tr> <tr > <td width="40%" class="table_font_eircom">3G Primary DNS: </td> <td class="table_font w_blue"> 0.0.0.0 </td> </tr> <tr > <td width="40%" class="table_font_eircom">3G Secondary DNS: </td> <td class="table_font w_blue"> 0.0.0.0 </td> </tr> </table> </div></td> <td valign=top><table width=96% border=0 align=center cellpadding=0 cellspacing=0 class=table_frame> <tr> <td colspan=2 class=top_font>Local Network</td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_LAN1'></span>: </td> <td class="table_font w_blue"> N/A </td> </tr> <tr > <td class="table_font_eircom"><span id='MLG_Home_LAN2'></span>: </td> <td class="table_font w_blue"> N/A </td> </tr> <tr > <td class="table_font_eircom"><span id='MLG_Home_LAN3'></span>: </td><td class="table_font w_blue"> N/A </td> </tr> <tr > <td class="table_font_eircom"><span id='MLG_Home_LAN4'></span>: </td><td class="table_font w_blue"> N/A </td> </tr> <tr > <td class="table_font_eircom"><span id='MLG_Home_Modem_Address'></span>: </td><td class="table_font w_blue"> 192.168.1.254 </td> </tr> <tr > <td class="table_font_eircom"><span id='MLG_Home_Modem_Subnet_Mask'></span>: </td><td class="table_font w_blue"> 255.255.255.0 </td> </tr> <tr > <td class="table_font_eircom">IPv6 Address:</td> <td class="table_font w_blue"> fe80::a2e4:cbff:fe4b:4904 </td> </tr> <tr > <td class="table_font_eircom">IPv6 Prefix:</td> <td class="table_font w_blue"> 64 </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_DHCP'></span>: </td> <td class="table_font w_blue"> Server </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_DHCP_Range'></span>: </td> <td class="table_font w_blue"> 192.168.1.1 - 200 </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_Firewall'></span>: </td> <td class="table_font w_blue"> Medium </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_Wireless_Status'></span>: </td> <td class="table_font w_blue"> 300M </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_SSID'></span>: </td> <td class="table_font w_blue"> eircom03268240 </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_Channel'></span>: </td> <td class="table_font w_blue"> 1 </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_Security_Mode'></span>: </td> <td class="table_font w_blue"> WPA2-PSK + WPA-PSK </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_Key'></span>: </td> <td class="table_font w_blue"> efa53896f95e </td> </tr> <tr > <td width="40%" class="table_font_eircom"><span id='MLG_Home_WPS'></span>: </td> <td class="table_font w_blue"> Disabled </td> </tr> </table> </td> </tr> </table> </div> <!-- ********************************************** end status view ********************************************** --> <!-- ********************************************** map view start ********************************************** --> <!--map view start--> <div id="mapView" class='mapView' style="display:true; position: relative;"> <div class="title" style="color:#000000;"><span id='LANDevice_ConnectionStatus'></span></div> <ul> <li> <div id="iconView" class="iconView" style="display:true;"> <div class="iconfrmae"> <table width="96%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="190" valign="top"> <div style="position:absolute; width:190px; "> <div class="disconnect" style="display:none;"> <div class="i_internet"><img src="../../images/network/i_internet.gif" width="55" height="55" /><span style="display:block; text-align:center;">Internet</span> <div class="i_modom_dline"> <div class="i_router"><img src="../../images/network/i_router.gif" /><span style="display:block; text-align:center;">eir D1000 Modem</span></div> </div> </div> <div class="i_router_line"> </div> </div> </div> <div class="connect" style="display:none;"> <div class="i_internet"><img src="../../images/network/i_internet.gif" width="55" height="55" /><span style="display:block; text-align:center;">Internet</span> <div class="i_modom_line"> <div class="i_router"><img src="../../images/network/i_router.gif" /><span style="display:block; text-align:center;">eir D1000 Modem</span></div> </div> </div> <div class="i_router_line"> </div> </div></td> <td width="7" valign="top"> <div class="rightline" style="display:none;"></div> <div class="righttopline" style="display:none;"></div> <div class="rightbottomline" style="display:none;"></div> </td> <td valign="top" ><div class="mapviewright"> <div class="deviceFrame"> <div class="deviceicon"> <ul class="wirelessFrame"> <div id="i_PCOff")></div> <li> <ul id="list1" class="list" style="display:none;"> <div class=i_wifi></div> <span class="i_device"><img src="../../images/network/i_pc.gif" width="55" height="52" /></span> <li id="iconLink" title="android-8551bcb13007a642&7C:B1:5D:18:2C:16" onclick="nodeClicked('android-8551bcb13007a642&IP=192.168.1.1&MAC=7C:B1:5D:18:2C:16')"> android- <img src="../../images/network/i_downarrow.gif" width="6" height="4" /></li> </ul></li><li> <ul id="list1" class="list" style="display:none;"> <div class=i_wifi></div> <span class="i_device"><img src="../../images/network/i_pc.gif" width="55" height="52" /></span> <li id="iconLink" title="David-PC&F8:D1:11:AD:67:93" onclick="nodeClicked('David-PC&IP=192.168.1.6&MAC=F8:D1:11:AD:67:93')"> David-PC <img src="../../images/network/i_downarrow.gif" width="6" height="4" /></li> </ul></li><li> <ul id="list1" class="list" style="display:none;"> <div class=i_wifi></div> <span class="i_device"><img src="../../images/network/i_pc.gif" width="55" height="52" /></span> <li id="iconLink" title="android-6d27e04ebdfcceb7&C0:65:99:64:69:A9" onclick="nodeClicked('android-6d27e04ebdfcceb7&IP=192.168.1.2&MAC=C0:65:99:64:69:A9')"> android- <img src="../../images/network/i_downarrow.gif" width="6" height="4" /></li> </ul></li><li> <ul id="list1" class="list" style="display:none;"> <div class=i_wifi></div> <span class="i_device"><img src="../../images/network/i_pc.gif" width="55" height="52" /></span> <li id="iconLink" title="android-44c6aba7be7a41fd&B4:EF:39:BA:44:8C" onclick="nodeClicked('android-44c6aba7be7a41fd&IP=192.168.1.3&MAC=B4:EF:39:BA:44:8C')"> android- <img src="../../images/network/i_downarrow.gif" width="6" height="4" /></li> </ul></li></ul> <ul class="wiredFrame"> <div id="i_PCOn"></div> </ul> </div></div></div></td></tr></table> </div> </div> </li> </ul> <div id="listView" class="listView" style="display:none;"> <ul> <li> <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="50%"> </td> <td> </td> </tr> <tr> <td colspan="2" valign="top"><div class="w_table"> <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_frame"> <tr> <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><table width="100%" cellpadding="0" cellspacing="0" > <tr align="center"> <td width="5%" class="top_font">#</td> <td class="top_font"><span id="MLG_Device_Name">Device Name</span></td> <td class="top_font"><span id="MLG_IP_Address_Con">IP Address</span></td> <td class="top_font"><span id="MLG_MACAddress_ConnectionStatus">MAC Address</span></td> <td class="top_font"><span id="LAN_Reserve">Reserve</span></td> </tr> <tr align="center"> <td class="table_font"><img src="../../images/network/i_s_pc_on.gif" width="16" height="16" /></td> <td class="table_font"> android-8551bcb13007a642 </td> <td class="table_font"> </ul></li> 192.168.1.1</td> <td class="table_font"> 7C:B1:5D:18:2C:16 </td> <td class="table_font"><input type="checkbox" onClick="doModifyRule(this,'add',-1,1,'192.168.1.1','7C:B1:5D:18:2C:16','0','0')"> <font style="cursor:hand;cursor:pointer;"> </font> </td> </tr><tr align="center"> <td class="table_font"><img src="../../images/network/i_s_pc_on.gif" width="16" height="16" /></td> <td class="table_font"> David-PC </td> <td class="table_font"> </ul></li> 192.168.1.6</td> <td class="table_font"> F8:D1:11:AD:67:93 </td> <td class="table_font"><input type="checkbox" checked onClick="doModifyRule(this,'delete',0,1,'192.168.1.6','F8:D1:11:AD:67:93','1','1')"> <font style="cursor:hand;cursor:pointer;"> </font> </td> </tr><tr align="center"> <td class="table_font"><img src="../../images/network/i_s_pc_on.gif" width="16" height="16" /></td> <td class="table_font"> android-6d27e04ebdfcceb7 </td> <td class="table_font"> </ul></li> 192.168.1.2</td> <td class="table_font"> C0:65:99:64:69:A9 </td> <td class="table_font"><input type="checkbox" onClick="doModifyRule(this,'add',-1,1,'192.168.1.2','C0:65:99:64:69:A9','0','0')"> <font style="cursor:hand;cursor:pointer;"> </font> </td> </tr><tr align="center"> <td class="table_font"><img src="../../images/network/i_s_pc_on.gif" width="16" height="16" /></td> <td class="table_font"> android-44c6aba7be7a41fd </td> <td class="table_font"> </ul></li> 192.168.1.3</td> <td class="table_font"> B4:EF:39:BA:44:8C </td> <td class="table_font"><input type="checkbox" onClick="doModifyRule(this,'add',-1,1,'192.168.1.3','B4:EF:39:BA:44:8C','0','0')"> <font style="cursor:hand;cursor:pointer;"> </font> </td> </tr><tr align="center"> <td class="table_font"><img src="../../images/network/i_s_pc.gif" width="16" height="16" /></td> <td class="table_font"> OPC </td> <td class="table_font"> </ul></li> 192.168.1.4</td> <td class="table_font"> 64:5A:04:7A:E1:D3 </td> <td class="table_font"><input type="checkbox" onClick="doModifyRule(this,'add',-1,1,'192.168.1.4','64:5A:04:7A:E1:D3','0','0')"> <font style="cursor:hand;cursor:pointer;"> </font> </td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> </table> </div></td> </tr> </table> </li> </ul> </div> </div> <div id="internet_ConnectionOn"></div> <!--Error Message Start--> <div class="downmessage" id="downMsg" style="display:none;" ><ul><li class="downleft"></li> <li class="downcenter" style="position:relative;"> <div style=" position:absolute;width:100%; z-index:800; top:15px; left:10px;"><span class="blod" id="MLG_CheckProblem_ConnectionStatus">Check the problems</span><br /><br /> eir D1000 Modem <span id="MLG_Disconnected_ConnectionStatus">is disconnected from the internet,please check WAN settings or contact your ISP.</span> <br /> </div></li></ul><div class="button_position" style=" position:absolute; top:65px; right:-5px;"><input name="New Message" type="button" id="checkPrbmBtn" value="OK" /> </div></div> <!--Error Message End--> <script type="text/javascript"> window.parent.$.closeLoadingMask(1); </script> <!-- ********************************************** end map view ********************************************** --> </div> </div> </form> </body> <script type="text/javascript" src="../../js/Multi_Language.js"></script> <script language="JavaScript"> if ('English'=="English") language_Index=0; else if ('English'=="Turkey") language_Index=1; else if ('English'=="German") language_Index=2; else if ('English'=="French") language_Index=3; else if ('English'=="Italian") language_Index=4; else language_Index=0; document.getElementById("Home_Refresh").innerHTML = MLG_Home_Refresh[language_Index]; document.getElementById("ViewingMode_ConnectionStatus").innerHTML = MLG_ViewingMode_ConnectionStatus[language_Index]; document.getElementById("LANDevice_ConnectionStatus").innerHTML = MLG_LANDevice_ConnectionStatus[language_Index]; document.getElementById("naviRTextVirtual").innerHTML = MLG_VirtualDevice_ConnectionStatus[language_Index]; document.getElementById("naviLText").innerHTML = MLG_LANDevice_ConnectionStatus[language_Index]; document.getElementById("naviRText").innerHTML = MLG_SystemInfo_ConnectionStatus[language_Index]; document.getElementById("naviRText2").innerHTML = MLG_SystemInfo_ConnectionStatus[language_Index]; document.getElementById("SystemInfo_ConnectionStatus").innerHTML = MLG_SystemInfo_ConnectionStatus[language_Index]; document.getElementById("MLG_DSL_Version").innerHTML = MLG_DSL_Version[language_Index]; document.getElementById("ModelName_ConnectionStatus").innerHTML = MLG_ModelName_ConnectionStatus[language_Index]; document.getElementById("MLG_DSL_Serial_Number").innerHTML = ModelName_Serial_Number[language_Index]; document.getElementById("MLG_DSL_MACAddress").innerHTML = MLG_MACAddressColon_ConnectionStatus[language_Index]; document.getElementById("MLG_FirmwareVersion").innerHTML = MLG_FirmwareVersion_ConnectionStatus[language_Index]; document.getElementById("MLG_DSL_Version").innerHTML = MLG_DSL_Version[language_Index]; document.getElementById("MLG_DSL_System_Uptime").innerHTML = MLG_DSL_System_Uptime[language_Index]; document.getElementById("MLG_Current_Time_Date").innerHTML = MLG_Current_Time_Date[language_Index]; document.getElementById("MLG_Home_CPU").innerHTML = MLG_Home_CPU[language_Index]; document.getElementById("MLG_Home_MemUsage").innerHTML = MLG_Home_MemUsage[language_Index]; document.getElementById("MLG_Home_Connection").innerHTML = MLG_Home_Connection[language_Index]; document.getElementById("MLG_Home_Broadband").innerHTML = MLG_Home_Broadband[language_Index]; document.getElementById("MLG_Home_DSL_Mode").innerHTML = Home_DSL_Mode[language_Index]; document.getElementById("MLG_Home_Speed").innerHTML = MLG_Home_Speed[language_Index]; document.getElementById("MLG_Home_Attenuation").innerHTML = MLG_Home_Attenuation[language_Index]; document.getElementById("MLG_Home_DSL_Noise_Margin").innerHTML = MLG_Home_DSL_Noise_Margin[language_Index]; document.getElementById("MLG_Home_WAN_IP_Address").innerHTML = MLG_Home_WAN_IP_Address[language_Index]; document.getElementById("MLG_Home_IP_Subnet_Mask").innerHTML = MLG_Home_IP_Subnet_Mask[language_Index]; document.getElementById("MLG_Home_Default_Gateway").innerHTML = MLG_Home_Default_Gateway[language_Index]; document.getElementById("MLG_Home_IPv6_Address").innerHTML = MLG_Home_IPv6_Address[language_Index]; document.getElementById("MLG_Home_IPv6_Prefix").innerHTML = MLG_Home_IPv6_Prefix[language_Index]; document.getElementById("MLG_Home_Primary_DNS").innerHTML = MLG_Home_Primary[language_Index]; document.getElementById("MLG_Home_Secandary_DNS").innerHTML = MLG_Home_Secandary_DNS[language_Index]; document.getElementById("MLG_Home_LAN1").innerHTML = MLG_Home_LAN1[language_Index]; document.getElementById("MLG_Home_LAN2").innerHTML = MLG_Home_LAN2[language_Index]; document.getElementById("MLG_Home_LAN3").innerHTML = MLG_Home_LAN3[language_Index]; document.getElementById("MLG_Home_LAN4").innerHTML = MLG_Home_LAN4[language_Index]; document.getElementById("MLG_Home_Modem_Address").innerHTML = MLG_Home_Modem_Address[language_Index]; document.getElementById("MLG_Home_Modem_Subnet_Mask").innerHTML = MLG_Home_Modem_Subnet_Mask[language_Index]; document.getElementById("MLG_Home_DHCP").innerHTML = MLG_Home_DHCP[language_Index]; document.getElementById("MLG_Home_DHCP_Range").innerHTML = MLG_Home_DHCP_Range[language_Index]; document.getElementById("MLG_Home_Firewall").innerHTML = MLG_Home_Firewall[language_Index]; document.getElementById("MLG_Home_Wireless_Status").innerHTML = MLG_Home_Wireless_Status[language_Index]; document.getElementById("MLG_Home_SSID").innerHTML = MLG_Home_SSID[language_Index]; document.getElementById("MLG_Home_Channel").innerHTML = MLG_Home_Channel[language_Index]; document.getElementById("MLG_Home_Security_Mode").innerHTML = MLG_Home_Security_Mode[language_Index]; document.getElementById("MLG_Home_Key").innerHTML = MLG_Home_Key[language_Index]; document.getElementById("MLG_Home_WPS").innerHTML = MLG_Home_WPS[language_Index]; document.getElementById("MLG_Current_Time_Date").innerHTML = MLG_Current_Time_Date[language_Index]; document.getElementById("MLG_Home_CPU").innerHTML = MLG_Home_CPU[language_Index]; document.getElementById("MLG_Home_MemUsage").innerHTML = MLG_Home_MemUsage[language_Index]; </script> <script type="text/javascript"> window.parent.$.closeLoadingMask(1); </script> </html> Though not very visible in all that there is a table containing the necessary data. <table width="96%" border="0" cellspacing="0" cellpadding="0"> <tr> <td width="190" valign="top"> <div style="position:absolute; width:190px; "> <div class="disconnect" style="display:none;"> <div class="i_internet"><img src="../../images/network/i_internet.gif" width="55" height="55" /><span style="display:block; text-align:center;">Internet</span> <div class="i_modom_dline"> <div class="i_router"><img src="../../images/network/i_router.gif" /><span style="display:block; text-align:center;">eir D1000 Modem</span></div> </div> </div> <div class="i_router_line"> </div> </div> </div> <div class="connect" style="display:none;"> <div class="i_internet"><img src="../../images/network/i_internet.gif" width="55" height="55" /><span style="display:block; text-align:center;">Internet</span> <div class="i_modom_line"> <div class="i_router"><img src="../../images/network/i_router.gif" /><span style="display:block; text-align:center;">eir D1000 Modem</span></div> </div> </div> <div class="i_router_line"> </div> </div></td> <td width="7" valign="top"> <div class="rightline" style="display:none;"></div> <div class="righttopline" style="display:none;"></div> <div class="rightbottomline" style="display:none;"></div> </td> <td valign="top" ><div class="mapviewright"> <div class="deviceFrame"> <div class="deviceicon"> <ul class="wirelessFrame"> <div id="i_PCOff")></div> <li> <ul id="list1" class="list" style="display:none;"> <div class=i_wifi></div> <span class="i_device"><img src="../../images/network/i_pc.gif" width="55" height="52" /></span> <li id="iconLink" title="android-8551bcb13007a642&7C:B1:5D:18:2C:16" onclick="nodeClicked('android-8551bcb13007a642&IP=192.168.1.1&MAC=7C:B1:5D:18:2C:16')"> android- <img src="../../images/network/i_downarrow.gif" width="6" height="4" /></li> </ul></li><li> <ul id="list1" class="list" style="display:none;"> <div class=i_wifi></div> <span class="i_device"><img src="../../images/network/i_pc.gif" width="55" height="52" /></span> <li id="iconLink" title="David-PC&F8:D1:11:AD:67:93" onclick="nodeClicked('David-PC&IP=192.168.1.6&MAC=F8:D1:11:AD:67:93')"> David-PC <img src="../../images/network/i_downarrow.gif" width="6" height="4" /></li> </ul></li><li> <ul id="list1" class="list" style="display:none;"> <div class=i_wifi></div> <span class="i_device"><img src="../../images/network/i_pc.gif" width="55" height="52" /></span> <li id="iconLink" title="android-6d27e04ebdfcceb7&C0:65:99:64:69:A9" onclick="nodeClicked('android-6d27e04ebdfcceb7&IP=192.168.1.2&MAC=C0:65:99:64:69:A9')"> android- <img src="../../images/network/i_downarrow.gif" width="6" height="4" /></li> </ul></li><li> <ul id="list1" class="list" style="display:none;"> <div class=i_wifi></div> <span class="i_device"><img src="../../images/network/i_pc.gif" width="55" height="52" /></span> <li id="iconLink" title="android-44c6aba7be7a41fd&B4:EF:39:BA:44:8C" onclick="nodeClicked('android-44c6aba7be7a41fd&IP=192.168.1.3&MAC=B4:EF:39:BA:44:8C')"> android- <img src="../../images/network/i_downarrow.gif" width="6" height="4" /></li> </ul></li></ul> <ul class="wiredFrame"> <div id="i_PCOn"></div> </ul> </div></div></div></td></tr></table> </div> </div> </li> </ul> <div id="listView" class="listView" style="display:none;"> <ul> <li> <table width="98%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td width="50%"> </td> <td> </td> </tr> <tr> <td colspan="2" valign="top"><div class="w_table"> <table width="96%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_frame"> <tr> <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr> <td><table width="100%" cellpadding="0" cellspacing="0" > <tr align="center"> <td width="5%" class="top_font">#</td> <td class="top_font"><span id="MLG_Device_Name">Device Name</span></td> <td class="top_font"><span id="MLG_IP_Address_Con">IP Address</span></td> <td class="top_font"><span id="MLG_MACAddress_ConnectionStatus">MAC Address</span></td> <td class="top_font"><span id="LAN_Reserve">Reserve</span></td> </tr> <tr align="center"> <td class="table_font"><img src="../../images/network/i_s_pc_on.gif" width="16" height="16" /></td> <td class="table_font"> android-8551bcb13007a642 </td> <td class="table_font"> </ul></li> 192.168.1.1</td> <td class="table_font"> 7C:B1:5D:18:2C:16 </td> <td class="table_font"><input type="checkbox" onClick="doModifyRule(this,'add',-1,1,'192.168.1.1','7C:B1:5D:18:2C:16','0','0')"> <font style="cursor:hand;cursor:pointer;"> </font> </td> </tr><tr align="center"> <td class="table_font"><img src="../../images/network/i_s_pc_on.gif" width="16" height="16" /></td> <td class="table_font"> David-PC </td> <td class="table_font"> </ul></li> 192.168.1.6</td> <td class="table_font"> F8:D1:11:AD:67:93 </td> <td class="table_font"><input type="checkbox" checked onClick="doModifyRule(this,'delete',0,1,'192.168.1.6','F8:D1:11:AD:67:93','1','1')"> <font style="cursor:hand;cursor:pointer;"> </font> </td> </tr><tr align="center"> <td class="table_font"><img src="../../images/network/i_s_pc_on.gif" width="16" height="16" /></td> <td class="table_font"> android-6d27e04ebdfcceb7 </td> <td class="table_font"> </ul></li> 192.168.1.2</td> <td class="table_font"> C0:65:99:64:69:A9 </td> <td class="table_font"><input type="checkbox" onClick="doModifyRule(this,'add',-1,1,'192.168.1.2','C0:65:99:64:69:A9','0','0')"> <font style="cursor:hand;cursor:pointer;"> </font> </td> </tr><tr align="center"> <td class="table_font"><img src="../../images/network/i_s_pc_on.gif" width="16" height="16" /></td> <td class="table_font"> android-44c6aba7be7a41fd </td> <td class="table_font"> </ul></li> 192.168.1.3</td> <td class="table_font"> B4:EF:39:BA:44:8C </td> <td class="table_font"><input type="checkbox" onClick="doModifyRule(this,'add',-1,1,'192.168.1.3','B4:EF:39:BA:44:8C','0','0')"> <font style="cursor:hand;cursor:pointer;"> </font> </td> </tr><tr align="center"> <td class="table_font"><img src="../../images/network/i_s_pc.gif" width="16" height="16" /></td> <td class="table_font"> OPC </td> <td class="table_font"> </ul></li> 192.168.1.4</td> <td class="table_font"> 64:5A:04:7A:E1:D3 </td> <td class="table_font"><input type="checkbox" onClick="doModifyRule(this,'add',-1,1,'192.168.1.4','64:5A:04:7A:E1:D3','0','0')"> <font style="cursor:hand;cursor:pointer;"> </font> </td> </tr> </table></td> </tr> </table></td> </tr> </table></td> </tr> </table> </div></td> </tr> </table> what is your router brand..?? plz provide its model no. Link to comment Share on other sites More sharing options...
DevilSolution Posted May 8, 2016 Share Posted May 8, 2016 If the list is superficial then login to the router using either the http portal or ssh and pipe netstat with the required grep depending on iftables etc...the normal ip is 192.168.1.1 or 192.168.0.1. type that in your URL. Link to comment Share on other sites More sharing options...
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