LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This 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


Reply
  Search this Thread
Old 10-12-2014, 05:14 AM   #76
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641

← #75 .

The only tcl script that I know "as working with 802.11e" is
``multi_udpflows.tcl´´ See mac/802_11e/multi_udpflows.tcl

EDCA + HCCA at the same time ?
Don't know. You will get an answer .... later. EDIT → →
→ EDIT : See post #79.

* You can keep all your ns-allinone installs :
I have more than a hundred times ns-allinone-2.xx.
And they all work OK.


-

Last edited by knudfl; 10-12-2014 at 06:26 AM.
 
Old 10-12-2014, 05:47 AM   #77
rana_abdallah
Member
 
Registered: Sep 2014
Posts: 45

Rep: Reputation: Disabled
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
 
Old 10-12-2014, 06:12 AM   #78
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← #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.

EDCA http://www2.tkn.tu-berlin.de/research/802.11e_ns2/


-

Last edited by knudfl; 10-17-2014 at 06:39 AM.
 
Old 10-12-2014, 06:25 AM   #79
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The IEEE 802.11e HCCA :

← #75 .

http://cng1.iet.unipi.it/wiki/index.php/Ns2hcca >>>
>> HCCA http://cng1.iet.unipi.it/wiki/index....a#Installation
"HCF Controlled Channel Access (HCCA) in an IEEE 802.11e wireless local area network."

$ tar xvf ns-allinone-2.29.3.tar.gz
$ cd ns-allinone-2.29/
$ ln -s ns-2.29/ patched-2.29
$ patch -p0 < ns2hcca-2.29-060823.patch
$ ./install

The examples are in ns-2.29/tcl/ex/hcca/**

-
 
Old 10-12-2014, 01:33 PM   #80
rana_abdallah
Member
 
Registered: Sep 2014
Posts: 45

Rep: Reputation: Disabled
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???
 
Old 10-12-2014, 01:57 PM   #81
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← #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.

-
 
Old 10-12-2014, 02:17 PM   #82
rana_abdallah
Member
 
Registered: Sep 2014
Posts: 45

Rep: Reputation: Disabled
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????
 
Old 10-12-2014, 02:27 PM   #83
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← #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 ).

-

Last edited by knudfl; 10-12-2014 at 02:29 PM.
 
Old 10-12-2014, 03:50 PM   #84
rana_abdallah
Member
 
Registered: Sep 2014
Posts: 45

Rep: Reputation: Disabled
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?
 
Old 10-12-2014, 04:05 PM   #85
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← #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

-
 
Old 10-12-2014, 04:15 PM   #86
rana_abdallah
Member
 
Registered: Sep 2014
Posts: 45

Rep: Reputation: Disabled
in which directory should it be?ns-allinone2.30??
 
Old 10-12-2014, 04:56 PM   #87
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← #86 .

The executable 'ns' is created in ns-allinone-2.xx/ns-2.xx/,
like ns-allinone-2.30/ns-2.30/ns

Read post #78 :
$ cd ns-allinone-2.30/
$ patch -p0 < EDCA-802.11e_ns230.patch
$ ./install
$ cd ns-2.30/
$ cp ns ns230-edca

-
 
Old 10-12-2014, 05:00 PM   #88
rana_abdallah
Member
 
Registered: Sep 2014
Posts: 45

Rep: Reputation: Disabled
Yes im in the directory ns-2.30 but there is no ns directory in it
 
Old 10-12-2014, 10:20 PM   #89
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← #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.

-

Last edited by knudfl; 10-12-2014 at 10:22 PM.
 
Old 10-13-2014, 10:52 AM   #90
rana_abdallah
Member
 
Registered: Sep 2014
Posts: 45

Rep: Reputation: Disabled
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 ???
 
  


Reply

Tags
edca, hcca, ns2



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
LXer: Installing Xen On An Ubuntu 8.04 (Hardy Heron) Server From The Ubuntu Repositor LXer Syndicated Linux News 0 05-08-2008 02:10 PM
LXer: Installing Xen On An Ubuntu 7.10 (Gutsy Gibbon) Server From The Ubuntu Reposito LXer Syndicated Linux News 0 11-06-2007 08:50 PM
LXer: Installing Xen On An Ubuntu Feisty Fawn Server From The Ubuntu Repositories LXer Syndicated Linux News 0 07-01-2007 06:46 AM
ubuntu partitioning tool does not see external usb hard drive when installing ubuntu fakie_flip Linux - Software 2 07-30-2006 12:44 AM
Installing the nvidia driver off the web site and installing rpm in ubuntu? darkhatter Ubuntu 3 02-19-2006 02:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:36 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
Open Source Consulting | Domain Registration