Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Fire a trigger, when a device comes online

Posted on 2010-11-17
6
Medium Priority
?
281 Views
Last Modified: 2012-05-10
Im working on a project, where I will need to be able to fire a trigger (either from within a SQL database or via a program) that will be trigged, when a device is connecting to our network.

Eg; when an employee approches the office, his phone will aquire an IP address from the WiFi network. At the same time (or almost) a program or trigger will match the phones MAC address with our listed MAC addresses, and add an entry to a table showing that the employee has arrived to the office.

My first idea was to query the DHCP server for leases to that given MAC address, but its not good enough due to the lease time.

Then I thought of a network scan to scan if the MAC address is available.

But im not exactly sure whats the best approch, and would very much like to hear if any body has any experience in this?

Thanks.
0
Comment
Question by:jesperhp
  • 3
  • 3
6 Comments
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 34154271
What wifi access point do you have? Perhaps you can use syslog. It should log when a new association is being made.
0
 
LVL 35

Expert Comment

by:Ernie Beek
ID: 34154277
That would also include the time of the association (arrival of the employee).
0
 

Author Comment

by:jesperhp
ID: 34154304
At the moment we are using soho versions of Linksys/Cisco.

I'm not familiar with querying the syslog - is there a standard for querying syslogs?
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:jesperhp
ID: 34154312
Also: will the syslog register when a device leaves the network?
0
 
LVL 35

Accepted Solution

by:
Ernie Beek earned 1000 total points
ID: 34154356
It's not really querying, you set the device up to send syslog to a certain machine/server. From there you can cath the syslogs with something like kiwisyslog: http://www.kiwisyslog.com/kiwi-syslog-server-overview/ (it's got a free version).

The AP's syslog should also log when a device is unregistrered from the wireless network.
0
 

Author Comment

by:jesperhp
ID: 34154836
Thanks - I will look into the syslog functions.
0

Featured Post

WatchGuard Case Study: Museum of Flight

“With limited money and limited staffing, we didn’t have a lot of choices in terms of what we could do to bring efficiency. WatchGuard played a central part in changing that.” To provide strong, secure Wi-Fi access within the museum, Hunter chose to deploy WatchGuard’s AP120 APs.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

In this article we have discussed about the OS X EI Capitan and how to fix Wi-Fi issue in OS X El Capitan. We have explained how to delete system level preferences and create a new Wi-Fi location to resolve Wi-Fi issue.
This subject  of securing wireless devices conjures up visions of your PC or mobile phone connecting to the Internet through some hotspot at Starbucks. But it is so much more than that. Let’s look at the facts: devices#sthash.eoFY7dic.
This Micro Tutorial will show you how to maximize your wireless card to its maximum capability. This will be demonstrated using Intel(R) Centrino(R) Wireless-N 2230 wireless card on Windows 8 operating system.
After creating this article (http://www.experts-exchange.com/articles/23699/Setup-Mikrotik-routers-with-OSPF.html), I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

971 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question