Finding out all systems connected to a LAN

Hi All...I am interested to find out all the systems connected to my LAN...Could any one pls provide some clue about...Thx

First we have to agree on what 'connected' means. If you just mean a piece of wire, it can't be done. If you mean that all the systems are both physically connected and logically connected via IP, and that they're all in the same IP subnet or a limited number of discoverable subnet(s), and that you can determine what the IP subnet is/are, and that they will all respond to ICMP 'ping' or TCP 'echo' requests, or better still a UDP broadcast to each subnet, and that all this will reliably happen at the time you do the query, it's just a matter of iterating over the possible IP addresses in the subnets and calling InetAddress.isReachable(), or sending a UDP broadcast to each subnet's broadcast address and seeing who responds, repeating a few times to take account of possible UDP datagram losses.
In general you can't rely on all these conditions being met.

Similar Messages

  • How to find out the systems connected to a network

    Hi,
    I wanna find out the Systems (IPAddresses) that are currently connected to my network.
    I wanna know the classes & methods and also the logic to implement it....
    (Similar to Network Neighbour Hood of Windows OS)

    Ask your network administrator for a list. There is no reliable way to do it from a program.

  • Find out all machine name in your Lan

    Just found a tool doing that, named IPScanner. It's free.
    get it here: http://10base-t.com/premier.html

    There is no native way in AS3 to describe time zones like you want. And such functionality should not be a part of Date() Class for time zones are described in every country differently and Date class needs to be scalable.
    So, you need to create an array of time zone descriptions yourself and read it based on time zone offset. It is an extremely easy thing to do - there are only 24 hours - thus only 24 possible time zones.
    Message was edited by: Andrei1

  • Finding IP address of all computers connected to a LAN

    Not sure if this is the correct place to post but I would like to know how I find the local IP address of all computers connected to my LAN without manually entering ifconfig | grep inet on every machine

    Do you need to know specifically which IP address is used by which machine? or just a list of IP addresses that are used?
    If the former, there really isn't much option other than walking through the machines. You can query the ARP table to find the MAC address of each machine but unless you know the MAC address of every device on your network that's not going to help much.
    If you just need a list of used addresses, though, then pinging the broadcast address should get you close. The broadcast address is the last address in your subnet, so if you're using 192.168.1.x with a subnet mask of 255.255.255.0 then your broadcast address is 192.168.1.255.
    In that case:
    ping -c 1 192.168.1.255
    will send out a broadcast ping which should get returned by every device on the LAN. Note that some devices may be configured to not respond to broadcast pings, so it may not be an absolute list.

  • How do I find out who is connected to my airport extreme?

    I have a motorola WPS870G wireless printserver that has an old HP LJ4 attached via parallel. I had a netgear router and all was good. I had it set up so that the router always assigned the same IP address to the print-server, and then I had my G4 set up to print to that IP address - then shared the printer to my MBP along with the other two printers attached to the G4 which is really now just a server in the closet. Anyway, when I switched over, I can't figure out how to find what IP address is being assigned to the printserver now nor how to make sure it's fixed. I've logged onto the printserver and set it to ask for the same IP address every time from the extreme and it does show that it's connected (based on the lights that are lit). I should also share that I first had to change the network SSID and the WEP pw to match the new network. I first tested to make sure it disconnected from the old network, then made sure the lights came back on for the new network. But now I cant figure out what IP address it's connected to. Ultimately, I need to be able to hard code that into the shared printer on the G4 to get everything back in working order. Any suggestions on how to get this printer working?
    Thanks.

    I'm not sure if this is what you're looking for, but you can find out who's connected by using something like Airport Monitor Utility (3rd party software) or you can use Apple's Airport Utility. Apple's Utility will also let you change settings if you don't like what you find, so we'll use that for this little example.. Please read through this whole thing before you attempt it so you know what to expect at each part and how it relates to later information. Note this will only work if the parallel print-server is connected directly to the AirPort router by wireless or wired connections. If there are any in-between routers, these directions may fail to help you and you should consider reconnecting the print-server directly to the AirPort base station.
    First, write down the MAC address of the print server (or ANY other device) you need to configure for a "static" address. In this case, I mean static address not by the sense that we are not using DHCP to assign it, but in the sense that ultimately it doesn't change so your Macs and other computers/devices can always find it on the network.
    * If you can't find the MAC address of the print-server or other device in question, then the only other way to go about assigning it a non-changing address will require that you can access that devices internal network setup configurations (some helpful directions on that at the bottom of this text) and set the device's DHCP Client ID to something that you will set the Airport to look for later when it assigns the print-server its connection address. MAC Address is probably easiest to use because you may be able to find the MAC Address of the device on a sticker on its case. If you can't see a MAC Address listed on the device or it has been altered through settings and you can't access the device's setup configuration pages over the network to find its current Mac Address, you may still be able to figure it's MAC Address out by following the monitoring directions immediately below.
    Using Airport Utility v5.3.2, here are directions for monitoring and assigning addresses, etc:
    * How to see who's connected....
    1. Open Airport Utility.app
    2. Select the appropriate Airport base station.
    3. Click "Manual Setup" at the bottom.
    It will read settings for a moment, then you should see info on the station itself. If not, click the Airport logo on the left side of the top bar of icons to take you back to this top menu page and click the "Summary" sub-tab on the left below it.
    NOTE: A lot of people don't realize the fact that this "info" is actually a menu with hidden shortcuts that lead to a lot of advanced useful features that otherwise you might take a while to hunt down navigating icons and tabs above. You have to actually mouse over each line to figure that out.
    4. To find out who's connected, mouse-over the entry that says Wireless Clients until it has a right-pointing arrow in a circle appear to alert you that it's now a link. Clicking "Wireless Clients" will be a shortcut that saves you a lot of time and clicking that would equate to clicking the obvious controls above in the order: icon "Advanced", then tab "Logging", then page link "Logs and Statistics" then tab "Wireless Clients".
    Note: This info is not a static display, but an active charting of who's connected, at what speeds, with what signal to noise ratios. It updates very quickly.
    5. From here, you can click the "DHCP Clients" tab to see all the devices connected to this basestation by either wireless or wired connections and their relevant MAC addresses, etc. This page unfortunately has no direct quickly like its neighboring tab for Wireless clients, but at least you have a shortcut now to get you to this pages nearest neighboring tab which does save some time.
    Note: This info will be helpful to figure out what's going on with your print-server or other routers/devices if you know their MAC addresses. You can find the MAC address on most devices on a sticker somewhere on the bottom or back side of the device if you can't pull up a configuration page on it to tell you. Some devices can have their MAC addresses reprogrammed through their configuration pages. Be aware of that possibility if you can't find the expected MAC address connected in this list. If you can't figure out which MAC address is your print-server, disconnect it from AirPort and see that a device disappears from the list. Then reconnect it and the device that is added to the list again is the MAC address you are looking for. Write this down for the next section. If it doesn't appear in this list, then we have a real problem with the connection like possibly the print-server device's internal networking settings are messed up and need to be reset to defaults. There is some info on how to go about that at the bottom of this text.
    Now, on to forcing a DHCP device connected to AirPort routers to always use a particular address:
    Once you have an idea what the MAC address is of the device you want to force to use a static address, you can go about it two ways. Either you assign it an address permanently in its own configuration page (if accessible) after turning off its DHCP setting to static, or you can use its DHCP setting to set the address with the Airport Router automatically to the same address every time it reconnects to the network or is turned back on, etc. The steps with Airport need to start the same way in either case.
    1. Same as before, if you haven't already, open Airport Utility, select router, click "Manual setup"
    2. Click the "Internet" icon at the top. Then click the DHCP subtab.
    3. To keep other devices from "Stepping on" your address that you want to assign permanently to the printer or other device, make sure the static address you choose is outside of the range of DHCP addresses setup on this page. If not, other devices could take the address away from time to time and it will cause you headaches.
    Once that's set so you have an address protected from other devices getting assigned to via DHCP by limiting the DHCP address range not to include it, here's where you must choose which route to use to assign the address. You can either assign it in the printer's web-reachable configuration page (if you can figure out how to get to it and have the passwords, etc to do it, and its configuration is capable of accepting static addressing etc.. ) OR you can assign it directly from Airport's configuration (recommended). This is how to do it in Airport Utility from the DHCP controls we just opened:
    1. Under the "DHCP Reservations" section, we want to click the add "+" button to set up your printer or other device for a static (but assigned) address that won't change..
    2. Enter a description like "printer" or "print server" or what have you.
    3. Select reservation by "MAC Address", then click "OK".
    NOTE: You can use the reservation by "DHCP Client ID" to set this up as well, IF the device has a unique Client ID set in its configuration settings. I don't recommend doing so for two reasons. MAC Addresses are more hardware based, and thus, a more stable method of identification that isn't likely to change and cause you grief later. DHCP Client IDs are software-set and more subject to get wiped out if the device is reset than its MAC address as well there is the potential for two devices to be set to the same DHCP Client ID if one isn't careful, which would also cause confusion for AirPort. Most networking devices won't let you "fake" their MAC address using software settings, so MAC address can be considered the most stable and desirable method of identifying a non-computer on your network. Computers are the most likely culprits for spoofing different MAC addresses through software, so likely you don't have to worry about that with your print-server, although it's dependent on the manufacturer and what they gave it the capability to do.
    4. Now here you enter the MAC address (or DHCP Client ID if so directed) of the print-server or other device you want to permanently assign the address you've chosen.
    5. Lastly, enter the static IP address you want it to take on each time it is reset and requests and address again from AirPort and click done. This address will always be held available and assigned every time by Airport each time the device with the MAC address you gave it asks for a DHCP address assignment. Thus, while the device thinks its being assigned dynamic addresses, its just using the DHCP process to be assigned the same address every time by AirPort..
    6. Save the changes you just made to your Airport configurations for DHCP assignments and reservations and then after Airport restarts, power-cycle your printer or other device you just setup by matching MAC address in Airport Utility and it should be assigned the new address you just specified.
    7. AIRPORT TEST: Go back to the first directions in this piece to check the DHCP device connections. You should see the Mac address of the printer show up with the correctly assigned "static" IP address now in this list. If you don't, then perhaps the printer or other device assigned isn't set up for accepting an address by DHCP in its own settings. Usually this is a default behavior for any device connected to a network. If you can't open the configuration settings, at your option, you may find a pin-hole reset switch on the device you can use to reboot it with original hardware configuration settings that probably are set to DHCP.
    8. Don't forget to go change your print-server settings in System Preferences of all Macs connected (and printer settings of any PCs). Your Mac needs to know the print-server's new 'permanently' assigned address in order to find it.. Be sure to save the changes..
    ** Be careful that you know what you are doing if you have a device that doesn't want to cooperate the way you think it should with your AirPort router. If you can't access the devices internal configuration settings in your web browser by typing its current IP address in the URL format http://.xxx.xxx.xxx.xxx, you should lookup the device manufacturer's website and search it for their support info on the device for its setup, default user-name/password and default network configuration and IP address settings to understand why you are still having trouble before you resort to resetting it by hardware reset switch. Hardware resets can sometimes have very bad results. Avoid this until the software configuration route can't be achieved by any method you try.
    If you have any PCs that need to find the print-server and that setup proves to be too difficult, sometimes it helps to install Apple's Bonjour software for PCs (running Windows 2000, XP, or Vista only).... It will try to automatically locate any printers or print-servers on your network, but also makes the set-up a lot easier in general in most cases...
    I hope that helps.

  • How to find out all user exits edited

    Hi All,
    Would you know how to find out all user exits have been ever edited?
    Can we find out those user exit by some tcode or table?
    Thank you very much
    Best Regards,
    Calvin
    Edited by: Sam Sum on Mar 2, 2009 5:09 AM

    Hi,
    Just try this in your system.
    Go to SE38 and give ZX* and press F4.
    Have a look at table MODATTR to find the active projects in your system.
    Regards
    Edited by: Rajvansh Ravi on Mar 2, 2009 5:17 AM

  • How can i find out all the different meanings of  User ID Paramtrs (USR05)?

    Dear Gurus
    How can i find out all the different meanings of  User ID Parameters (table USR05)?
    Thanks
    Nuno Natividade

    hi,
       the values are stored in the table tpara and they are used to put the landscape of the system,and to know the log of the system.
      FORM DETERMINE_LANDSCAPE .
        SELECT SINGLE * FROM USR05
                        WHERE BNAME = SY-UNAME
                            AND PARID = 'ZLANDSCAPE'.
        IF SY-SUBRC = 0.
          IF NOT USR05-PARVA IS INITIAL.
       REPLACE
          ELSE.
            PERFORM DETERMINE_FROM_CENTRAL_SYSTEM.
          ENDIF.
        ELSE.
          PERFORM DETERMINE_FROM_CENTRAL_SYSTEM.
        ENDIF.
      ENDFORM.                    " determine_landscape
      FORM DETERMINE_LOG_PARAMETER.
        SELECT SINGLE * FROM USR05 WHERE BNAME = SY-UNAME
                            AND PARID = 'ZLOG_USER'
                            AND PARVA = 'X'.
        IF SY-SUBRC = 0.
          WITH_LOG = 'X'.
        ENDIF.
    <REMOVED BY MODERATOR>
    venkat.
    Edited by: Alvaro Tejada Galindo on Mar 4, 2008 12:47 PM

  • Where can i find out all the standared table name

    Dear Friend,
    could you please tell me where can i find out all the standard table names,
    ( for example: tstc for find all the T-codes) .

    HI Srinivas,
      DD02L has the name of all the TABLES in the SYSTEM. It has both SAP and Customer's TABLES.
      First of all exclude all Z* and Y* tables from dd02L. Still there are many tables in CUSTOMER NAMSPACE.
      So make a program, LOOP at all entries of DD02L and then check the name space of each entry using the function module:-
    <b>TRINT_OBJECT_NAMESPACE_INFO</b>.
    If the namspace is not EQUAL to 'S', then dont count that entry else add one to the counter.
      This would tell you all SAP Standard Tables in the system.
    Thanks and regards,
    RAVI :).
    NOTE: Points keep me alive on SDN .

  • Find out all SAP Standard Objects which are Modify

    Hi
    How can i find out all SAP Standard Objects which are Modify?
    Regards
    Vikram

    Hi,
    You can find all SAP objects list via t-code SWO2, as to these objects, if you want to change anyone of them, you should apply an access key in advance from http://service.sap.com, otherwise you can not modify any object in SAP system.
    Good luck
    Z.T

  • I want to buy a hard case for my macbook pro, but I don't know what year it is. When I use the serial number to try and find out, all it says is, "~VIN,MacBook Pro (15-inch Glossy)". When I type that into amazon for a case it gives me nothing!

    I want to buy a hard case for my macbook pro, but I don't know what year it is. When I use the serial number to try and find out, all it says is, "~VIN,MacBook Pro (15-inch Glossy)". When I type that into amazon for a case it gives me nothing!

    Hi T,
    Either of these will give you the info you seek:
    http://www.appleserialnumberinfo.com/Desktop/index.php
    http://www.chipmunk.nl/klantenservice/applemodel.html

  • Find out all usages of an annotation at runtime

    Is there any way to find out all usages of an annotation at runtime? Hypothetically, something like Annotation.getDeclaringElements() which would return AnnotatedElements to which the specific annotation has been applied?
    JSR 269 is out of question, as I need this at runtime (correct me, if my requirement does not imply my claim here). Think of a framework which needs to discover all uses of its own annotations in an arbitrary target environment. In addition, classes loaded at arbitrary points in runtime should be detectable if the discovery is made afterwards.
    Performance is not critical: enumerating all classes of all ClassLoaders and checking each class and its members would do. Is there a way to enumerate all classes for this purpose?
    Is there any way to hack around any/all limitations, using whatever non-elegant, ugly ways to achieve this?

    hey. I don't know if there is anything like that out of the box, but might use bytecode instrumentation/analysis with the -javaagent-switch. It will give you the chance to analyse everyclass that is getting loaded into the JVM. Look here for more info: http://java.sun.com/javase/6/docs/api/java/lang/instrument/package-summary.html
    I think the catch with the classloader is, that you never know if another class will be loaded in future.
    joh

  • How to find out all the OKCODEs for a particular screen?

    I am working on t-code CL20N and trying to record with t-code SHDB, in the second screen when I press enter it is coming out, but when I run CL20N without SHDB it is going through all the screens perfectly, SHDB is not working for CL20N.
    Is there any other way to find out all the OKCODEs for a particular screen/s?

    Hi,
    First look for any push button or menu item which can take you to the second screen instead of hitting enter directly in tcode CL20N . If any such button exist in the TCode, u can use the same button in SHDB also for moving to the  second screen.
    Thanks,
    Rajinikanth G

  • Table Name or Function Module to find out all the Screens & Subscreens for

    Hello Experts,
          Table Name or Function Module to find out all the Screens & Subscreens for all T-Codes
    Helpful Answer will b rewarded
    Arif Shaik

    Hi Balaji,
       But TSTC only Gives the Program Name , T-Code and Screen but not all the Subscreen details
    Any other which U know

  • How to find out all the tables in a schema with a particular column

    Hi
    Is there a way to find out all the tables in schema1 that has col1 as one of the columns?

    select table_name from dba_tab_cols where owner='schema' and column_name='col1';

  • How to find out all the text elements in the report using Java?

    How to trace the contents of an rpt file?
    I am able to open the rpt file in my report viewer but can not trace it using the JAVA code.
    Actually, I need to find out all the text elements of rpt (Report) file and replace them with the contents of resource bundle.
    My Java code to open a report is given below:
    import com.crystaldecisions.reports.sdk.ISubreportClientDocument;
    import com.crystaldecisions.reports.sdk.ParameterFieldController;
    import com.crystaldecisions.reports.sdk.ReportClientDocument;
    import com.crystaldecisions.sdk.occa.report.data.ConnectionInfo;
    import com.crystaldecisions.sdk.occa.report.data.ConnectionInfos;
    import com.crystaldecisions.sdk.occa.report.data.Fields;
    import com.crystaldecisions.sdk.occa.report.data.IConnectionInfo;
    import com.crystaldecisions.sdk.occa.report.data.ParameterField;
    import com.crystaldecisions.sdk.occa.report.data.ParameterFieldDiscreteValue;
    import com.crystaldecisions.sdk.occa.report.data.Values;
    import com.crystaldecisions.sdk.occa.report.lib.IStrings;
    import com.crystaldecisions.sdk.occa.report.lib.PropertyBag;
    import com.crystaldecisions.sdk.occa.report.lib.PropertyBagHelper;
    import com.crystaldecisions.sdk.occa.report.lib.ReportSDKException;
    import com.crystaldecisions.sdk.occa.report.reportsource.IReportSource;
    public String viewRpt()
                   //1.) Setting Database Infos
                            IConnectionInfo iConnectionInfoObj=setDatabaseConnectionInfos();
                   //2.) Setting Report Path
                   String reportPath=u201DE:
    was60
    rptFilesLocation
    u201D;
                   reportPath=(reportPath!=null)?                                             reportPath:AppConstants.CONSTANTS.BLANK;
                   String reportName="report1.rpt";
                   String reportFullPath = reportPath +   rptName;
                 //3.) Setting Report Source
                             ReportClientDocument reportClientDoc = new ReportClientDocument();
                                              reportClientDoc.open(reportPath, 0);
                  IReportSource reportSource = reportClientDoc.getReportSource();
                  setReportSource(reportSource);
                  reportClientDoc.close();
              //4.) Setting the Fields Starts
              setFieldsCrystal(null);
              Fields fields = new Fields();
              ParameterField pfield1 = new ParameterField();
              Values vals1 = new Values();
              ParameterFieldDiscreteValue pfieldDV1 = new ParameterFieldDiscreteValue();
              pfield1.setName("@parameter1");
              pfieldDV1.setValue(u201Cvalue1u201D);
              vals1.add(pfieldDV1);
              pfield1.setCurrentValues(vals1);
              fields.add(pfield1);
              pfield1 = new ParameterField();
              vals1 = new Values();
              pfieldDV1 = new ParameterFieldDiscreteValue();
              pfield1.setName("@parameter2");
              pfieldDV1.setValue(u201Cvalue2u201D);
              vals1.add(pfieldDV1);
              pfield1.setCurrentValues(vals1);
              fields.add(pfield1);
              setFieldsCrystal(fields);
              //Setting the Fields Ends
    The sample jsp code to view the report is as follows:
    <%@taglib uri="http://www.businessobjects.com/jsf/crystalreportsviewers"
         prefix="bocrv"%>
    <bocrv:reportPageViewer viewerName="CrystalViewer"
                                                 reportSource="#{CrystalReportBeanObject.reportSource}"
                                                 displayToolbarRefreshButton="false"
                                                 allowDatabaseLogonPrompting="false"
                                                 allowParameterPrompting="false"
                                                 databaseLogonInfos="#{CrystalReportBeanObject.connectionInfosCrystal}"
                                                 parameterFields="#{CrystalReportBeanObject.fieldsCrystal}"
                                                 displayGroupTree="false" displayToolbarLogo="false"
                                                 displayToolbarToggleTreeButton="false"
                                                 enablePageToGrow="false" height="540"
                                                 zoomPercentage="100" width="750"
                                                 allowDrillDown="false"
                                                 displayToolbarPrintButton="true"
                                                 printMode="PDF"
                                                 ></bocrv:reportPageViewer>
    Edited by: JayKumarSharma on Mar 23, 2011 12:42 PM

    This is how you retrieve all the text fields in the reort:
    ReportObjects reportObjects = (ITextObject) oReportClientDocument.getReportDefController().getReportObjectController().getReportObjectsByKind(ReportObjectKind.text);
    for(int i=0; i< reportObjects.size();i++)
    ITextObject textObject = (ITextObject)reportObjects.get(i);
    // use ReportObjectController to modify the text object.
    If you want to modify the contents of the text element, you can do it as follows:
    TextObject oTextObject = new TextObject();
    Paragraphs oParagraphs = new Paragraphs();
    Paragraph oParagraph = new Paragraph();
    ParagraphElements oParagraphElements = new ParagraphElements();
    ParagraphTextElement oParagraphTextElement = new ParagraphTextElement();
    oParagraphTextElement.setText("This is the new text field");
    oParagraphTextElement.setKind(ParagraphElementKind.text);
    oReportClientDocument.getReportDefController().getReportObjectController().modify(textObject, oTextObject);
    oReportClientDocument.save();

Maybe you are looking for

  • Process Industry- How to map the Scenario?

    Dear Gurus, The is a Process Industry, Chemical Manufacturing Unit, which does the following sequence of Operation to get the Semi finished material. 1) Acid, TC, and Catalyst are 3 Raw materials 2) Acid, TC and catalyst after being put into reactors

  • Can anyone help me understand what this problem is with Desktop Manager that I am having???

    Hi everyone! I have downloaded the Desktop Manager Software on to my desktop. I've clicked on the "media"  option in the main menu. I am brought to a screen that has 2 options. "Media Manager" and " Blackberry Media Sync". Now, I want to download the

  • Mini not starting up after auto firmware update

    The software update program suggested an upload of a new firmware. The software update concluded and I was advised that the system needed to restart. The system shutdown but during restart did not progress beyond the apple icon and the little rotatin

  • Paste a label on a Disk?

    I know that this will make most of you laugh, but can I paste a label of write with ink on the face of a disk without damaging it or making it unusable?

  • Artwork on ipod but doesn't show up when synced to itunes

    I have a first gen. touch and I just downloaded the latest version of iTunes onto a new computer running Windows 7. Everything is working fine expect that when the touch is synced the artwork on the ipod doesn't show up in the itunes display window.