Search This Blog

NS-2.35 Released!

Labels: , ,

The latest version of ns-2: ns-2.35 has been released.

Download ns-allinone-2.35

The official website can be found on this link: http://nsnam.isi.edu/nsnam/index.php/Roadmap#Release_schedule

The download link given above is of ns-allinone-2.35-RC4 package. The platform support is yet to be tested.

But ns-allinone-2.35-RC2 has been tested on Ubuntu Karmic, Ubuntu 8.04, Fedora 12, etc.

For more information please visit the official website here.

Hope it helps.

Regards,
Mohit P. Tahiliani

Comments (5)

dear mohit,

i am working on thesis at IEEE 802.11 adhoc wireless network. i have to implement multihop routing protocol at MAC layer. NS 2.35 MAC folder also contains some multihop files ? what are those ? please help me..

regards,

dear mohit,
i m working on dccp for manets.......
i m not able to create a topology by giving dccp instead of tcp......
i m using ns-2.34.......please help me what should i do.......
my work is for my dissertation....
regards
mintu singh

the error is
num_nodes is set 3
Configuring Nodes
INITIALIZE THE LIST xListHead
dccp1 variable created
dccp1 class set OK
Connection - 1 Establised
Connection - 2 Established
Printing the window size Completed
Everything is done
*** stack smashing detected ***: ns terminated
======= Backtrace: =========
/lib/i386-linux-gnu/libc.so.6(__fortify_fail+0x50)[0xb9a0a0]
/lib/i386-linux-gnu/libc.so.6(+0xe704a)[0xb9a04a]
ns(_ZN8CMUTrace10nam_formatEP6Packeti+0xbcf)[0x82bc1d9]
ns(_ZN8CMUTrace6formatEP6PacketPKc+0x6b)[0x82bc24f]
ns(_ZN8CMUTrace4recvEP6PacketP7Handler+0x71)[0x82bc587]
ns(_ZN5Agent4sendEP6PacketP7Handler+0x2c)[0x81d4ebe]
ns(_ZN9DCCPAgent6outputEb+0x732)[0x8236dee]
ns(_ZN9DCCPAgent7sendmsgEiPKc+0x1a3)[0x8239e95]
ns(_ZN5Agent7commandEiPKPKc+0x30b)[0x81ded1b]
ns(_ZN9DCCPAgent7commandEiPKPKc+0xad)[0x82391a1]
ns(_ZN16DCCPTCPlikeAgent7commandEiPKPKc+0x1f)[0x823f74d]
ns(_ZN8TclClass12dispatch_cmdEPvP10Tcl_InterpiPPKc+0x32)[0x83d1396]
ns[0x83d4f83]
ns(TclInvokeStringCommand+0x6e)[0x83d9a0e]
ns(TclEvalObjvInternal+0x373)[0x83db713]
ns[0x8407aba]
ns(TclCompEvalObj+0xdd)[0x840bd4d]
ns[0x8407dd3]
ns(TclCompEvalObj+0xdd)[0x840bd4d]
ns(TclObjInterpProc+0x2a7)[0x8435dc7]
ns(TclProcInterpProc+0x80)[0x8436280]
ns[0x83d5153]
ns(TclInvokeStringCommand+0x6e)[0x83d9a0e]
ns(TclEvalObjvInternal+0x373)[0x83db713]
ns[0x8407aba]
ns(TclCompEvalObj+0xdd)[0x840bd4d]
ns(TclObjInterpProc+0x2a7)[0x8435dc7]
ns(TclProcInterpProc+0x80)[0x8436280]
ns[0x83d4f83]
ns(TclInvokeStringCommand+0x6e)[0x83d9a0e]
ns(TclEvalObjvInternal+0x373)[0x83db713]
ns(Tcl_EvalEx+0x4fc)[0x83dc3ac]
ns(Tcl_Eval+0x3c)[0x83dc64c]
ns(Tcl_GlobalEval+0x36)[0x83dc6e6]
ns(_ZN3Tcl4evalEPc+0x1b)[0x83d09a3]
ns(_ZN9AtHandler6handleEP5Event+0x24)[0x81c4e1a]
ns(_ZN9Scheduler8dispatchEP5Eventd+0x94)[0x81c4dd0]
ns(_ZN9Scheduler3runEv+0x2c)[0x81c4d04]
ns(_ZN9Scheduler7commandEiPKPKc+0x6b)[0x81c4eb1]
ns(_ZN8TclClass12dispatch_cmdEPvP10Tcl_InterpiPPKc+0x32)[0x83d1396]
ns[0x83d4f83]
ns(TclInvokeStringCommand+0x6e)[0x83d9a0e]
ns(TclEvalObjvInternal+0x373)[0x83db713]
ns[0x8407aba]
ns(TclCompEvalObj+0xdd)[0x840bd4d]
ns[0x8407dd3]
ns(TclCompEvalObj+0xdd)[0x840bd4d]
ns(TclObjInterpProc+0x2a7)[0x8435dc7]
ns(TclProcInterpProc+0x80)[0x8436280]
ns[0x83d5153]
ns(TclInvokeStringCommand+0x6e)[0x83d9a0e]
ns(TclEvalObjvInternal+0x373)[0x83db713]
ns[0x8407aba]
ns(TclCompEvalObj+0xdd)[0x840bd4d]
ns(TclObjInterpProc+0x2a7)[0x8435dc7]
ns(TclProcInterpProc+0x80)[0x8436280]
ns[0x83d4f83]
ns(TclInvokeStringCommand+0x6e)[0x83d9a0e]
ns(TclEvalObjvInternal+0x373)[0x83db713]
ns(Tcl_EvalEx+0x4fc)[0x83dc3ac]
ns(Tcl_FSEvalFile+0x243)[0x8424f13]
ns(Tcl_Main+0x357)[0x84285b7]
ns(nslibmain+0x20)[0x83d05ec]
======= Memory map: ========
00110000-00226000 r-xp 00000000 08:08 137689 /usr/lib/i386-linux-gnu/libX11.so.6.3.0

Dear Mohit,

I could install the NS-2.35 on Ubuntu 12.04 successfully. But in terminal when I type ns, it does not show %; instead it gives error message as below -
“The program ‘ns’ is currently not installed. You can install it by typing:
sudo apt-get install ns2″
Then I have updated /.bashrc by adding below 3 lines at the end of file /home/.bashrc
export PATH=$PATH:/home/sangram/ns/ns-allinone-2.35/tcl8.5.10/unix:/home/sangram/ns/ns-allinone-2.35/tk8.5.10/unix
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/sangram/ns/ns-allinone-2.35/otcl-1.14:/home/sangram/ns/ns-allinone-2.35/lib
export TCL_LIBRARY_PATH=$TCL_LIBRARY_PATH:/home/sangram/ns/ns-allinone-2.35/tcl8.5.10/library

Still it gives same problem,
Is there any other incompatibility issue or configuration related issues?
Can you please help me in this regard?

Thank you.
Sangram Patil

Hi Mohit,
I could resolve the problem by updating ~/.bashrc file itself. I have set environment variables as below as the last of file
# LD_LIBRARY_PATH
OTCL_LIB=/home/sangram/ns/ns-allinone-2.35/otcl-1.14
NS2_LIB=/home/sangram/ns/ns-allinone-2.35/lib
X11_LIB=/usr/X11R6/lib
USR_LOCAL_LIB=/usr/local/lib
export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB

# TCL_LIBRARY
TCL_LIB=/home/sangram/ns/ns-allinone-2.35/tcl8.5.10/library
USR_LIB=/usr/lib
export TCL_LIBRARY=$TCL_LIB:$USR_LIB

# PATH
XGRAPH=/home/sangram/ns/ns-allinone-2.35/bin:/home/sangram/ns/ns-allinone-2.35/tcl8.5.10/unix:/home/sangram/ns/ns-allinone-2.35/tk8.5.10/unix
NS=/home/sangram/ns/ns-allinone-2.35/ns-2.35/ns
NAM=/home/sangram/ns/ns-allinone-2.35/nam-1.15/nam
PATH=$PATH:$XGRAPH:$NS:$NAM