LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   wireless ns/aquasim (https://www.linuxquestions.org/questions/linux-wireless-networking-41/wireless-ns-aquasim-855532/)

knudfl 05-06-2012 12:15 PM

# 30

Default ns2 OS : CentOS, Scientific Linux, Fedora.
Ubuntu 10.04.4 can be used. Perhaps with a slightly reduced result.
Ubuntu 10.04 and ns-allinone-2.30 : Use gcc-4.1, g++-4.1 .

.

uwsn2012 05-06-2012 12:19 PM

thanks a lot for your response Knudfl

Archanajayakumar 09-16-2012 01:28 AM

hi friends...
i have got the coding for vector based routing for underwater.. i need to convert in to time slot routing ...could any one help me out. its urgent

maryam.pk 01-26-2013 09:41 AM

Dear admin

I have a problem to install aquasim.

when I type ./install, I saw this error:
bash: ./install: Permission denied

when I type sudo ./install, I saw this error:
sudo: ./install: command not found

can you help me please?
Regards.

knudfl 01-26-2013 10:21 AM

# 34 : Please read post # 8.

And : The install directory should be /home/<user-name>/ns2/
.. or any other directory in /home/<user-name>/.

No 'sudo' or 'su' can be used, if you want access to the files
as unprivileged user. Suggest : Delete all ns-allinone-2.30/.
And start from scratch with :
$ tar xvf ns-allinone-2.30.tar.gz && cd ns-allinone-2.30/ && tar xvf Aqua-sim_ns230.no-test.tar.bz2


-

maryam.pk 01-28-2013 04:58 AM

[QUOTE=knudfl;4877979]# 34 : Please read post # 8. And : The install directory should be /home/<use
 
dear knudfl

when I use ./install to install aquasim I faced this error:
checking for X11 header files
can't find X includes
otcl-1.12 configuration failed! Exiting ...

could you help me please?

knudfl 01-28-2013 05:14 AM

# 36, @maryam.pk : Please read post # 24 : ns2 prerequisites must be installed.

sudo apt-get install g++ autoconf automake libtool patch make xgraph libxmu-dev

.. And : A gcc/g++ version 4.1.2 : also required.

? Which version of Ubuntu are you using ? ?


-

maryam.pk 01-28-2013 08:09 AM

[QUOTE=knudfl;4878918]# 36, @maryam.pk : Please read post # 24 : ns2 prerequisites must be installed
 
Dear knudfl
I use ubuntu 12.10
and I install gcc-4.3 and g++-4.3

could you help me?

maryam.pk 01-28-2013 12:30 PM

Hello and best regards
I validate the intalation of Aquasim on ubuntu12.10 but I have seen these errors:

validate overall report: some tests failed:
./test-all-newreno ./test-all-tcpOptions ./test-all-tcpVariants ./test-all-aimd ./test-all-frto ./test-all-quickstart ./test-all-manual-routing ./test-all-session ./test-all-red ./test-all-links ./test-all-wireless-shadowing ./test-all-WLtutorial
to re-run a specific test, cd tcl/test; ./test-all-TEST-NAME
Notice that some tests in webcache will fail on freebsd when -O is turned on.
This is due to some event reordering, which will disappear when -g is turned on
is there any solution to correct these failling test or I should do every step again? also when I type $ ns I can see % !!!!!!111 what should I do

knudfl 01-28-2013 01:53 PM

# 38.
Quote:

.. I install gcc-4.3 and g++-4.3
Interesting. How did you do that ? ?


About your "validate" : 1) Some tests will fail on some ns2 versions.
2) Is your OS 64bits ? Please show the output from : $ uname -m <Enter>

-

uwsn2012 01-28-2013 02:10 PM

hello ,
I have successed the installation of aquasim simulator without any problem ...
1) i'm using Mandriva 2009 (O S)
2) i'm followed the steps mentionned in (#8)

maryam.pk 01-28-2013 11:52 PM

Dear Knudfl Interesting. How did you do that ? ?
 
hello
why are you saying that is interesting that I install g++/gcc 4.3 on ubuntu12.10?

knudfl 01-29-2013 03:34 AM

# 42

Post # 40 is about two questions. It would be nice if you answered both.

1) How did you install g++/gcc 4.3 .

2) Show the output from the command : uname -m


-

maryam.pk 01-29-2013 07:21 AM

[QUOTE=knudfl;4879688]# 42 Post # 40 is about two questions. It would be nice if you answered both.
 
ok sure!!!!!!!!!!!!!
1: I download g++/gcc and install them on ubuntu

2: the output is:i686

knudfl 01-29-2013 09:28 AM

# 44
Quote:

I download g++/gcc and install them on ubuntu
Please provide a link to the packages that you installed.


----
Validate results, "Aquasim ns-2.30".

Ubuntu 12.10 - 32bits : The same 12 tests failed here, ref. post #39.

Ubuntu 10.10 - 32bits , the reference OS for old ns2 :
validate overall report: some tests failed:
./test-all-red ./test-all-wireless-shadowing ./test-all-WLtutorial


Binary package, aquasim-ns-2.30-ubuntu10_i386.deb ( 4 MB )
https://docs.google.com/file/d/0B7S2...ZXR1hwNEE/edit

Can be installed with : sudo dpkg -i aquasim-ns-2.30-ubuntu10_i386.deb

The package provides : /usr/local/bin/ns-aqua
/usr/local/lib/aquasim/ns-allinone-2.30/bin/**
/usr/local/lib/aquasim/ns-allinone-2.30/lib/**

Using, example : $ cd ns-allinone-2.30/ns-2.30/underwatersensor/uw_tcl/
$ ns-aqua hop_by_hop_VBF_example.tcl
$ nam hop_hop_vbf.nam

-


All times are GMT -5. The time now is 03:54 PM.