Script install and retrieve IP address

Forums / General Discussions / Script install and retrieve IP address

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
  • #34796

    Is it possible to remotely install via script NM on Windows and Mac and retrieve the IP address and UPnP port it’s using?

    After all, not much point in being able to remotely install it if I then have to phone the customer to tell me the IP address and port number.


    Hi pc-support,

    If you need remote desktop access to the Windows and MacOSX machines, for example via SSH, then you can install the packages according to the following articles:

    How to install NoMachine from the command line on Mac

    How to install NoMachine on Windows in silent or very silent mode

    At the end, you can use the following command to retrieve the information about the IPs:     nxserver --upnpstatus

    For example:

    sh-3.2# /etc/NX/nxserver --upnpstatus
    Local IP         
    Gateway IP       
    External IP      
    NX port 4000 mapped to:

    Many thanks.

Viewing 3 posts - 1 through 3 (of 3 total)

This topic was marked as solved, you can't post.