Broadband-Hamnet™ Forum :: Firmware
Welcome Guest   [Register]  [Login]
 Subject :Model ID display.. 2015-02-01- 06:22:42 
VE3CWU
Member
Joined: 2014-07-28- 08:37:55
Posts: 20
Location: Mississauga

Would it be possible to "embed" the model type or ID somewhere to be displayed, maybe on the front page under Firmware version or configuration?

It may even snoop out and display the MAC addressess as the original AirOs does

We have an rapidly expanding mesh here in the (west) Toronto area and we have several different types of nodes.

We have started including node types with our call ID such as

VE3CWU-NSM2-01 (Ubiquity NanostationM2 number 1)

VE3CWU-UNLM2-01 (Ubuiquity NanoLocoM2)

VE3CWU-UBM2-01 (Ubiquity Bullet M2)

VE3CWU-LS-01 (Linksys number 1)

VE3CWU-X01 (Xagyl number 1)

Thanks, Bob VE3CWU

ve3cwu at rac.ca


IP Logged
ve3cwu at rac.ca
 Subject :Re:Model ID display.. 2015-02-01- 07:01:16 
k5dlq
Member
Joined: 2012-05-11- 08:05:13
Posts: 233
Location: Magnolia, TX USA
 
http://localnode:8080/cgi-bin/sysinfo provides some of that detail. It's a page that is not linked from the menu, but, does exist.
IP Logged
Darryl - K5DLQ
www.aredn.org
 Subject :Re:Re:Model ID display.. 2015-02-01- 10:26:26 
VE3CWU
Member
Joined: 2014-07-28- 08:37:55
Posts: 20
Location: Mississauga

Interesting "secret" page link. Does have the information I was referring to, but would like to see the info displayed "easier" on one of the node web pages, either the front page, an OLSR page, or a Setup page.

Are there any other neat-o "secret" pages?  hi,hi

thanks, 73, bob

IP Logged
Last Edited On: 2015-02-01- 10:27:50 By VE3CWU for the Reason
ve3cwu at rac.ca
 Subject :Re:Re:Re:Model ID display.. 2015-02-01- 10:34:42 
k5dlq
Member
Joined: 2012-05-11- 08:05:13
Posts: 233
Location: Magnolia, TX USA
 

one other page shows firewall rule config... /cgi-bin/fwinfo

I have build a sysinfo.json page that returns this type of data as a json doc, which can be integrated into scripts/applications/other pages easily.

I have a script that will crawl the mesh nodes I am connected to and return info about them (HWtype, FWversion, etc)

d

73, K5DLQ

IP Logged
Last Edited On: 2015-02-01- 10:37:01 By k5dlq for the Reason
Darryl - K5DLQ
www.aredn.org
 Subject :Re:Model ID display.. 2015-02-01- 10:42:08 
KF5JIM
Future Astronaut
Joined: 2013-07-17- 12:13:36
Posts: 250
Location: Nederland

And that's pretty much all the "secret" files.  And for fun, here is a list of files located in the cgi-bin folder:

[paul@CentOS www]$ ls -lh cgi-bin/
total 160K
-rwxrwxr-x 1 paul paul 17K Jan 27 22:42 admin
-rw-rw-r-- 1 paul paul 5.3K Jan 29 12:05 channelmaps.pm
-rwxrwxr-x 1 paul paul 338 Jan 27 22:42 fwinfo
-rwxrwxr-x 1 paul paul 12K Jan 27 22:42 mesh
-rw-rw-r-- 1 paul paul 35K Jan 28 21:45 perlfunc.pm
-rwxrwxr-x 1 paul paul 26K Jan 27 22:42 ports
-rwxrwxr-x 1 paul paul 1.5K Jan 27 22:42 scan
-rwxrwxr-x 1 paul paul 24K Jan 27 22:42 setup
-rwxrwxr-x 1 paul paul 4.9K Jan 27 22:42 signal
-rwxrwxr-x 1 paul paul 9.3K Jan 27 22:42 status
-rwxrwxr-x 1 paul paul 962 Jan 27 22:42 sysinfo
[paul@CentOS www]$ 

IP Logged
My opinions and views expressed here are solely my own.
 Subject :Re:Model ID display.. 2015-02-02- 07:56:46 
WB6TAE
Member
Joined: 2014-05-01- 23:48:12
Posts: 70
Location

Darryl:

I'd be interested in trying your mesh crawler if you are willing to share your code.

Thanks

Richard



[k5dlq 2015-02-01- 10:34:42]:

...I have a script that will crawl the mesh nodes I am connected to and return info about them (HWtype, FWversion, etc)

IP Logged
Last Edited On: 2015-02-02- 07:57:17 By WB6TAE for the Reason
 Subject :Re:Re:Model ID display.. 2015-02-02- 08:24:05 
k5dlq
Member
Joined: 2012-05-11- 08:05:13
Posts: 233
Location: Magnolia, TX USA
 
I'll dig it up. I built a sysinfo.json page and added it to /www/cgi-bin to support my script. Will try post it tonight or tomorrow.
IP Logged
Darryl - K5DLQ
www.aredn.org
 Subject :Re:Model ID display.. 2015-02-02- 15:22:20 
k5dlq
Member
Joined: 2012-05-11- 08:05:13
Posts: 233
Location: Magnolia, TX USA
 

on each of your nodes...

ssh into your nodes:

cd /www/cgi-bin
wget http://www.k5dlq.info/mesh/sysinfo.json
chmod +x sysinfo.json

Now, on a PC/Mac/Linux box, etc with Python installed....

wget http://www.k5dlq.info/mesh/meshcrawler.py
python meshcrawler.py

Enjoy.


IP Logged
Darryl - K5DLQ
www.aredn.org
 Subject :Re:Re:Model ID display.. 2015-02-02- 15:37:30 
WB6TAE
Member
Joined: 2014-05-01- 23:48:12
Posts: 70
Location


Cool




[k5dlq 2015-02-02- 15:22:20]:

Enjoy.



IP Logged
 Subject :Re:Re:Re:Model ID display.. 2015-02-07- 08:33:07 
WB6TAE
Member
Joined: 2014-05-01- 23:48:12
Posts: 70
Location
Darryl: I have installed the crawler and made a few upgrades, and 1 bug fix. I sent an email to the gmail address listed in your whois record. Did you get it?
IP Logged
 Subject :Re:Re:Re:Re:Model ID display.. 2015-02-07- 08:38:21 
k5dlq
Member
Joined: 2012-05-11- 08:05:13
Posts: 233
Location: Magnolia, TX USA
 
didn't get it, but you can email me at my callsign @arrl.net Darryl - K5DLQ
IP Logged
Darryl - K5DLQ
www.aredn.org
Page # 


Powered by ccBoard


SPONSORED AD: