LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-04-2014, 03:00 PM   #1
hamta
LQ Newbie
 
Registered: Mar 2014
Posts: 2

Rep: Reputation: Disabled
installing mannasim in ns2-2.35 and ubuntu 12


hi all
i want to install ns2.35 with mannasim in Ubuntu
there are Installation Steps in wsnlab.org as a following:

( open up the terminal and paste the following commands one by one )
cd
sudo apt-get update && sudo apt-get install build-essential autoconf automake libxmu-dev git openjdk-7-jre
cd /usr/local/
sudo git clone git://github.com/paultsr/ns-allinone-2.35.git
cd ns-allinone-2.35/
sudo ./install
close the TERMINAL
Sample ns2 programs are available in your home folder: ~/ns2/programs

NSG ia a GUI tool for designing wired/wireless networks.Execution command : nsg

NSG documentation is available in your home folder: ~/ns2/docs

i did first command(sudo apt-get update && sudo ....) and cd /usr/local/
but when i write sudo git clone git://github.com/paultsr/ns-allinone-2.35.git
it gives me this error:
"fatal: unable to connect to github.com:
github.com[0: 192.30.252.128]: errno=Connection refused"

i am a beginner in linux.
is there any way for mannasim installation in ns2.35?
pleas help me.
thankyou
 
Old 03-04-2014, 04:58 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

Start fom scratch in /home/<name>/ , and do ..
$ git clone https://github.com/paultsr/ns-allinone-2.35
* You will have to do that, to check if you can access "github.com/paultsr".
* If you can't, you are probably behind some firewall setup (proxy?),
... and will have to change those setting to use git.
* Or you can ask for a package "mannasim-ns235.tar.bz2", that I can upload
to 'Google Drive'. That's the compressed "paultsr/ns-2.35" files.

Ref. your nabble thread http://network-simulator-ns-2.7690.n...03.html#a28316
* You cannot do a user command ( $ ) in /usr/local/,
only root has write permissions outside /home/<name>/.
* I.e. the suggested download location must be /home/name/.
* If you insist on /usr/local/, you can easily copy or move
the folder to /usr/local/.

-
 
Old 03-04-2014, 05:25 PM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
What is Ubuntu 12 ? Is it 12.04 or 12.10 ?
And : Please check the architecture : ns2 is for a 32bits OS (i686).
I.e. show the output from this command : $ uname -m <Enter>

Ubuntu 12.** : $ sudo apt-get install \
g++ autoconf automake make patch libtool libxmu-dev xgraph

Building "ns-allinone-2.35-paultsr" in /home/<?>/ :
$ cd ns-allinone-2.35/ && ./install
$ cd ns-2.35/
$ sudo make install
... That's it. 'make install' will copy the executable 'ns'
to /usr/local/bin/. No *PATH settings are required to .bashrc !
( Adding * to .bashrc are used when you have no write access to /usr/*.)

-

Last edited by knudfl; 03-04-2014 at 05:27 PM.
 
Old 03-05-2014, 03:54 PM   #4
hamta
LQ Newbie
 
Registered: Mar 2014
Posts: 2

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by knudfl View Post
What is Ubuntu 12 ? Is it 12.04 or 12.10 ?
And : Please check the architecture : ns2 is for a 32bits OS (i686).
I.e. show the output from this command : $ uname -m <Enter>

Ubuntu 12.** : $ sudo apt-get install \
g++ autoconf automake make patch libtool libxmu-dev xgraph

Building "ns-allinone-2.35-paultsr" in /home/<?>/ :
$ cd ns-allinone-2.35/ && ./install
$ cd ns-2.35/
$ sudo make install
... That's it. 'make install' will copy the executable 'ns'
to /usr/local/bin/. No *PATH settings are required to .bashrc !
( Adding * to .bashrc are used when you have no write access to /usr/*.)

-
thanks a lot knudfl
I try $ git clone https://github.com/paultsr/ns-allinone-2.35
and it gives me this error:
fatal: destination path 'ns-allinone-2.35' already exists and is not an empty directory.
And i try https://github.com/paultsr
It gives me this error:
fatal: repository 'https://github.com/paultsr/' not found.
Sorry,I was wrong. I install ubuntu 13.10
When i write this command: $ uname -m <Enter>
It gives me :x86_64
 
Old 03-05-2014, 05:04 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,519

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 4 .
Quote:
fatal:
destination path 'ns-allinone-2.35' already exists and is not an empty directory.
May be you already got it ?
* You can always redo, by choosing another directory :
* Multiple ns2, example : $ mkdir 1 2 3 4 a b c d
( You can have as many ns2 versions as you want, installed at the same time.)
$ cd a/ && git clone https://github.com/paultsr/ns-allinone-2.35


Quote:
$ uname -m <Enter>
x86_64
Not really the best choice. You will get an inferior validate result.
But probably OK for mannasim. Made a test build with Ubuntu 13.04 - x86_64
right now : $ ./ns mannasim-rede-plana.tcl : Normal behavior.
And $ ./ns mannasim-rede-hierarquica.tcl : OK too.

-

Last edited by knudfl; 03-06-2014 at 08:21 AM.
 
  


Reply

Tags
mannasim, mannasim-ns235, ns2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
mannasim ns2.34 thikathika Linux - Software 7 10-09-2014 07:35 AM
[SOLVED] Install mannasim path in ns2.34 in ubuntu 10.04 Aska123 Linux - Software 1 02-16-2014 11:58 AM
want to install ns2.29.3 along with mannasim patch for ns2.29 jeevanpinto Linux - Software 4 10-02-2013 01:09 AM
How to add NAM with mannasim in ns2.34 Aska123 Linux - Software 1 04-10-2013 03:14 PM
How to install Mannasim on Ns2.33 Aska123 Linux - Wireless Networking 1 04-05-2013 04:50 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:52 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration