How to install the UPnP Simulator

  • Download a copy of the simulator tar.gz file from Subversion. It is located at: https://community.cablelabs.com/svn/oc/ocapate/trunk/upnpSimulator/installationFile/upnpSimulator.tar.gz
  • The Simulator is installed in the directory in which the tar.gz is untar’ed. Place the tar.bz file in the directory in which you want the simulator to reside.
  • Untar the tar.gz file and then follow the appropriate directions below depending on your platform.
  • The Simulator is Unix based, and may be run on Linux systems or under Cygwin on Windows. The installation differs between the two platforms as described below

Cygwin / Windows

To install for Cygwin under Windows, use the command ...

 sh install.sh single_nic no_daemon windows 

... in a command window. This tells the installer that you have 1 NIC, do not want it as a Linux service, and are using Windows. The installation is fast.

Linux

For Linux systems, you must be logged in as root to install. It is installed as a Linux service, and needs permissions to write to certain system directories.
Use the command:

 sh install.sh dual_nic daemon linux 
  • If the system has one NIC, use “single_nic” instead. If it is not desired to run as a Linux service, enter “no_daemon” instead. As a Linux service, it will be started and run when Linux starts, otherwise it must be run manually.
  • After installing, all files in the directory will be owned by “simulator:simulator”. If you want another user to own the files, make the changes manually using “chown”.

For instruction on running the UPnP Simulator in a Linux VM please see Running the UPnP Simulator in a Linux VM.

  • No labels