Detect device over ethernet

Hi Everyone,
I would like to know how do i detect device connected over ethernet by using labVIEW?
My require is:
I have to develop a code which detect any device connected to ethernet port.(The external device which is connected to ethernet port may be anything)
I would like to get the IP of the device connected to my ethernet port using labVIEW.
It will be really grateful if anyone can help me to resolve this.

A brute force method which is commonly used is to send a ping packet to every IP address in the subnet(s) you are interested in. This is not guaranteed to work since some devices will not reply to ICMP ping packets for security reasons. Another approach which again guaranteed to work and will more likely find fewer devices would be to send a SNMP request for the system description (1.3.6.1.2.1.1.1.0) . If a device supports SNMP they will generally respond to this request.
Many devices, especially network infrastructure devices, will not be easily managed. They will have security enabled to limit access to them. Part of this security will be to limit what types of communications they will accept and who they will talk to. Simply finding an IP address active on a network will not provide you with too much information about the type of device it is and how you may communicate with it. There are lots of network protocols out there and many devices have very specific ones they use. A general purpose network manager that can find and communicate with anything on the network is a daunting task and one that most likely will not be possible to implement. At best you will be able to find a subset of devices. As I mentioned even the most basic ping packet will not guarantee you will find everything.
I'm not trying to rain on your parade but trying to let you know that you are trying to accomplish something that will most likely impossible to actually do. Probably the most effective way, but not very practical,  to at least find eveything would be to implement a port scanner that would exhaustively go through every IP address in your desired range and attempt to establish a connection on every TCP port (you could stop once you get a response). If a device is on the network it more than likely will communicate on at least one TCP port. All this would tell you though is that there is a device at that IP address that communicates using port x. However, as I cautioned before this type of activity will very quickly get the attention of the network staff managing the network you do this on.
Mark Yedinak
"Does anyone know where the love of God goes when the waves turn the minutes to hours?"
Wreck of the Edmund Fitzgerald - Gordon Lightfoot

Similar Messages

  • How to detect device connected to Ethernet

    Hi,
    How do I detect devices connected to Ethernet using LabVIEW.
    My requirement is:
    I need to detect all devices connected to ethernet in my network.Need to list down all IP of the devices.
    Can anyone help me in this...

    Found it. However its written a long time ago when I still created spagetti diagrams that give you eye diarrhea, and its bad coding. If someone should use it and cleans it up, please post the cleaned up version
    It uses the arp command. prob. other ways to solve this too
    Attachments:
    IPMAC_scanner.vi ‏33 KB

  • How to print on HP LaserJet 2200 over Ethernet?

    Hi,
    I did an upgrade to Snow Leopard and would like to print on a HP LaserJet 2200 over Ethernet. OS X and the HP printer drivers are up to date now.
    The printer has been cold reset and on the configuration print out there's the IP address 0.0.0.0
    Now my question is how to get this printer to work with Snow Leopard over Ethernet? I did not find a tutorial how to assign an IP address to the printer first so I got stuck.
    Could you give me a hint where I should start with the configuration first?

    OK, now the printer works
    I reset the router and checked if DHPC is running.
    I reset the printer (hold down the GO button, turn the printer on and continue to hold the GO button for five to ten seconds).
    Checked at router that the printer is visible as network device.
    At the router I assigned a fixed IP address to the printer.
    At OS X System Preferences > Printer I added a new printer with "HP Jetdirect - Socket", the fixed IP address and the correct printer driver "HP LaserJet 2200".
    Now the printer has been recognized well by the system (Tray 3, Duplex and printer RAM) and printing works.
    THANKS.

  • How do I set up multiple Airport Expresses to connect over ethernet for Airtunes only?

    I am trying to set up an Airtunes network using an Airport Extreme and three Airport Expresses connected together via ethernet (CAT5 cable). At each Airport Express there will be a speaker setup. I don't need/want internet connectivity on the network, but not sure if it is required for setup or not. I have made this work over wifi, using the Expresses to extend the network, but struggling to get this to work over ethernet.
    I would be verry grateful of a step-by-step method to setting this up! I am also looking to set up 6 airport expresses to do the same thing in another location.
    Thanks in advance!

    Thanks for the info.
    I assume that the AirPort Extreme is setup and working at this point.
    Work with one AirPort Express at a time to get them all configured, and then you can locate them where they will be needed.
    AirPort Setup will configure the Express devices to "extend a wireless network" using Ethernet, so they will be broadcasting the same wireless signal as the AirPort Extreme and provide more wireless signal coverage as well.
    I have yet to meet the first person who thought that they had too much wireless coverage, but you would have the option to turn off the wireless on the Express if you wanted. Most users like having extended wireless for their devices.
    Temporarily, move an Express close to the AirPort Extreme
    Connect a spare Ethernet cable from one of the LAN <-> ports on the Extreme to the WAN "O" port on the Express
    Power up the Express for a few minutes
    Hold in the reset button on the back of the Express for 10 seconds and release. Allow a full minute for the Express to restart to a slow, blinking amber light.
    Click the Airport icon at the top of the Mac's screen and wait a few seconds for AirPort Express to appear just under the listing of New AirPort Base Station
    Click directly on the AirPort Express
    AirPort Setup will open up automatically and take a minute to analyze the network, then announce that the Express will be configured to extend the AirPort Extreme network.
    Enter a device name that you want to use....example.....Express1.....and click Next
    AirPort Setup will configure everything for you. Notice that the message will say that the Express is being set up to extend using Ethernet. When you see the message of setup complete, click Done.
    Now you can move the Express to the remote location where it is needed, hook it up to the Ethernet connection there, power up the Express and set up AirTunes on the device.
    AirTunes is enabled by default, to other than make the speaker connection, you won't have much to do on that.
    Set up other Express devices the same way, except assign a different name to each device....example....Express2, Express3, etc.....to keep things organized.

  • Streaming Problem - incomplete over ethernet

    Hi there,
    I have a problem with the streaming over ethernet from my Intel iMac, connected by ethernet to my Netgear WGR614v6 router, to my AppleTV (also connected to the router by ethernet).
    My iTunes library is around 120 GBs so I have chosen to stream the majority of my content and only sync the content that I cannot stream (photos). Most of my streaming seems to be OK but bizarrely there are a couple of items that I have updated in my iTunes Library that are not reflected on the AppleTV. These appear to be quite random and are not related (as far as I am aware) to problems with encoding.
    Basically I have a podcast subscription which I cancelled in my iTunes library which still appears on my AppleTV, I have a home movie (originally on VCD) in my iTunes Library which is not appearing on the AppleTV and I also have a couple of albums (encoded as VBR 250kbps .mp3 files) that are not appearing on the AppleTV.
    I have re-booted the iMac various times and done 2 factory restores of my AppleTV. Is there anything else I can do? Somehow I think the AppleTV just needs to be forced to re-examine the contents of my iTunes library?
    Any help or tips much appreciated.
    regards
    Raf

    Dear Winston and capaho - thanks for your quick responses.
    ROUTER - I did see some posts about issues with Netgear routers but they were all related to wireless connectivity issues. I am having no problems at all with streaming at sufficient rates and I imagine that issues with Linksys and Netgear routers pop up frequently because they seem to be ubiquitous devices for home users.
    FILE DELETION - I did check that the podcast from which I had unsubscribed really was deleted (and it was indeed gone) and I did check that the albums and home movie (.mp4 file as are all of my other movie files) was indeed present in my library.
    ITUNES LIBRARY.XML - I have identified this as the root of my problems because this .xml file still contains references to the old deleted podcast files and it does not contain references to the media I am missing.
    It appears that iTunes Library.xml corruption is a very common problem (seeing the number of posts on the "using iTunes for Mac" forum) and that is the source of my problem.
    Now to do some testing!
    thanks again
    Raf
    UPDATE: I quit iTunes, backed up and then deleted the .xml file from my "Music" folder in Mac OS X. When I next started iTunes it created a new .xml and this seemed to do the trick!
    Message was edited by: Rafael Sanchez

  • Image Capture not detecting Scanner over Network

    I have an Epson Workforce 610 which is installed as a network printer (wired ethernet) in my Home Office. OSX Mavericks will find and load the ppropriate drivers for the printer, and printing is fine. However Image Capture does not show the scanner portion in its window. Devices read as (0).
    If I connect via USB cable the Scanner shows up with no problem. Disconnect USB no scanner.
    Has anyone got a workforce 610 successfully scanning over ethernet?
    Thank,
    Douglas McLean

    DougMcLean wrote:
    The problem occurs when trying to use it via the network connection, at which point the printer shows up only as a printer. and can't be "added" as a scanner.
    Doug
    On the network computer, does System Preferences save it as a Shared Printer?
    The reason I ask is that I can't. 
    I can select and save as follows:
    But when I re-open System Preferences, the system has de-selected it:

  • Airplay not working over wireless, works over ethernet?

    I posted this in multiple forums in which it applies to.
    Just looking for troubleshooting suggestions from my wireless N MBPro, to my wired ATV2. Here is the rundown (all devices running latest updates):
    1)used to work just fine with old router
    2)airplay works in all directions, from wireless devises to the wired ATV2
    3)updated to a much newer N router from cisco
    4)now, airplay works over Ethernet from itunes to ATV2 (and iphone4s to ATV2), ATV2 plays music from my MBPro just fine
    5) however airplay fails to work from itunes to ATV2 over wirelesss
    6)all wireless connections are sound, it is not a bandwidth problem, it literally says "connecting to apple tv" and never stops or connects
    7)itunes sees the ATV2 just fine over both Ethernet and wireless connections, i can select ATV2 as an output even when on wireless
    8)it will even ask for the password once i select it
    So, any suggestions? I just dont know where I am going wrong, somehow the wireless aspect is the broken link. As a side note, all wireless clients and wired clients are on the same subnet.
    Thanks for any suggestions or help!

    I had the same problem.  Disable any IGMP, or IGMP proxy features on your router.  As soon as I disabled IGMP proxy on my router everything came up has been working for a while. Lack of driver support on the wireless clients is likely the cause. oh well, at least its working now.

  • Airtunes over Ethernet?

    I have an Extreme wireless network and a new Express with 802.11n. They're connected to each other via Ethernet to create a roaming network, which means the Express is operating in bridge mode. Everything works. I can stream Airtunes beautifully over the wireless network.
    I also have an older iMac without an Airport card. It's connected to network's wired LAN and it works fine on the network. Is it possible to use it as a music server over the wired LAN? iTunes Preferences > Devices is set to look for Airtunes connected speaker.
    Everything is on the same subnet.
    I have read of a setting in my Express to allow Airtunes over Ethernet but the selection isn't there in Airport Utility.
    So, is AoE possible?

    Apparently AoE is enabled by default. Airtunes works fine over the wired LAN.
    Airtunes without the Air. Hmm...

  • Power Over ethernet on Cisco switches - why??

    I administer 3 servers (two g4 towers and one xserve attached to an XCraid) and 50 Macintosh workstations in an agency/production group within a fairly large company (2000+). Like most major companies the majority of the computer and servers are Windows based (specifically DELL) with CISCO switches.
    I ran into a problem today where a switch was updated the "OS of the swithc" without my knowledge by our Infrastructure group. This resulted in a very high latency problem when pulling files from our Apple servers. After some digging we determined that the feature "Power Over Ethernet" had been disabled when they updated the switch's OS. Once we enabled PoE back on those ports, it was back to business.
    My question here is, why does this feature have to be enabled? All DELL servers reconnected without a hitch. I hear PoE is only really resevered for VoiP devices and such. What is it with Apple servers that need this feature turned on?
    Look forward to hear from you all.
    Xserver, Xraid, G5, etc   Mac OS X (10.4.6)  

    I can confirm that portfast makes a huge difference, as the autonegotiation between the switch and the client is performed inside of about 2 seconds, rather than the standard thrash-around period of about 40 seconds that some ethernet devices can use to determine line speed and simplex / duplex operation.
    Turn on portfast on any switch ports that you don't plan on using for trunking / uplinking. When you do this, it tells the switch that there isn't a managed switch / router downstream, so it doesn't need to try to negotiate routing protocols and whatnot - it greatly speeds up the autonegotiation process.
    Also, on some Cisco switches (We found it on a Cisco Catalyst 4006) if you lock the port to a specific operating speed / mode (e.g. 100Mbps / full duplex), the Mac doesn't like it nearly as much as if you leave it to autonegotiation. We were having the exact same issue the OP is seeing (limited bandwidth, massive CRC error count) until we put it back to auto and enabled portfast, and then we got the performance we expected, without recurrence of the issue.

  • Connect monitor over Ethernet

    Hi, I am trying to connect my MacBook Pro to my 30" Cinema Display in the other room. I do not want to spend hundreds on DVI cables to and then have to rewire my house. My house is already wired for Ethernet and I am wondering if it is possible to connect to the display through that cable. Thank you very much!

    This device also does dvi over ethernet and it mentions dual link capacity.
    http://www.bhphotovideo.com/c/product/537394-REG/ComprehensiveKramer_622R_622R_DVI_OpticalReceiver.html

  • Use Time Capsule over ethernet only?

    Running Mavericks.  Have a 2 TB surplus Time Capsule that I would like to use to back up an iMac using an ethernet cable between the iMac and the TC rather than wirelessly.  (I am trying to avoid yet another Wi-Fi device on my Airport Extreme network and the reduced performance that comes with extending a network.)  Indeed I have made this work per Bob Timmons prior posts by hooking the TC to both the iMac and temporarily to the Airport Extreme via ethernet cable.
    Due to house configuration, it is not possible for me to permanently run ethernet between the Airport Extreme and the TC.  In my experimenting, after setup I unhooked the connection between TC and Airport Extreme and the iMac and I thought the iMac was continuing to  recognize the TC and backup to it over ethernet, but after a re-start I cannot get that configuration to work again.
    1.     Do I understand that the design of the TC is such that it cannot be used as an attached ethernet hard drive for Time Machine backups unless it is at all times also connected to a [Airport Extreme] router?
    2.     If No. 1 above is true, is there any wireless configuration of the TC that would allow for the benefits of ethernet connection to the iMac but not have the permanent router/TC ethernet connection?
    3.  Finally, if I am out of luck on ethernet only from the iMac, since I don't use the iMac wirelessly for anything, can a create a new network with the TC and have the iMac wirelessly connect with that without a permanent router connection?
    Thanks very much

    Thanks for your insightful questions and comments!
    If you have an Ethernet cable connected to the iMac, the iMac will default to the Ethernet connection, even if wireless is on at the iMac.So, if you want to backup the iMac over wireless, you will have to manually disconnect the Internet Ethernet cable at the iMac every time that you want to back up the iMac. Once the backup over wireless is completed, then you will have to connect the Internet Ethernet cable again to the iMac.
    Is this true?  I was referring to the ethernet cable running between the iMac and the TC, not the main ethernet connection to my home network.  My entire goal here has been to simply hookup the TC to the iMac solely for backup purposes via ethernet.  However, you have convinced my I cannot do that without the TC also being connected to the Airport router at the same time., which I believe is not practical for the reasons below.  So again, assuming that the iMac is connected to the TC via the TC's separate wireless network, is not the ethernet cable between iMac and TC not used - or will the iMac communicate to the TC via faster ethernet  instead of defaulting to the slower wireless network?
    The iMac is about 12" away from the iMac and I am not trying to hide it - I just want to use it as a ethernet backup disk!
    I guess I'm wondering why.....if the Mac connects to the AirPort Extreme using Ethernet.....you cannot connect the Ethernet cable from the AirPort Extreme to the Time Capsule first, then connect another Ethernet cable from the Time Capsule to your iMac.
    Then, the iMac is always connected using Ethernet, and you won't have to use wireless at all. You can backup over the much faster Ethernet connection. Everything will stay connected all the time.....no cable disconnecting.....and you have the best performance as well.
    Good question!  My newly remodeled house has an ethernet network wired throughout.  One ethernet outlet per room.  (The Airport Extreme router connects to a Comcast modem via the ethernet network, each in separate rooms.  I was able to connect the TC to the Airport router using an 80 foot temporary cable running between rooms.)  Maybe there is a way to have the TC  "share" the iMac single ethernet port in the room that I am not aware of?   Appreciate your thoughts.
    But, again....If the TC and iMac will be close to each other....why mess with wireless and cable swapping when you can do everything over Ethernet, and always stay connected to the AirPort Extreme network.
    You are preaching to the choir.  I don't want to use wireless at all for backup or even have it on for my iMac.  The lack of a connection between TC and Airport router is what seems to be stopping me.
    The TC will create both a 2.4 GHz and 5 GHz network automatically. The iMac will look at both signals and choose the best with which to connect. If the iMac has line-of-sight, or is in the same room as the TC, then it will likely connect at the faster 5 GHz connection.
    And here is the last puzzle.  Assuming that I cannot resolve the ethernet to router issue, I am today backing up to the TC (also connected via ethernet cable to iMac) via the separate WiFi network created by the TC.  The backup has worked several times today.  Despite this, Airport Utility reports that the TC cannot be found even though it was "previously part of the network."  Any ideas on that one?
    Thanks

  • AirPort Express over Ethernet lost the connection

    I have an AirPort Express device. It's works well, if I connect it over WLAN. If I connect the AirPort Express over Ethernet via cable, then after about 15 minutes, I lost the connection between my PC and the AirPort Express.
    Does I have to change settings in my router?

    then when I try to switch it to extending
    That is not the correct setting to use.
    "Extending" is only used when an AirPort connects using a wireless connection to another AirPort router.
    When the AirPort connects using Ethernet, you have to use the "Create a wireless network" setting.
    It might be a lot easier if you simply start all over again and let the configuration "wizard" do most of the work for you. All that you really have to do is name the network, name the Express, enter the password and click Next.  Everything else is handled by the configuration utility.
    Post back if you are not sure how to do this.

  • Itunes over ethernet?

    I have a Mac Pro in my upstairs office and it is connected to the home network by an Ethernet hardwire. The router is a Netgear model.
    I also have a Windows laptop connected to the network in the family room via WiFi.
    Is there a way for me to use the Laptop to control the iTunes library on the Mac Pro and have the audio play through my home theater in the family room? The Home Theater has access to the hardwire Ethernet and I would prefer a solution that uses the hardwire NOT WiFi....
    Thanks,
    Pete D.

    Why are there ethernet ports on both the aiport and the aiport express
    So you can plug ethernet devices into them.
    In order to do audio over ethernet, you have to convert the audio to packetized data which would then have to be converted back to audio at the far end and fed to an amp.
    You would get a customized system installed to play audio/video over CAT5 ethernet.
    Or use wifi which should work anywhere in the house unless you have a lot of wiring in the walls, shielding the signals.
    You don't simply play regular analog audio thru an ethernet wire though it would be possible. If so, it would not be used for ethernet connection.
    Keep in mind that a CAT5 cable in the wall is not ethernet. Ethernet is a communications protocol that typically uses CAT5 cabling between devices (routers and switches).
    A bit about AoE-> Audio over Ethernett

  • Telephone line Extensions over Ethernet via SPA112 ?

    I saw a recommendation elsewhere and on this forum suggesting the SPA112 coul be used to extend phone lines (same number) to other rooms over ethernet.
    Here is what I want to do:
    I have exsiting IP based phone service provided by a company called Talkit (Canada). Talkit provided at Grandstream Handytone 286 ATA and I connected a cordless Nortel analog phone to it. Works ok.
    Now I want to put an extension of the same phone number into another room. I purchased two SPA112s to try to do this. I have established ethernet connectivity and I can see and configure both units.
    I connetced one unit to the phone line that runs from the Handytone ATA to my analog phone to one SPA112 and a second old analog phone in the second room to the second SPA112.
    I made the following config changes:
    I upagraded the FW to the latest version on both SPA112 units.
    I set
    Register to No
    Use OB proxy to No
    Make calls wo reg to Yes
    Ans call w/o reg to Yes.
    I was able ot get a dial tone on the second phone but when I dialed out to my cell phone I geta busy signal.
    Another issue is that the SPA112 connected to the Handytone ATA seems to stay OFF Hook.
    Please advise... or point to a document where I can read about how to set these up.
    I am assuming that I do not need to register the spa112s to my service provider proxy bu that rather that two spa112s will simply pass the incoming and outgoing calls thru.
    John

    John,
    Both the Grandstream Handytone and the SPA112 are what are called "ATA" devices. "ATA" stands for Analogue Terminal (or in some literature, Telephone) Adapter. That's to say that an ATA device converts from an IP-based voice connection to an analogue voice connection.
    The port that you connect your cordless phone to on the Grandstream ATA is, technically, referred to as an FXS port. An FXS port provides dial tone and battery voltage on an analogue line. The compliment to an FXS port, is an FXO port, which expects to have dial tone and battery voltage provided to it. Both the Handytone and the SPA112 have only FXS ports, so they all provide dial tone and battery, and thus are not compatible to be connected directly together.
    You would need a device (such as the previously mentioned SPA3102) which features an FXO port on one end of the ethernet connection, and one of your SPA112 ATA's on the other end of the ethernet connection.
    If I'm understanding what it is you're trying to accomplish correctly (and I believe I do), there are a couple suggestions I would make.
    First off, you can contact TalkIt, and explain that you wish to configure your own ATA device with their service, in addition to the one they provided you. They would need to provide you the SIP proxy and credential information for your phone accounts with them. You would then need to program that information into the SPA112 that is in the second room. As long as that SPA112 can get internet connectivity, it should be able to register with their call server, and you should be able to make and receive calls at the same number as the Handytone ATA, providing TalkIt will allow multiple registrations to the same account.
    Secondly, you can contact TalkIt, and explain that you wish to have them provide you an additional ATA configured with the same users / phone numbers as your current unit. Some providers are less prone to provide you with the information required to configure your own device, but they may be open to you purchasing / renting an additional unit that they provide, and configuring it in such a way that it shares the same number as the original ATA device they provided you with.
    Thirdly, you can purchase a SIP Gateway device, such as the SPA3102, which would provide an FXO port which you could connect to the FXS port of the Handytone ATA device, and then configure one of your SPA112's to make an IP connection to the SPA3102, and connect an analogue line to that SPA112.
    If you're not overly familliar with IP Telephony, I'd probably recommend getting a second ATA from TalkIt, as it would come preconfigured, and you would only have to plug it in for it to work. If they're willing to provide you with the SIP information, you may be able to configure one of the SPA112's that you already have, and just use that to connect to their service. This would probably be the least expensive option, but would require you to perform the configuration of the additional ATA device yourself. The third option, which most closely resembles your initial request, would not involve TalkIt, however it would involve purchasing the additional SIP Gateway device, as well as perform all of the configuration yourself. I, personally, have not configured a SIP Gateway device before, so I don't know exactly how involved that configuration is. Configuring the SPA112 shouldn't be too bad, but again, I've never configured it in exactly the way you're describing, so I can't say for sure. I've only ever used them to connect to a full IP PBX, or else a Hosted service, similar to the TalkIT provided Handytone unit.
    Hope this provides a little direction, and wasn't too confusing.
    Randy

  • Extending Wireless Network and Bridging Over Ethernet

    Have a TimeCapsule and Airport Basestation at home. Both are currently connected over wireless using the "Extend Wireless Network" feature.
    On each of the devices have several laptops, mac minis etc. connected over Ethernet (since wireless insufficient for our high speed data transfers etc.)... Trouble we are having is the speed/connection between both the TC and the AP, so considering to connect them both over Ethernet to improve.
    Question is once they are connected over Ethernet, what happens to the "Extend Wireless Network", how does the TC and AP know to either use the wireless or the Ethernet to connect with each other? Does one take precedence over the other?
    We want to keep them both on Ethernet and Wireless bridge ideally, so that at opposite ends the wireless network is extended for our iPhones and iPads and all devices connected on Ethernet benefit the speed boost over Ethernet, but just not sure how it will behave, and not sure how to test this scenario....
    So asking here instead
    Thanks!

    It sounds like you might want to configure your base stations into a "roaming network".

Maybe you are looking for