LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 01-09-2010, 01:56 AM   #1
sumeet2220
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Rep: Reputation: 0
problem while installing ns3.6


hi all
actually during the installation of ns 3.6,
with the following command
./waf -d debug configure

i get some components not found
specially pybindgen
i have downloaded it
but cant install it and bind it with ns
guys i m a beginner
pls help
 
Old 01-09-2010, 02:25 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975Reputation: 1975
nothing at all to do with networking. Moved to Linux - Newbie.
 
Old 01-09-2010, 07:00 AM   #3
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,657

Rep: Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281
Network simulator ns3 ..

ns3.6 : http://www.nsnam.org/ > > ns-allinone-3.6.tar.bz2
The install ..
http://www.nsnam.org/wiki/index.php/Installation
.. where I don't see any command ' ./waf -d debug configure '
cd ns-allinone-3.6/ns-3.6
'./waf --help' : no './waf -d debug configure' ? ?
( -d could be an old obsolete option ? ).

Valid commands seems to be, examples :
'./waf --build-profile=debug'
'./waf configure --build-profile=debug'
'./waf configure --with-pybindgen=../pybindgen-0.12.0.703/pybindgen/'
'./waf configure --with-pybindgen=../pybindgen-0.12.0.703/pybindgen/ \
--build-profile=debug'

*
* But then again : the above is not the recommended install metod.
* Go to the top directory ( ns-allinone-3.6/ ) and do :
* ' python build.py '
*
.....
.....

And "pybindgen-0.12.0.703" is part of ns-allinone-3.6 .
Please read the file 'README' ..
QUOTE : ""You can simply recursively copy the entire pybindgen
folder into Python's site-packages directory, and that's it!""

.. Example, Ubuntu 9.10 Karmic ..
sudo cp -a \
ns-allinone-3.6/pybindgen-0.12.0.703/pybindgen/ /usr/lib/python2.6/

Other links ..
http://www.nsnam.org/wiki/index.php/...ndings#Testing
> > NS-3 Python Bindings
.....

And welcome to LQ .. .. ..
.....

Last edited by knudfl; 01-09-2010 at 07:10 AM.
 
Old 02-12-2010, 06:21 AM   #4
sumeet2220
LQ Newbie
 
Registered: Jan 2010
Posts: 2

Original Poster
Rep: Reputation: 0
thanks for info
sorry for late reply but i was busy with some persoal problems.


i tried to run the programmes given it the examples folder
the programmes like wifi-adhoc.cc is ruuning
but i am unable to understand what exactly the output is.
i get string of some numbers in the command window
what does it represent?

and what exactly the programme is about?
please help
 
Old 02-27-2010, 04:13 PM   #5
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,657

Rep: Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281
Building samples, examples ..
1) cd ns-allinone-3.6/ns-3.6/
./waf configure --help
... to know all options : Example =
--enable-examples : "Build the ns-3 examples and samples".

1a) And if you want to enable GSL, the 'GNU Scientific Library' ,
and sqlite :
sudo apt-get install libgsl0-dev libsqlite3-dev

2) ./waf configure \
--enable-examples --with-pybindgen=../pybindgen-0.12.0.703/pybindgen
→ → will build : ns-3.6/build/debug/examples .. and samples/

And / or : 2a)
./waf configure --enable-examples --build-profile=optimized \
--with-pybindgen=../pybindgen-0.12.0.703/pybindgen
→ → will build : ns-3.6/build/optimized/examples/.. and samples/
and a lot of : build/optimized/bindings/python/

Actually both configure lines can be used to have both versions,
there may be a difference in "debug/" and "optimized/" ? ?
Just run "./waf build" twice, after each "./waf configure" :
3) ./waf build
But I don't know the exact purpose of the above examples/samples.
.....
.....
4) Running some examples : cd ns-allinone-3.6/ns-3.6/
./waf --pyrun examples/wireless/mixed-wireless.py

4a) ./waf --run examples/wireless/mixed-wireless
./waf --run examples/wireless/wifi-simple-adhoc

etc. etc.

.....

Last edited by knudfl; 02-27-2010 at 04:25 PM.
 
Old 03-02-2010, 11:08 AM   #6
ankscorek
Member
 
Registered: Mar 2003
Distribution: Slackware10.2,SUSE,FC,RHL,Vector Linux,WHAX,PHLAK,bt4,ubuntu,debian,aptosid,backtrack,blackbuntu
Posts: 529

Rep: Reputation: 31
use the numbers to create a plot of time versus packets
 
Old 12-22-2010, 10:42 AM   #7
goodGOD
LQ Newbie
 
Registered: Dec 2010
Posts: 14

Rep: Reputation: 0
Please best version of NS 3 for Optical Networking and WiMAX

dear all

Please I need to know the best version of NS 3 for Optical Networking and WiMAX

NS 3.6 or 3.9


also what is the code(s)
to get NAM sort in NS 3 or get the graphical results.

test codes could be sent please

thanks all
 
Old 12-22-2010, 11:19 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,657

Rep: Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281
Post # 7 :

I guess, you will have to search for answers to your two questions.
In "ns-3-users" http://groups.google.com/group/ns-3-users?pli=1

.. and 1) Google : .. NS 3 Optical Networking ..

2) Google .. ns3 wimax ..
Lots of hits ..

Good hunting ! .. .. ..
..
 
Old 12-22-2010, 12:38 PM   #9
goodGOD
LQ Newbie
 
Registered: Dec 2010
Posts: 14

Rep: Reputation: 0
thanks
I will do that then.....
 
Old 09-27-2011, 05:58 AM   #10
prinav
LQ Newbie
 
Registered: Sep 2011
Posts: 3

Rep: Reputation: Disabled
hello

hello guys
i m new to both ubuntu and ns3.

pls give me detailed steps for installing ns3.10 in ubuntu 9.10

i v just installed ubuntu9.10 and have not made any changes..
if there any changes to be made then pls specify them and also explain how to perform them


thank u in advance....
 
Old 10-11-2011, 04:50 AM   #11
shanky
Member
 
Registered: Aug 2011
Posts: 155

Rep: Reputation: Disabled
hiii
to get GUI in ns3 u can either try pyViz or NetAnim ..but ppl generally prefer pyViz..
check this link out ..
http://www.nsnam.org/wiki/index.php/PyViz
hope it helps..
 
Old 10-11-2011, 05:30 AM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2016 CentOS6.9 CentOS7.3 + 50+ other Linux OS, for test only.
Posts: 16,657

Rep: Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281Reputation: 3281
# 10, @prinav : The unsupported Ubuntu 9.10 should not be used.
Recommended is : CentOS 6 ( Based on Fedora 12 ).
The long term supported Ubuntu 10.04.3 can be used.

Prerequisites for Ubuntu :
sudo apt-get install g++ flex bison scons libgsl0-dev \
python<version>-dev linux-image-<??> linux-headers-<??>


cd ns-allinone-3.10/ && python build.py

..

Last edited by knudfl; 10-11-2011 at 12:03 PM.
 
  


Reply

Tags
ns3


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
Installing Simplescalar: Problem installing simpleutils yy_current_buffer’ undeclared niteshg Linux - Software 1 07-03-2009 04:09 PM
Problem Installing Limewire - Received Errors While Installing taurusx5 Linux - Software 2 08-05-2008 02:39 AM
FC4 Crashes with S3 Trio video card: KeyError: 'S3 Trio3D\nS3 Trio64 3D' possible BUG asif2k Linux - Software 1 03-22-2006 07:48 PM
what is my ns3 ; ns2 adresses murat1 Linux - Networking 1 04-21-2004 03:26 PM
DNS / ns3, ns4 hh-dream Linux - Networking 0 03-05-2002 04:54 PM


All times are GMT -5. The time now is 06:30 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration