Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
Welcome to LQ.
$ sudo apt-get install g++-4.4
Mannasim, ns-2.34, Ubuntu 14.04 :
$ tar xvf ns-allinone-2.34.tar.gz
$ patch -p0 mannasim_ns-allinone234_gcc44.patch
EDIT : $ patch -p0 < mannasim_ns-allinone234_gcc44.patch
* https://drive.google.com/file/d/0B7S...it?usp=sharing
... If you have an existing ns-allinone-2.34, you will also
have to apply the patch outside the ns-allinone-2.34/ folder.
$ cd ns-allinone-2.34/
$ export CC=gcc-4.4 CXX=g++-4.4 && ./install
hello sir
while running "make" command during the installation of mannasim in ubuntu 14.04 i am getting error i.e.
make: *** No rule to make target `tcp/tcp-qs.o', needed by `ns'. Stop.
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
← #7 .
Please do not quote entire posts. A "one word reference" will do !
There is no tcp/tcp-qs.o in the "mannasim_ns-allinone234_gcc44.patch".
The new objects added when patching are all "mannasim///<objects.o"
Please read lines 231 - 261. ( A patch is a text file.)
And : There is no such thing as "using any 'make' command" :
See post #2 .
hello sir,
while using configure command during mannasim2.35 installation in ns2.35 in ubuntu 14.04 i am stuck at one error and that is:
configure: error: Installation of tcl seems incomplete or can't be found automatically.
Please correct the problem by telling configure where tcl is
using the argument --with-tcl=/path/to/package
(perhaps after installing it),
or the package is not required, disable it with --with-tcl=no.
Please provide solution as soon as possible.
thank you
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513
Rep:
← #9 .
Quote:
while using configure command during mannasim2.35 installation
Not possible : You cannot use ./configure in ns-2.35/ : You can do ./install
( ./configure is usable till version 2.34 only.)
And why at all do the mannasim addition in a complicated way ?
Easier : Get ns-allinone-2.35-paultsr_mannasim.tar.gz, 58 MB
from https://drive.google.com/file/d/0B7S...ew?usp=sharing
.. unpack, $ cd ns-allinone-2.35/ && ./install
.. That's it. Simple.
how to calculate various parameters in Mannasim generated LEACH in NS2.35
Sir
I have installed ns2.35 in ubuntu 14.04 and to simulate WSN i installed Mannasim.I am working on Hello Flooding attack on LEACH protocol.
My question is how can i calculate Throughput,Packet Loss,Energy Consumption,Residual Energy, Latency and Number of packets send and received in same.
configure: error: in `/home/panam/ns-allinone-2.34/tcl8.4.18/unix':
configure: error: C preprocessor "g++-4.4." fails sanity check
See `config.log' for more details
tcl8.4.18 configuration failed! Exiting ...
Tcl is not part of the ns project. Please see www.Scriptics.com
to see if they have a fix for your platform.
CXX instead of CPP, please, and no period ( . ) after g++-4.4 :
Right is : $ export CC=gcc-4.4 CXX=g++-4.4
.. And you will of course have to install gcc-4.4, g++-4.4 :
$ sudo apt-get install g++-4.4
-
I have exported successfully but still it's showing following error
make: gcc-4.4-4.4: Command not found
Makefile:830: recipe for target 'regcomp.o' failed
make: *** [regcomp.o] Error 127
tcl8.4.18 make failed! Exiting ...
For problems with Tcl/Tk see http://www.scriptics.com
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.