Solved

Help to install this ..(packaging required ??!!)

Posted on 2008-10-16
7
2,780 Views
Last Modified: 2012-06-21
NCTUns 4.0 Network Simulator and Emulator Download

The latest NCTUns 4.0 currently runs ONLY on the Red-Hat Fedora 8 Linux operating system!

The Linux distribution that works with the latest NCTUns 4.0 and has been fully tested is Red Hat's Fedora 8. Other Linux distributions such as Debian may work with NCTUns because they use the same Linux kernel as Fedora. However, configurations and settings on these distributions may be different from those on Fedora. It is the user's responsibility to adjust configurations and settings if he (she) would like to install the latest NCTUns 4.0 on a different Linux distribution than Fedora 8. Because NSL has not tested the latest NCTUns 4.0 on other Linux distributions, it is not guaranteed that the latest NCTUns 4.0 can work correctly on Linux distributions other than Fedora 8.

Starting from NCTUns 2.0, the FreeBSD operating system is no longer supported.

As said above : "Other Linux distributions such as Debian may work with NCTUns because they use the same Linux kernel as Fedora"

So how do i install this ... i tried once and failed to do so ...i think a packing is required for this

Link to download the source : http://nsl10.csie.nctu.edu.tw/products/nctuns/download/download.php

I tired other alternatives did not help ...almost close one was GNS3
0
Comment
Question by:Hemanth_hm
  • 3
  • 2
7 Comments
 
LVL 2

Expert Comment

by:wdeviers
ID: 22734670
We're going to need more than that.  When you tried to install it and it failed, what happened?
0
 

Author Comment

by:Hemanth_hm
ID: 22737120
I wont install ....it will just sip everything .........
I tired to make the source file to deb file a screwed up my dkpg

Output of installation :  

 
 
 
 
 
 
 
 

*

* The NCTUns 5.0 Network Simulator Installation Script Program

*

*    Notes: 1. You must be the root user to successfully run this program.

*           2. Normally, you can simply answer "y" or "yes" to all questions.

*           3. The related files of NCTUns will be installed in /usr/local/nctuns by default.

*

*

*

*

*

*

*

*

*

* In the following, this script will begin to install NCTUns. If you want

* to abort this installation, you should press "control+C" NOW!

*

* Otherwise, you can press the "Enter" key to begin.

*
 
 
 
 
 

**

**        Install the NCTUns Kernel and the ELP version of NCTUns Kernel

**

   STATE: skip... install the NCTUns kernel

  REPORT: install the NCTUns kernel ... skip

  REPORT: install the ELP version of NCTUns kernel ... skip
 
 
 

**

**        Install System Libraries

**

   STATE: skip... install library

  REPORT: install libstdc++.so.6 ... .skip

  REPORT: install libtcl8.5 ... skip

  REPORT: install libpcap.so.0.9 ... skip
 
 
 

**

**        Build the simulation engine and libraries

**

   STATE: skip... build nctuns and libawp.so

  REPORT: build and install nctuns ... skip

  REPORT: build and install advanced wireless phy library ... skip
 
 
 
 

**

**        Build coordinator & dispatcher

**

   STATE: skip... build coordinator and dispatcher

  REPORT: build and install coordinator ... skip

  REPORT: install coordinator configuration file ... skip

  REPORT: build and install dispatcher ... skip

  REPORT: install dispatcher configuration file ... skip
 
 
 

**

**        Create Tunnels

**

   STATE: skip... create rules of udev for nctuns tunnel

  REPORT: create rules of udev for nctuns tunnel ... skip
 
 
 
 

**

**        Install and enable rsh-server for command console

**

   STATE: skip install and enable rsh-server for command console

  REPORT: install Xinetd Internet services daemon ... skip

  REPORT: install rsh server ... skip

  REPORT: enable rlogin and rsh ... skip

  REPORT: skip rlogin authentication for pam.d ... skip

  REPORT: install xterm ... skip

  REPORT: build and install nctuns-tcsh ... skip

  REPORT: build and install shell ... skip
 
 
 

**

**        Build Traffic Generator

**

   STATE: skip... build traffic generator

  REPORT: build and install stcp and rtcp ... skip

  REPORT: build and install ttcp ... skip

  REPORT: build and install stg and rtg ... skip

  REPORT: build and install rtp library ... skip

  REPORT: build and install rtp example tools ... skip
 
 
 

**

**        Build Tactic Network Agent

**

   STATE: skip... build tactic network agent

  REPORT: build tactic network agent ... skip

  REPORT: install ITS profile ... fail
 
 
 

**

**        Build Miscellaneous Tools

**

   STATE: skip... build misc tools

  REPORT: build and install printPtr ... skip

  REPORT: copy package trace format file ... skip

  REPORT: build and install ripd ... skip

  REPORT: build and install ospfd ... skip

  REPORT: build and install agent of mipd... skip

  REPORT: build and install mnd of mipd... skip

  REPORT: build and install rod of mipd... skip
 
 
 

**

**        Install the Programs of System Utility Commands (e.g., route, ping, etc.)

**

   STATE: skip... install binary

  REPORT: install nctuns.csh and nctuns.bash ... skip

  REPORT: install route command ... skip

  REPORT: install tcpdump command ... skip

  REPORT: install ping command ... skip

  REPORT: install ifconfig command ... skip
 
 
 

**

**        Install GUI And Related Files

**

   STATE: skip... install GUI and related files

  REPORT: install nctunsclient.bin ... skip

  REPORT: install nctunsclient ... skip

  REPORT: install BMP for gui ... skip

  REPORT: install app.xml for gui ... skip

  REPORT: install ps.cfg for gui ... skip

  REPORT: install mdf for gui ... skip

  REPORT: install agp for gui ... skip
 
 
 

**

**        Modify the SELinux Configuration

**

   STATE: modify the SELinux configuration
 

*

* By default, the SELinux option is enabled in Fedora. However,

* if SELinux option is enabled, it will decline to execute the NCTUns engine or the

* NCTUns client program. To run NCTUns correctly, you should disable SELinux.

*
 

** Would you want to disable SELinux? [yes/no](No)

>   REPORT: modify the SELinux configuration ... skip
 
 
 

**

**        Append NCTUns Environment Varables to the Shell Profile

**

   STATE: append NCTUns environment variables to profile
 

* To run up NCTUns programs correctly, some NCTUns-related environment variables

* must be set up first in each xterm. If you answer "yes" to the following

* question, this installation program will append these environment variables

* to the shell profile of the account of the installing user. Doing so can save

* you much time in the future because you need not set up these environment

* variables manually each time when you open a xterm.

*
 

** Would you want this installation program to automatically append some

** NCTUns-related environment variables to the shell profile

** of the account that you use to install NCTUns? [yes/no](No)

>   REPORT: append NCTUns environment variables to the profile of the installing user's account ... skip
 
 
 

**

**        Create the Default Simulation User Account

**

   STATE: create a new user account (nctuns) as the default simulation user account
 

*  The initial account name/password of this newly created account is nctuns/nctuns.

*  The GUI program will use this account/password as the default simulation user account/password.

*  Creating this account here is for a lazy user's convenience because he (she) does not need to

*  create an account and then use the account/password in the GUI program to run up a simulation.

*  A prudent user should change the initial password of this account to a new one and then use the

*  new password in the GUI program to run up a simulation."
 

** Would you want to create a new user account (nctuns) as the default simulation user account [yes/no](No)

>

  REPORT: create a new user account (ncutns) ... skip
 
 
 

**

**        Install Modified qtrc File

**

   STATE: install modified qtrc file for better looking in the GUI program
 

* For the best display quality of the GUI program, NCTUns has to modify the QT

* library configuration file (the qtrc file) to force the desktop manager, e.g.,

* KDE and GNOME, to use 10-size font for display. If the original qtrc file

* is used, the font size used by the GUI program may be incorrect, resulting in

* low display quality. (It is recommended to use the KDE desktop manager with

* the version 4.0.5 or higher and our provided qtrc file to achieve the best

* GUI display quality. If you answer "yes" to the following question, the modified

* qtrc file will be copied to the home directory of the installing user's account,

* which is "root."
 

** Would you want to install the modified qtrc? [yes/no](No)

>

  REPORT: install modified qtrc file for better looking in the GUI program ... skip
 
 
 

**

**        Final Check

**

/media/disk-1/bp/NCTUns-5.0/install.d/E00common: line 156: Usage:: command not found
 

** Results:

**
 

**   install the NCTUns kernel ... skip

**   install the ELP version of NCTUns kernel ... skip

**   install libstdc++.so.6 ... .skip

**   install libtcl8.5 ... skip

**   install libpcap.so.0.9 ... skip

**   build and install nctuns ... skip

**   build and install advanced wireless phy library ... skip

**   build and install coordinator ... skip

**   install coordinator configuration file ... skip

**   build and install dispatcher ... skip

**   install dispatcher configuration file ... skip

**   create rules of udev for nctuns tunnel ... skip

**   install Xinetd Internet services daemon ... skip

**   install rsh server ... skip

**   enable rlogin and rsh ... skip

**   skip rlogin authentication for pam.d ... skip

**   install xterm ... skip

**   build and install nctuns-tcsh ... skip

**   build and install shell ... skip

**   build and install stcp and rtcp ... skip

**   build and install ttcp ... skip

**   build and install stg and rtg ... skip

**   build and install rtp library ... skip

**   build and install rtp example tools ... skip

**   build tactic network agent ... skip

**   install ITS profile ... fail

**   build and install printPtr ... skip

**   copy package trace format file ... skip

**   build and install ripd ... skip

**   build and install ospfd ... skip

**   build and install agent of mipd... skip

**   build and install mnd of mipd... skip

**   build and install rod of mipd... skip

**   install nctuns.csh and nctuns.bash ... skip

**   install route command ... skip

**   install tcpdump command ... skip

**   install ping command ... skip

**   install ifconfig command ... skip

**   install nctunsclient.bin ... skip

**   install nctunsclient ... skip

**   install BMP for gui ... skip

**   install app.xml for gui ... skip

**   install ps.cfg for gui ... skip

**   install mdf for gui ... skip

**   install agp for gui ... skip

**   modify the SELinux configuration ... skip

**   append NCTUns environment variables to the profile of the installing user's account ... skip

**   create a new user account (ncutns) ... skip

**   install modified qtrc file for better looking in the GUI program ... skip

**

** Please press the "Enter" key to continue
 
 

/media/disk-1/bp/NCTUns-5.0/install.d/E00common: line 156: Usage:: command not found
 

   ERROR: command failed

Open in new window

install.log
install.txt
0
 
LVL 2

Expert Comment

by:prince_ban
ID: 22775840
Well Well,,there are few steps when you are building packages on different platforms :

1. Read the README & INSTALL files before proceeding for configure script.
2. Check the dependencies as i see a lot in the above logs ,,like libstd++ libraries & may be others are present,need to chk all as its a not a rpm that will do automatic dependency resolution.
3.Need to check the AUI frontend as requested by installer in the program,,need to again check the dependency.

Now all these steps needs to be thoroughly checked before you proceed for configure & make scripts for installation.

I will do a configure myself & let you know the status.
0
Maximize Your Threat Intelligence Reporting

Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

 
LVL 2

Expert Comment

by:prince_ban
ID: 22775856
sorry i talked of GUI not AUI frontend..:)
0
 

Author Comment

by:Hemanth_hm
ID: 22776741
prince_ban :) ill be waiting :)
thank u so much :)
0
 

Accepted Solution

by:
Hemanth_hm earned 0 total points
ID: 22948291
As per Rindi , i close this question and wait for a solution
0

Featured Post

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

Daily system administration tasks often require administrators to connect remote systems. But allowing these remote systems to accept passwords makes these systems vulnerable to the risk of brute-force password guessing attacks. Furthermore there ar…
How many times have you wanted to quickly do the same thing to a list but found yourself typing it again and again? I first figured out a small time saver with the up arrow to recall the last command but that can only get you so far if you have a bi…
Connecting to an Amazon Linux EC2 Instance from Windows Using PuTTY.
This demo shows you how to set up the containerized NetScaler CPX with NetScaler Management and Analytics System in a non-routable Mesos/Marathon environment for use with Micro-Services applications.

762 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now