Results 1 to 6 of 6
  1. #1
    Administrator
    Join Date
    Jul 2006
    Location
    Milan, Italy
    Posts
    518

    Post How to know the MAC address of a machine (for license generation)

    To install a commercial license of Lightstreamer Server, we need to bind the license key to one of the MAC addresses of the machine (irrespective of the network adapter that will be actually used).

    To find out a MAC address of your machine, follow the steps below.

    Windows Platform
    • Click on START, and then click on RUN.
    • The RUN dialogue box will appear. Type CMD and press ENTER.
    • A DOS window will appear. This is also commonly called a Command Prompt.
    • Now type IPCONFIG /ALL at the command prompt and hit ENTER. This window will now display the configuration of all of your network adapters. If you have multiple network adapters in your computeryou'll see multiple addresses.
    • Now look for the Physical Address of any of the network adapters. It should look something like 00-35-CE-F5-AB-56.


    Linux/UNIX Platform
    • Obtain a command shell. This will vary greatly by implementation. If you are using a graphical environment such as KDE or GNOME, then look in the dock, taskbar, or program menus for Xterm, Shell, Terminal, Command Prompt, or similar. If your computer leaves you with a text screen after starting up, you probably already have a command shell.
    • Type /sbin/ifconfig -a at the shell prompt, then press Enter.
    • Note: If you see an error message to the effect of "permission denied", then instead enter su -c "/sbin/ifconfig -a" at the shell prompt, and enter the password for the "root" user if asked for it.
    • The window will now display the configuration of all of your network adapters. If you have multiple network adapters in your computer you'll see multiple addresses.
    • Now look for the HWAddr of any of the network adapters. It should look something like 00:35:CE:F5:AB:56.


    Mac OS X Platform
    • Open 'System Preferences' (usually found in the Dock) and select Network. Pick a location and specify the interface whose MAC address is desired in the Show: drop down list. For 'Built-in Ethernet', select the Ethernet tab. Read the MAC address labeled 'Ethernet ID:'. It should look something like 00:35:CE:F5:AB:56.

  2. #2
    Member
    Join Date
    May 2019
    Location
    Valladolid
    Posts
    1
    Thank you Alessandro, it's detailed and complete. I can see that the post is from 2013, is it still the way to operate?

  3. #3
    Yes, the instructions are still valid.

  4. #4
    Power Member
    Join Date
    Sep 2013
    Location
    Coimbatore
    Posts
    112
    Is this possible to get the MAC address by using JavaScript. Now I'm planning to run my application LS server should serve the particular MAC ids. List of ids I need to store in my server and my javascript need to send MAC address to create handshake.

  5. #5
    Administrator
    Join Date
    Jul 2006
    Location
    Milan
    Posts
    1,015
    Do you mean that your clients should determine the client-side MAC address and use it for authentication purpose?
    Sorry, this is beyond our knowledge.
    This depends on the availability of third party libraries, but if the client code runs in a browser, I don't think it would be allowed.

  6. #6
    Power Member
    Join Date
    Sep 2013
    Location
    Coimbatore
    Posts
    112
    Yes, It automatically need to read the client MAC address while connect the LS server handshake

 

 

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 06:14 PM.