Linux - SoftwareThis 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
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.
? Why in the first place use a "look alike Linux OS" like Cygwin,
... when you easily can install the real thing in 'VirtualBox' ?
( See post #72 : OS suggestion : CentOS 6.5 http://ftp.sunet.se/pub/Linux/distri...386-LiveCD.iso
>>> CentOS-6.5-i386-LiveCD.iso )
I have installed the ns-allinone-2.30.tar.gz" from ... http://sourceforge.net/projects/nsna...ar.gz/download and tried all the command.
But when i wrote: $ cp ns ns-edca, the output is:
cp: cannot stat `ns': No such file or directory ( i check it, no file ns)
I will take ur advice and stop working on cygwin and try to install a virtual box.
Can u recommend me a site that help me to install a virtual box and linux on mac? or it is preferred that it be installed on windows?
Thank you
I have installed the virtual box and Ubuntu 14.04.1 and tried to install the ns-allinone-2.30 from the site : http://sourceforge.net/projects/nsna...ar.gz/download
however, when I use ur commands, there no "ns file" in the ns-2.30 folder for : $ cp ns ns230-edca
I try to use a version that has this file, but when I try to copy it from a usb, it stopped when the downloads becomes 95 Mb
is there any site that it can give me the ns2.30 including the ns file?
thank you
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,493
Rep:
← #94 .
Ubuntu 14.04.1 : Which version ? i686 or x86_64 ?
Q1) This command will show : $ uname -m
Q2) No 'ns' ? Where is the "make-log.txt" you were asked for ?
$ cd ns-2.30/ && make 2>&1 | tee make-log.txt
Anyway, you cannot compile ns-allinone-2.30
with the default Ubuntu 14.04 compilers.
When you have answered "Q1)", you will get links to a usable "gcc/g++".
im sorry for all my questions
I write:
$ tar xvf ns-allinone-2.30.tar.gz
$ cd ns-allinone-2.30/
$ patch -p0 < EDCA-802.11e_ns230.patch
$ ./install (post #77)
however I've got : bash: ./install: Permission denied
but im using it as an administrator
Then it is :
$ tar xvf ns-allinone-2.30.tar.gz
$ cd ns-allinone-2.30/
$ patch -p0 < EDCA-802.11e_ns230.patch
$ export CC=gcc34 CXX=g++34
$ ./install
Permission denied : ?Did you unpack in Ubuntu with
$ 'tar xvf ns-allinone-2.30.tar.gz' ?
Important : Do not unpack as "administrator".
No 'sudo', no using `root´ for any ns2 command !
( Except for 'sudo make install',
and 'sudo cp ns-edca /usr/local/bin/' ).
im sorry for all my questions but im a beginner in ns2 and Linux
Q1) can u told me the size of the gcc34/g++34 compilers, and nam that should be downloaded and where they should be in Ubuntu??
Q2) the size of the unpack file should be 67455 Kb?
Q3)gcc34 and g++ 4 is suitable with this version of Ubuntu or should I use Ubuntu with 32 bit??
I have use the command: $gcc -v, ive got there is gcc version 4.8.2
concerning the g++, I have use : $sudo apt-get install g++. Is it okay???
ans $sudo apt-get instakl nam but ive got:
E:unable to locate package nam.
then I tried $tar xvf ns-allinone-2.30.tar.gz to unpack the file, but it gives: tar: Error is not recoverable:: existing now
Where should they be in Ubuntu ? → Like the text says :
Click the packages, and they will be installed.
It's all automatically done.
If you want to know the file locations for an installed package,
please do : $ dpkg -L <package-name>
... Like $ dpkg -L nam
Add 2 : Which file ?
Add 3 : As you can see, the packages have suffix `amd64'
.. and are not usable with a 32bits OS.
See post #99, where I show the EDCA build, in Ubuntu 14.04 - 64.
--------
For your information, a ready to install complete package,
ns-2.30 + EDCA would be about 4 MB only.
I.e. very few files are required to run the executable "ns230-edca".
It's at build time that you need a lot of space / a lot of files.
I have installed the ns-allinone-2.30.tar.gz and unpack it. I followed all the steps: install the compilers, then
$tar xvf ns-allinone-2.30.tar.gz
$cd ns-allinone-2.30
$patch -p0 < EDCA-802.11e_ns230.patch
$./install
$cd ns-2.30/
$cp ns ns230-edca
I've got : cp: cannot stat "ns" : No such file or directory
there is no file "ns" in the ns-2.30 folder, however I unpacked the installed file
how can I solve it???
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.