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.
The "multi_udpflows.tcl" is present in EDCA-802.11e_ns230.patch? cz the size of the patch is 153 Kb and no tcl file in it.
What should be the size of this patch?? cz all tcl files are present in ns2.35 . Are they the same for ns2.30??
Should i follow the same step as post #69? or the gcc and g++ are different than: CC=gcc-4.4 CXX=g++41?
im so thankful for all ur replies
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,494
Rep:
← #77 .
$ tar xvf ns-allinone-2.30.tar.gz
$ cd ns-allinone-2.30/
$ patch -p0 < EDCA-802.11e_ns230.patch
$ export CC=gcc<?> CXX=<?> && ./install
$ cd ns-2.30/
$ cp ns ns230-edca
# cp ns230-edca /usr/local/bin/
.. Then you can hopefully do $ ns230-edca multi_udpflows.tcl
.. in ns-2.30/mac/802_11e/
.. or you can copy "multi_udpflows.tcl" to any location :
$ ns230-edca multi_udpflows.tcl
The patch EDCA-802.11e_ns230.patch is 152.3 kB : 155,924 Bits.
I have some problem!! when i wrote: $ patch -p0 < EDCA-802.11e_ns230.patch, the output is:
bash: /usr/bin/patch: Permission denied
So what i should have to do??
and another question is: is there any patch for HCCA suitable for ns2.30???
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,494
Rep:
← #80 .
Permission denied : May be the permissions somehow were changed ?
Please try : $ chmod 0644 EDCA-802.11e_ns230.patch
Is there a patch for HCCA .. for ns2.30 :
HCCA is IEEE 802.11e. See post #79.
EDCA is IEEE 802.11e. So you cannot use both in the same ns2 :
Conflicts.
the output is : chmod: changing permissions of `EDCA-802.11e_ns230.patch': Permission denied. How can I solve it?
so if i have to simulate the QOS of IEEE 802.11, i should simulate EDCA and HCCA separatly, the first on ns 2.30 and the other on ns 2.29.
i cannot associated them in only one tcl. is it right????
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,494
Rep:
← #82 .
Quote:
chmod: changing permissions of `EDCA-802.11e_ns230.patch': Permission denied.
May be you have handled the file with root ?
And changed the owner to root.
This will show :
Code:
$ ls -l EDCA-802.11e_ns230.patch
Please try, as root : # chown <user-name>:<group> EDCA-802.11e_ns230.patch
( In all Linux OS that would be, for "knudfl" :
# chown knudfl:knudfl EDCA-802.11e_ns230.patch ).
i am sorry for all my questions but i really need ur help..
i run the cygwin as an administrator and when i wrote: $ cp ns ns230-edca
The output was: cp: cannot stat `ns': No such file or directory
is it due to a wrong installation? how can i solve it?
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,494
Rep:
← #84 .
I guess you now have now built ns-allinone-2.xx a few times,
and would know when the "./install" finishes OK, or not OK.
Short : If there is no executable by name 'ns' in ns2.30/,
it's a failed build.
? Are you sure you are in the right directory ?
If any doubt, the first command is always : $ pwd
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,494
Rep:
← #87 .
.... Better read posts #85 and #87
#85 : ... executable by name 'ns' in ns2.30/
#87 : ... ns-allinone-2.30/ns-2.30/ns
... Doesn't look like there's any text about a directory.
A directory would appear as " ns/ ".
* 'ns' is "a regular file".
*** If there is no file by name 'ns' in ns2.30/ ,,,
... then you have a failed build : The terminal will report any error.
Please try this : $ cd ns-2.30/ && make 2>&1 | tee make-log.txt
.... and the text file ``make-log.txt´´ will save the make process.
I ve got a new problem:
when i wrote:
$ patch -p0 < EDCA-802.11e_ns230.patch
the output is:
patch: **** can't open file ns-2.30/common/packet.h : Permission denied
However ive change the security option of the edca patch and packet.h because it gives me at first: permission denied
So the new output is:
patching file ns-2.30/common/packet.h
Reversed (or previously applied) patch detected! Assume -R? [n] . if i click n, the question will be asked for all the files
patch: **** can't open file ns-2.30/Makefile.in : Permission denied
ive changed the security of all the ns-allinone file, the new output:
patch: **** can't open file ns-2.30/tcl/lan/ns-mac.tcl : Permission denied (the security of this file is full control)
what is the real problem ???
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.