Using Fing as a new way to detect smartphone presence

Posted on
Fri Aug 21, 2015 11:43 am
kw123 offline
User avatar
Posts: 8335
Joined: May 12, 2013
Location: Dallas, TX

Re: Using Fing as a new way to detect smartphone presence

this release http://forums.indigodomo.com/viewtopic.php?f=166&t=12787&p=100996#p100996
should fix this:
A couple of minor things, on configure fingscan you have a typo at the top, shoe instead of show and my router password is showing up in plain text in the menu, should it not be hidden?


Karl
ps I could not find anything that allows multiple logins to the ASUS router

Posted on
Fri Oct 09, 2015 6:29 pm
itopota offline
Posts: 11
Joined: Oct 26, 2014

Re: Using Fing as a new way to detect smartphone presence

for me it didn't work on 10.11 :(

Posted on
Fri Oct 09, 2015 6:43 pm
kw123 offline
User avatar
Posts: 8335
Joined: May 12, 2013
Location: Dallas, TX

Re: Using Fing as a new way to detect smartphone presence

for me it didn't work on 10.11 :(


fing on 10.11..?
which fingscan version do you use?



could you open a terminal and type:
sudo /usr/local/bin/fing
then enter password , check if any error message other wise you should see:
...

19:42:23 > Host is up: 192.168.1.177
HW Address: 18:FE:34:A6:4D:5B

19:42:23 > Host is up: 192.168.1.229
HW Address: C4:D6:55:37:24:FB
...

Karl

Posted on
Sat Oct 10, 2015 7:34 am
itopota offline
Posts: 11
Joined: Oct 26, 2014

Re: Using Fing as a new way to detect smartphone presence

i use the last one, 4.14.1
the error is this one

admin$ sudo /usr/local/bin/fing
Error: unable to load discovery configuration properties.

on the fingscan log i see

tion Support/Perceptive Automation/Indigo 6/Plugins/fingscan.indigoPlugin/Contents/Server Plugin/fingEXE/bin/' /usr/local/bin error:None
fingscan fing exefiles copy: cp -r '/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/fingscan.indigoPlugin/Contents/Server Plugin/fingEXE/share/fing/' /usr/local/share/fing error:None
fingscan fing exefiles copy: cp -r '/Library/Application Support/Perceptive Automation/Indigo 6/Plugins/fingscan.indigoPlugin/Contents/Server Plugin/fingEXE/lib/' /usr/local/lib error:None
fingscan killing ping jobs: all
fingscan loaded indigo data
fingscan network info: inet 192.168.0.1 netmask 0xffffff00 broadcast 192.168.0.255
fingscan FING initializing
fingscan testing if FING is running
fingscan FING running pids2= ['']
fingscan killing FING Processes pids all - ['']
fingscan testing if FING is running
fingscan FING running pids2= ['']
fingscan FING still running, pids = ['']--[]
fingscan FING cmd= echo '**********' | sudo -S '/usr/local/bin/fing' -o table,csv,'/Users/ladmin/Documents/fing/fing.data' log,csv,'/Users/ladmin/Documents/fing/fing.log' >> '/Users/ladmin/Documents/fing/fingerror.log' > /dev/null 2>&1 &
fingscan waiting for FING to start and produce output pid:64849
fingscan testing if FING is running
fingscan FING running pids2= ['']
fingscan killing FING Processes pids onlyParents - ['']
fingscan testing if FING is running
fingscan FING running pids2= ['']
fingscan FING still running, pids = ['']--[]
fingscan testing if FING is running
fingscan FING running pids2= ['']
fingscan FING pids 3= ['']
fingscan (re)started FING
fingscan FING initialized
fingscan settings: iDevicesEnabled False
fingscan settings: inbetweenPingType parallel
fingscan settings: wifiRouter 0
fingscan settings: wait seconds between cycles 3
fingscan settings: password entered True
fingscan settings: debugLevel 255
fingscan settings: FINGSCAN will scan Network 192.168.0.1-255
fingscan
fingscan printEvents: no EVENT defined
fingscan error in Line '2486' ; error='list index out of range'

thanks

Posted on
Sat Oct 10, 2015 8:17 am
kw123 offline
User avatar
Posts: 8335
Joined: May 12, 2013
Location: Dallas, TX

Re: Using Fing as a new way to detect smartphone presence

Ok the key is the first error msg. Will upgrade my laptop to "the boss" and try.
Looks like I forgot to copy a file or the path definition is wrong.
Thanks for testing.


Sent from my iPhone using Tapatalk

Posted on
Sat Oct 10, 2015 10:29 am
kw123 offline
User avatar
Posts: 8335
Joined: May 12, 2013
Location: Dallas, TX

Re: Using Fing as a new way to detect smartphone presence

my fingscam 4.14.1 works under el capitan on my laptop..

the problem should be in : "unable to load discovery configuration properties"

let me think about it

Karl

[edit]

after removing all fing references I have the same error message...

Posted on
Sat Oct 10, 2015 7:23 pm
itopota offline
Posts: 11
Joined: Oct 26, 2014

Re: Using Fing as a new way to detect smartphone presence

fantastic, version 4.14.3 works like a charm on el capitan!

Posted on
Wed Nov 11, 2015 10:10 pm
Wondercow offline
Posts: 15
Joined: Sep 22, 2015

Re: Using Fing as a new way to detect smartphone presence

Hi all,

I've installed Fing and Fingscan and that works well enough; I have a problem, however, with the connection to my router. I've put in the router's IP address, login name, and password (all entered correctly and all work on my router) but it won't connect and I get this in the log:

fingscan Router wifi not reachable, userid password or ipnumber wrong?

I have an Asus RT-AC68U with Merlin 378.53 and Fingscan prefs are set to "Asus/Merlin < 378.54".

Any ideas?

Forgot to say I'm using Fingscan 4.16.5

Posted on
Wed Nov 11, 2015 10:26 pm
kw123 offline
User avatar
Posts: 8335
Joined: May 12, 2013
Location: Dallas, TX

Re: Using Fing as a new way to detect smartphone presence

I would need the response from the router. Could you switch on wifi logging and send me the response from the log file. Make sure you don't post passwords.


Sent from my iPhone using Tapatalk

Posted on
Wed Nov 11, 2015 10:49 pm
Wondercow offline
Posts: 15
Joined: Sep 22, 2015

Re: Using Fing as a new way to detect smartphone presence

Ok, I turned on "debug WiFi" and reloaded the plugin:

Code: Select all
Nov 11, 2015, 23:38:54
  Reloading plugin "fingscan 4.16.5"
  Stopping plugin "fingscan 4.16.5" (pid 52463)
  fingscan                        stopConcurrentThread called 1
  fingscan                        exception StopThread triggered ... stopped,  quitNOW was:no
  fingscan                        stopConcurrentThread called 2
  fingscan                        shutdown called
  Stopped plugin "fingscan 4.16.5"
  Starting plugin "fingscan 4.16.5" (pid 56621)
  Started plugin "fingscan 4.16.5"
  fingscan                        FINGSCAN--V 4-16-5   initializing     will take ~ 2 minutes...
  fingscan                        killing ping jobs: all
  fingscan                        leaving WiFi parameters at default, not configured in 'fingscan/Configure...'
  fingscan                        indigo variables initialized
  fingscan                        getting password
  fingscan                        get password done
  fingscan                        Router wifi not reachable, userid password or ipnumber wrong?
  fingscan                        loaded indigo data
  fingscan                        network info: inet 192.168.0.13 netmask 0xffffff00 broadcast 192.168.0.255
  fingscan                        ifind plugin: com.corporatechameleon.iFindplugBeta
  fingscan                        FING initializing
  fingscan                        FING initialized ..  created new data   waiting ~ 1 minute for stable operation
  fingscan                        settings:  iDevicesEnabled              False
  fingscan                        settings:  inbetweenPingType            0
  fingscan                        settings:  wifiRouter                   MERLIN
  fingscan                        settings:  wait seconds between cycles  5
  fingscan                        settings:  password entered             True
  fingscan                        settings:  debugLevel                   4
  fingscan                        settings:  FINGSCAN will scan Network   192.168.0.1-255
  fingscan                       

  fingscan                       

  fingscan                        printWiFi: no WiFi devices defined

Nov 11, 2015, 23:39:47
  fingscan                         fing end..theMAC/wifi/status/: xx:xx:xx:xx:xx:xx-up
                             [... more of the same removed ...]

  fingscan                        FINGSCAN initialized

Posted on
Wed Nov 11, 2015 10:54 pm
kw123 offline
User avatar
Posts: 8335
Joined: May 12, 2013
Location: Dallas, TX

Re: Using Fing as a new way to detect smartphone presence

Dont See the router response.
There must be something like
Resp= xxxxxxxx c


Sent from my iPhone using Tapatalk

Posted on
Wed Nov 11, 2015 11:02 pm
Wondercow offline
Posts: 15
Joined: Sep 22, 2015

Re: Using Fing as a new way to detect smartphone presence

That's all there was; should I use another debug level?

Thanks for the help, it's much appreciated.

Posted on
Wed Nov 11, 2015 11:11 pm
kw123 offline
User avatar
Posts: 8335
Joined: May 12, 2013
Location: Dallas, TX

Re: Using Fing as a new way to detect smartphone presence

I guess you are right, I removed that logging statement..

could you open a terminal and copy and past (replacing with your id and password and ip number):
Code: Select all
/usr/bin/curl  --max-time 3 -u yourUserid:yourPassword  'http://192.168.0.x/Main_WStatus_Content.asp'


and then post.

thx
karl

ps are you accessing the router from another device i.e. are logged in.. then you will need to log out and wait 15 minutes. and check fingscan again.

Posted on
Thu Nov 12, 2015 12:10 am
Wondercow offline
Posts: 15
Joined: Sep 22, 2015

Re: Using Fing as a new way to detect smartphone presence

Here' sweat I got

Code: Select all
<!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">
<html xmlns:v>
<head>
<meta http-equiv="X-UA-Compatible" content="IE=Edge"/>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta HTTP-EQUIV="Pragma" CONTENT="no-cache">
<meta HTTP-EQUIV="Expires" CONTENT="-1">
<link rel="shortcut icon" href="images/favicon.png">
<link rel="icon" href="images/favicon.png">
<title>ASUS Wireless Router RT-AC68U - Wireless Log</title>
<link rel="stylesheet" type="text/css" href="index_style.css">
<link rel="stylesheet" type="text/css" href="form_style.css">
<script language="JavaScript" type="text/javascript" src="/state.js"></script>
<script language="JavaScript" type="text/javascript" src="/general.js"></script>
<script language="JavaScript" type="text/javascript" src="/popup.js"></script>
<script language="JavaScript" type="text/javascript" src="/help.js"></script>
<script language="JavaScript" type="text/javascript" src="/jquery.js"></script>
<script language="JavaScript" type="text/javascript" src="/jquery.xdomainajax.js"></script>
<script language="JavaScript" type="text/javascript" src="/client_function.js"></script>
<style>
.wifiheader{
background-color:#475a5f;
color:#FFCC00;
}
p{
font-weight: bolder;
}
</style>
<script>
var $j = jQuery.noConflict();
overlib_str_tmp = "";
overlib.isOut = true;
var refreshRate = 3;
var timedEvent = 0;
dataarray24 = ["My LAN","0","0","-88","11u","xx:xx:xx:xx:xx:xx","AP"];
wificlients24 = [["xx:xx:xx:xx:xx:xx","<not found>","<not found>","0","??", "","  0:00:00","     "],["xx:xx:xx:xx:xx:xx","192.168.0.53","Garage_North","-64","24", "1","  0:52:34","PSTAU"],["xx:xx:xx:xx:xx:xx","192.168.0.32","<not found>","-50","2","1"," 29:43:09","PSTAUG"],"-1"];
dataarray5 = ["My LAN","0","0","-92","161/80","xx:xx:xx:xx:xx:xx","AP"];
wificlients5 = [["xx:xx:xx:xx:xx:xx","192.168.0.24","The-iPod","-46","24", "6","  3:52:26","PS AU"],"-1"];
;
function initial(){
show_menu();
refreshRate = getRefresh();
get_wlclient_list();
}
function redraw(){
if (dataarray24.length == 0) {
document.getElementById('wifi24headerblock').innerHTML='<span class="wifiheader" style="font-size: 125%;">Wireless 2.4 GHz is disabled.</span>';
} else {
display_header(dataarray24, 'Wireless 2.4 GHz', document.getElementById('wifi24headerblock'));
display_clients(wificlients24, document.getElementById('wifi24block'));
}
if (band5g_support) {
if (wl_info.band5g_2_support) {
if (dataarray5.length == 0) {
document.getElementById('wifi5headerblock').innerHTML='<span class="wifiheader" style="font-size: 125%;">Wireless 5 GHz-1 is disabled.</span>';
} else {
display_header(dataarray5, 'Wireless 5 GHz-1', document.getElementById('wifi5headerblock'));
display_clients(wificlients5, document.getElementById('wifi5block'));
}
if (dataarray52.length == 0) {
document.getElementById('wifi52headerblock').innerHTML='<span class="wifiheader" style="font-size: 125%;">Wireless 5 GHz-2 is disabled.</span>';
} else {
display_header(dataarray52, 'Wireless 5 GHz-2', document.getElementById('wifi52headerblock'));
display_clients(wificlients52, document.getElementById('wifi52block'));
}
} else {
if (dataarray5.length == 0) {
document.getElementById('wifi5headerblock').innerHTML='<span class="wifiheader" style="font-size: 125%;">Wireless 5 GHz is disabled.</span>';
} else {
display_header(dataarray5, 'Wireless 5 GHz', document.getElementById('wifi5headerblock'));
display_clients(wificlients5, document.getElementById('wifi5block'));
}
}
}
}
function display_clients(clientsarray, obj) {
var code, i, client, overlib_str;
code = '<table width="100%" id="24G" border="1" align="center" cellpadding="4" cellspacing="0" bordercolor="#6b8fa3" class="FormTable">';
code += '<thead><tr>';
code += '<td width=15%">MAC</td>';
code += '<td width="16%">IP</td>';
code += '<td width="16%">Name</td><td width="10%">RSSI</td><td width="18%">Rx / Tx Rate</td><td width="12%">Connected</td>';
code += '<td width="8%">Flags</td>';
code += '</tr></thead>';
if (clientsarray.length > 1) {
for (i = 0; i < clientsarray.length-1; ++i) {
client = clientsarray[i];
code += '<tr>';
overlib_str = "<p>MAC address:</p>" + client[0];
code += '<td><span style="margin-top:-15px; color: white;" class="link" onclick="oui_query(\'' + client[0] +'\');;overlib_str_tmp=\''+ overlib_str +'\';return overlib(\''+ overlib_str +'\');" onmouseout="nd();" style="cursor:pointer; text-decoration:underline;">'+ client[0] +'</span></td>';
code += '<td>' + client[1] + '</td>'; // IP
code += '<td>' + client[2] + '</td>'; // Name
code += '<td>' + client[3] + ' dBm</td>'; // RSSI
code += '<td>' + client[4] + ' / ' + client[5] +' Mbps</td>'; // Rate
code += '<td>' + client[6] + '</td>'; // Time
code += '<td>' + client[7] + '</td>'; // Flags
code += '</tr>';
}
} else {
code += '<tr><td colspan="7">No clients</td></tr>';
}
code += '</tr></table>';
obj.innerHTML = code;
}
function display_header(dataarray, title, obj) {
var code;
code = '<table width="100%" style="border: none;">';
code += '<thead><tr><span class="wifiheader" style="font-size: 125%;">' + title +'</span></tr></thead>';
code += '<tr><td colspan="3"><span class="wifiheader">SSID: </span>' + dataarray[0] + '</td><td colspan="2"><span class="wifiheader">Mode: </span>' + dataarray[6] + '</td></tr>';
code += '<tr><td><span class="wifiheader">RSSI: </span>' + dataarray[1] + ' dBm</td> <td><span class="wifiheader">SNR: </span>' + dataarray[2] +' dB</td> <td>';
code += '<span class="wifiheader">Noise: </span>' + dataarray[3] + ' dBm</td><td><span class="wifiheader">Channel: </span>'+ dataarray[4] + '</td>';
code += '<td><span class="wifiheader">BSSID: </span>' + dataarray[5] +'</td></tr></table>';
obj.innerHTML = code;
}
function get_wlclient_list() {
if (timedEvent) {
clearTimeout(timedEvent);
timedEvent = 0;
}
$j.ajax({
url: '/ajax_wificlients.asp',
dataType: 'script',
error: function(xhr){
get_wlclient_list();
},
success: function(response){
redraw();
if (refreshRate > 0)
timedEvent = setTimeout("get_wlclient_list();", refreshRate * 1000);
}
});
}
function getRefresh() {
val = parseInt(cookie.get('awrtm_wlrefresh'));
if ((val != 0) && (val != 1) && (val != 3) && (val != 5) && (val != 10))
val = 3;
document.getElementById('refreshrate').value = val;
return val;
}
function setRefresh(obj) {
refreshRate = obj.value;
cookie.set('awrtm_wlrefresh', refreshRate, 300);
get_wlclient_list();
}
</script>
</head>
<body onload="initial();">
<div id="TopBanner"></div>
<div id="Loading" class="popup_bg"></div>
<iframe name="hidden_frame" id="hidden_frame" src="" width="0" height="0" frameborder="0"></iframe>
<form method="post" name="form" action="apply.cgi" target="hidden_frame">
<input type="hidden" name="current_page" value="Main_WStatus_Content.asp">
<input type="hidden" name="next_page" value="Main_WStatus_Content.asp">
<input type="hidden" name="group_id" value="">
<input type="hidden" name="modified" value="0">
<input type="hidden" name="action_mode" value="">
<input type="hidden" name="action_script" value="">
<input type="hidden" name="action_wait" value="">
<input type="hidden" name="first_time" value="">
<input type="hidden" name="preferred_lang" id="preferred_lang" value="EN">
<input type="hidden" name="firmver" value="3.0.0.4">
<table class="content" align="center" cellpadding="0" cellspacing="0">
<tr>
<td width="17">&nbsp;</td>
<td valign="top" width="202">
<div id="mainMenu"></div>
<div id="subMenu"></div>
</td>
<td valign="top">
<div id="tabMenu" class="submenuBlock"></div>
<table width="98%" border="0" align="left" cellpadding="0" cellspacing="0">
<tr>
<td valign="top" >
<table width="760px" border="0" cellpadding="5" cellspacing="0" bordercolor="#6b8fa3" class="FormTitle" id="FormTitle">
<tr bgcolor="#4D595D">
<td valign="top">
<div>&nbsp;</div>
<div class="formfonttitle">System Log - Wireless Log</div>
<div style="margin-left:5px;margin-top:10px;margin-bottom:10px"><img src="/images/New_ui/export/line_export.png"></div>
<div class="formfontdesc">List of connected Wireless clients</div>
<table width="100%" border="1" align="center" cellpadding="4" cellspacing="0" bordercolor="#6b8fa3" class="FormTable">
<tr>
<th>Automatically refresh list every</th>
<td>
<select name="refreshrate" class="input_option" onchange="setRefresh(this);" id="refreshrate">
<option value="0">No refresh</option>
<option value="1">1 second</option>
<option value="3" selected>3 seconds</option>
<option value="5">5 seconds</option>
<option value="10">10 seconds</option>
</select>
</td>
</tr>
</table>
<br>
<div id="wifi24headerblock"></div>
<div id="wifi24block"></div>
<br><br>
<div id="wifi5headerblock"></div>
<div id="wifi5block"></div>
<br><br>
<div id="wifi52headerblock"></div>
<div id="wifi52block"></div>
<div>Flags: <span class="wifiheader">P</span>=Powersave Mode, <span class="wifiheader">S</span>=Short GI, <span class="wifiheader">T</span>=STBC, <span class="wifiheader">A</span>=Associated, <span class="wifiheader">U</span>=Authenticated, <span class="wifiheader">G</span>=Guest</div>
<br>
<div class="apply_gen">
<input type="button" onClick="location.href=location.href" value="Refresh" class="button_gen" >
</div>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
<div id="footer"></div>
</form>
</body>
</html>

Posted on
Thu Nov 12, 2015 7:20 am
kw123 offline
User avatar
Posts: 8335
Joined: May 12, 2013
Location: Dallas, TX

Re: Using Fing as a new way to detect smartphone presence

Code: Select all
dataarray24 = ["My LAN","0","0","-88","11u","xx:xx:xx:xx:xx:xx","AP"];
wificlients24 = [["xx:xx:xx:xx:xx:xx","<not found>","<not found>","0","??", "","  0:00:00","     "],["xx:xx:xx:xx:xx:xx","192.168.0.53","Garage_North","-64","24", "1","  0:52:34","PSTAU"],["xx:xx:xx:xx:xx:xx","192.168.0.32","<not found>","-50","2","1"," 29:43:09","PSTAUG"],"-1"];
dataarray5 = ["My LAN","0","0","-92","161/80","xx:xx:xx:xx:xx:xx","AP"];
wificlients5 = [["xx:xx:xx:xx:xx:xx","192.168.0.24","The-iPod","-46","24", "6","  3:52:26","PS AU"],"-1"];


this looks good, are you sure you entered userid/ password in config?


Karl

Who is online

Users browsing this forum: No registered users and 3 guests