LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 09-22-2014, 10:33 AM   #46
nassou19891
Member
 
Registered: Sep 2014
Posts: 56

Original Poster
Rep: Reputation: Disabled

when i write : $ sudo chmod 0755 /usr/local/nam
it return this message : chmod: cannot access `/usr/local/nam': No such file or directory

when i write : $ which nam ,it return :/usr/local/bin/nam
 
Old 09-22-2014, 11:00 AM   #47
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
← #46 .

Sorry for the typo.
It is of course $ sudo chmod 0755 /usr/local/bin/nam
 
Old 09-22-2014, 12:46 PM   #48
nassou19891
Member
 
Registered: Sep 2014
Posts: 56

Original Poster
Rep: Reputation: Disabled
It still the same problem " couldn't open "/home/memoire/.nam-port": permission denied " the same message
 
Old 09-22-2014, 12:50 PM   #49
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
← #48 .

Well, you could delete the file .nam-port :
$ sudo rm .nam-port
 
Old 09-22-2014, 03:19 PM   #50
nassou19891
Member
 
Registered: Sep 2014
Posts: 56

Original Poster
Rep: Reputation: Disabled
It is work ok , think you very very much , i'm so gratefull
 
Old 09-23-2014, 03:58 PM   #51
nassou19891
Member
 
Registered: Sep 2014
Posts: 56

Original Poster
Rep: Reputation: Disabled
I'm back

My questions are :
Q1 : i find under ns2.34 a folder called "sctp" is that mean that i can use sctp protocol in my simulation ?
Q2 : there is two version of sctp called :CMT-SCTP and MPSCTP , is there a patch for these two transport protocols ?

 
Old 09-23-2014, 06:17 PM   #52
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
← #51 .

SCPT/CMT seems to be included from ns-2.33, up :
ns-2.34/sctp/{ sctp-cmt.cc, sctp-cmt.h }.

No traces of any MPSCTP code.

SCTP-CMT tcl examples
. https://groups.google.com/forum/#!ms...o/29vSZuc6Kh0J
. http://network-simulator-ns-2.7690.n...es-td6584.html
. http://blog.163.com/xjtshua@126/blog...1112510136559/
. http://xjtshua126.wap.blog.163.com/w...ID=xjtshua@126


Other SCTP-CMT
http://www.isi.edu/nsnam/ns/CHANGES.html
"Concurrent Multipath Transfer with Potentially Failed(CMT-PF) extension is default now.
To use CMT, set useCmtPF tcl bindable variable to 0 at the data sender."
http://blog.tianya.cn/blogger/post_r...PostID=6970392
"To use CMT, set useCmtReordering, useCmtCwnd and useCmtDelAck 1 at the sender,
and useCmtDelAck and useDelayedSacks to 1 at the receiver."


-

Last edited by knudfl; 09-23-2014 at 06:44 PM.
 
Old 09-25-2014, 02:10 PM   #53
Master_Stu
Member
 
Registered: Sep 2014
Posts: 38
Blog Entries: 1

Rep: Reputation: Disabled
installation problem

Quote:
Originally Posted by knudfl View Post
← #24 .

Delete all ns2 related PATH entries you may have in .bashrc .

For Wimax-lwx + LTE : Read post #4.
Or use one combined patch only :
$ patch -p0 < WimaxLWX+lte+dccp_ns233.patch
https://drive.google.com/file/d/0B7S...it?usp=sharing


-
Hi Sir!
plz i need your help i have installed NS2.34 and a tried to add lte patch but when i tried to simulate enaya.tcl example there's a problem , than i reinstaled ns2.34 but this error is shown:

tcl8.4.18 make succeeded.
Warning: tclStubInit.c may be out of date.
Developers may want to run "make genstubs" to regenerate.
This warning can be safely ignored, do not report as a bug!
Installing libtcl8.4.a to /home/aziza/Bureau/ns-allinone-2.34/lib/
cp: cannot create regular file `/home/aziza/Bureau/ns-allinone-2.34/lib/#inst.20046#': Permission denied
rm: cannot remove `/home/aziza/Bureau/ns-allinone-2.34/lib/libtcl8.4.a': Permission denied
mv: cannot stat `/home/aziza/Bureau/ns-allinone-2.34/lib/#inst.20046#': No such file or directory
ranlib: could not create temporary file whilst writing archive: No more archived files
make: *** [install-binaries] Error 1
tcl8.4.18 installation failed.
Tcl is not part of the ns project. Please see www.Scriptics.com
to see if they have a fix for your platform.
 
Old 10-08-2014, 04:54 AM   #54
nassou19891
Member
 
Registered: Sep 2014
Posts: 56

Original Poster
Rep: Reputation: Disabled
Hello ,
Q1: please can you provide to me an example of MPTCP ?
Q2: you provide to me examples of SCTP-CMT , can you help me to find a TCL code only for SCTP ?
Q3: Is WIFI included to ns by default or should i add it like WIMAX and LTE ?
 
Old 10-08-2014, 06:24 AM   #55
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
← #54 .

MPTCP example (mptcp-sample.tcl) : MPTCP-example.tar.gz
https://drive.google.com/file/d/0B7S...ew?usp=sharing

? Not quite sure what these do (csma***.tcl)
https://github.com/dnlove/ammac-ns2/tree/master/duy/tcl

WIFI : No reason not to use this : "lwx+LTE+dccp+MPTCP-ns234.patch".

-
 
Old 10-08-2014, 07:48 AM   #56
nassou19891
Member
 
Registered: Sep 2014
Posts: 56

Original Poster
Rep: Reputation: Disabled
Think you very much

For WIFI i want to use it in a scénario im my (WiFi-Wimax) or (WiFi-LTE ) that is why i ask .
 
Old 10-08-2014, 09:38 AM   #57
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
← #54 .

More examples.

SCTP : Google .. ns2 sctp simulation ..
https://www.google.com/webhp?hl=all&...ctp+simulation
Example http://www.youtube.com/watch?v=EF1oXE_5DAc

SCTP/CMT : Google .. ns2 sctp-cmt.tcl ..
https://www.google.com/webhp?hl=all&...2+sctp-cmt.tcl
Example.tcl :
http://blog.163.com/xjtshua@126/blog...1112510136559/
The example "sctp_cmt.tcl" works perfect with a default "ns".
And also with the executable 'ns234-wimax-lwx+DCCP+LTE+MPTCP'.

Another 'sctp_cmt' https://groups.google.com/forum/#!ms...o/29vSZuc6Kh0J

INFO : [tomh]Fri June 23 07:25:00 PDT 2006:
Updated SCTP implementation; patch contributed by Janardhan Iyengar: The Concurrent Multipath Transfer (CMT) extension to SCTP has been added. To use CMT, set useCmtReordering, useCmtCwnd and useCmtDelAck 1 at the sender, and useCmtDelAck and useDelayedSacks to 1 at the receiver. You can turn OFF the DAC algorithm by setting useCmtDelAck to 0 at both the sender and the receiver. These variables will (hopefully) get consolidated by the next release.
( Quoted from the ns2 file "CHANGES.html" ).


-

Last edited by knudfl; 10-08-2014 at 09:51 AM.
 
Old 10-10-2014, 10:34 AM   #58
nassou19891
Member
 
Registered: Sep 2014
Posts: 56

Original Poster
Rep: Reputation: Disabled
Think you very much
 
Old 10-21-2014, 10:07 AM   #59
nassou19891
Member
 
Registered: Sep 2014
Posts: 56

Original Poster
Rep: Reputation: Disabled
Hello Sir

I have two questions about programming in ns2 so

Q1 : I want mesure the efficiency , equity and loss rate of network and i will use it to mesure the performance of this network so my question is after i create the network with TCL code what should i use to calculate this parameters ( efficiency , equity , loss rate )

Q2 : HOW can i change the results to graph ( curve ) by using xgraph ?
 
  


Reply

Tags
lte, mptcp, ns2, wimax-lwx_and_lte


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
regarding LTE patch on ns2.35 swetha.goudar Linux - Networking 3 03-24-2014 05:11 AM
[SOLVED] patching lte in ns2.33 chandana Linux - Software 19 03-01-2014 12:20 AM
Ns2 + wimax ballexaa Linux - Software 1 09-14-2013 03:27 PM
Ns2-lte binteasim Linux - Software 2 07-23-2013 04:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 06:19 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