Script install and retrieve IP address

Forum / General Discussions / Script install and retrieve IP address

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #34796
    pc-support
    Participant

    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.

    #34823
    Carin
    Participant

    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                   192.168.1.68
    Gateway IP                 192.168.1.254
    External IP                176.181.10.176
    NX port 4000 mapped to:    176.181.10.176:27896
    #34824
    pc-support
    Participant

    Many thanks.

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

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