Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3

Thread: Scan network

  1. #1
    New Coder
    Join Date
    Jan 2012
    Posts
    15
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Scan network

    I would like to develop some type of "status" monitor that will tell me if certain devices on my internal network are alive/on or not. On my network I don't have a DNS server and all devices are on DHCP.

    I figure I'll need to have (probably nmap) return to me the IP address of the device and the MAC address. If I have the MAC address I can display to the user the common name.

    Any good place to start?

  • #2
    Senior Coder
    Join Date
    Feb 2011
    Location
    Your Monitor
    Posts
    4,395
    Thanks
    61
    Thanked 535 Times in 522 Posts
    I think you're going to face an uphill struggle doing this in a web orientated language like PHP. Sure, php doesn't have to be used for the web and can do many things from a console but what you want to do is something very rare and therefore you'll not get much help with it.

    If I'm honest, you're gonna be better off doing this in a windows programming language like c#, java, VB delphi etc.
    See my new CodingForums Blog: http://www.codingforums.com/blogs/tangoforce/

    Many useful explanations and tips including: Cannot modify headers - already sent, The IE if (isset($_POST['submit'])) bug explained, unexpected T_CONSTANT_ENCAPSED_STRING, debugging tips and much more!

  • #3
    Regular Coder hinch's Avatar
    Join Date
    Sep 2005
    Location
    UK
    Posts
    923
    Thanks
    25
    Thanked 80 Times in 80 Posts
    Quote Originally Posted by tangoforce View Post
    I think you're going to face an uphill struggle doing this in a web orientated language like PHP. Sure, php doesn't have to be used for the web and can do many things from a console but what you want to do is something very rare and therefore you'll not get much help with it.

    If I'm honest, you're gonna be better off doing this in a windows programming language like c#, java, VB delphi etc.
    kind of right its pointless doing it purely in php.
    but there are already hundreds of network and service monitoring tools out there for windows and linux all mostly opensource why re-invent the wheel.

    Nagios,cactus,ingica,MRTG.....
    A programmer is just a tool which converts caffeine into code

    My work: http://www.fcsoftware.co.uk && http://www.firstcontactcrm.com
    My hobby: http://www.angel-computers.co.uk
    My life: http://www.furious-angels.com


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •