tag:blogger.com,1999:blog-8826608353769320919.post8629630340713535938..comments2024-03-25T09:55:05.166+05:30Comments on Engineering Clinic: NS2 (NS-2.35) Installation in Ubuntu 11.10T S Pradeep Kumarhttp://www.blogger.com/profile/00230848934745389790noreply@blogger.comBlogger77125tag:blogger.com,1999:blog-8826608353769320919.post-23445683374768764422013-04-16T22:43:23.223+05:302013-04-16T22:43:23.223+05:30i installed ns-2 and set path, but when i type ns,...i installed ns-2 and set path, but when i type ns, it shows command not foundAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-46793091284316904802013-04-15T01:20:50.699+05:302013-04-15T01:20:50.699+05:30comment faire pour copier le path et ld_library_pa...comment faire pour copier le path et ld_library_path<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-41412102612104268722013-04-04T23:33:21.758+05:302013-04-04T23:33:21.758+05:30Please ensure if you have compiled the needed .cc ...Please ensure if you have compiled the needed .cc file. I got the same error and included the relevant .o file in Makefile and then did a make and then ran ns, it worked fine.Arul Kumar Cnoreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-32037115094170574112013-03-29T09:15:25.882+05:302013-03-29T09:15:25.882+05:30sudo apt-get install build-essential autoconf auto...sudo apt-get install build-essential autoconf automake libxmu-dev<br /><br />install is missing in this commadAnonymousnoreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-81319453052401015742013-03-16T10:11:51.181+05:302013-03-16T10:11:51.181+05:30For octl-1.1x issues do this:
sudo apt-get instal...For octl-1.1x issues do this:<br /><br />sudo apt-get install libxt-dev<br />Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-22696897897450421472013-03-15T04:24:17.140+05:302013-03-15T04:24:17.140+05:30I am getting following error on NS2 installation
...I am getting following error on NS2 installation<br /><br />checking for X11 header files<br />can't find X includes<br />otcl-1.13 configuration failed! Exiting ...<br />Please check http://www.isi.edu/nsnam/ns/ns-problems.html<br />for common problems and bug fixes.<br /><br />Can anybody suggest how to fix it?Anonymoushttps://www.blogger.com/profile/13650817113071538125noreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-26557067281760143362013-03-10T16:47:58.774+05:302013-03-10T16:47:58.774+05:30Sir,
I have followed all the steps of ns2 install...Sir, <br />I have followed all the steps of ns2 installation for installing ns2.35 in ubuntu 11.10. <br />after all the steps when I run the command validate it says overall report : all tests passed.<br /><br />but when I type ns it says ns currently not installed.<br />I have checked the paths given in bashrc file also.<br /><br />Please help me sir now what should I do?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-8185348665055837812013-03-09T13:38:16.131+05:302013-03-09T13:38:16.131+05:30The command missed a word. You ought to give sudo ...The command missed a word. You ought to give sudo apt-get install build-essential autoconf automake libxmu-devanonhttps://www.blogger.com/profile/01934708359686117140noreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-79324954706312772612013-03-08T13:07:00.192+05:302013-03-08T13:07:00.192+05:30Sir while adding a new protocol wfrp into ns2.34 i...Sir while adding a new protocol wfrp into ns2.34 i'm getting error 1 while executing make clean or make all commands....balagopalnoreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-47951171974439651362013-02-26T06:32:01.265+05:302013-02-26T06:32:01.265+05:30see this post for setting proxy in ubuntu
http://w...see this post for setting proxy in ubuntu<br />http://www.pradeepkumar.org/2010/06/http_proxy-in-ubuntu.htmlT S Pradeep Kumarhttps://www.blogger.com/profile/00230848934745389790noreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-76401084118336434952013-02-26T00:04:55.276+05:302013-02-26T00:04:55.276+05:30Hi,
I have same problem As Jeni..
when i give &quo...Hi,<br />I have same problem As Jeni..<br />when i give "sudo apt-get build-essential autoconf automake libxmu-dev" it tells<br />E: Invalid operation build-essential<br />I also updated my system,but as you said that ""...or does your internet uses proxy for downloading.""<br />Yes,I am using proxy for downloading.<br />So,What can I do now?Pratik Agrawalhttps://www.blogger.com/profile/06810473734628115886noreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-15446478892587133422013-02-17T20:30:49.136+05:302013-02-17T20:30:49.136+05:30thanx jeni...thanx jeni...Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-19944219927372554872012-12-21T19:21:19.520+05:302012-12-21T19:21:19.520+05:30sir when i was trying to install ns-allinone-2.35 ...sir when i was trying to install ns-allinone-2.35 on ubundu 10.10 i got an error message ./install :499 ./configure<br />Permission denied<br /><br />Please help me to solve thisAnonymoushttps://www.blogger.com/profile/15938781795935925250noreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-70539085348284641262012-08-26T13:55:15.573+05:302012-08-26T13:55:15.573+05:30how to set path and library path variables, please...how to set path and library path variables, please tell?Anonymousnoreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-14926133100635210742012-06-17T02:33:47.013+05:302012-06-17T02:33:47.013+05:30hi when i execute this program in ns2 i get this #...hi when i execute this program in ns2 i get this #define object<br />set ns [new simulator]<br /><br />#defile nam and trace files<br /><br /><br />set nf [open out.nam w]<br />$ns namtrace-all $nf<br />#define proc finish<br />proc finish {} {<br />global ns nf<br />$ns flush-trace <br />close $nf<br />exec nam out.nam &<br />exit 0<br />$ns at 5.0 "finish"<br />$ns run <br /> i get this problem<br />invalid command name "simulator"<br /> while executing<br />"simulator create _o3 "<br /> invoked from within<br />"catch "$className create $o $args" msg"<br /> invoked from within<br />"if [catch "$className create $o $args" msg] {<br />if [string match "__FAILED_SHADOW_OBJECT_" $msg] {<br />delete $o<br />return ""<br />}<br />global errorInfo<br />error "class $..."<br /> (procedure "new" line 3)<br /> invoked from within<br />"new simulator"<br /> invoked from within<br />"set ns [new simulator]"<br />plz help.Zayedlinkhttps://www.blogger.com/profile/08783043107619833768noreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-84960214761597004552012-05-25T10:30:19.501+05:302012-05-25T10:30:19.501+05:30send me olsr patch for ns-2.35 sirsend me olsr patch for ns-2.35 sirmohanhttps://www.blogger.com/profile/01801363349260924028noreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-22565085470974093972012-05-17T20:14:19.742+05:302012-05-17T20:14:19.742+05:30i install ns2.35 over fedora 16 after successful l...i install ns2.35 over fedora 16 after successful l installation. i got problem when enter nam it,s give me following error plz help how to fix.<br /><br />[root@localhost nam-1.15]# nam<br />nam: Can't find a usable tk.tcl in the following directories: <br /> /root/ns-allinone-2.35/tcl8.5.10/library/tk8.5 /root/ns-allinone-2.35/tcl8.5.10/tk8.5 ./lib/tk8.5 /root/ns-allinone-2.35/lib/tk8.5 ./library<br /><br />/root/ns-allinone-2.35/lib/tk8.5/tk.tcl: wrong # args: should be "::source fileName"<br />wrong # args: should be "::source fileName"<br /> while executing<br />"::source -encoding utf-8 /root/ns-allinone-2.35/lib/tk8.5/msgs/en.msg"<br /> ("uplevel" body line 1)<br /> invoked from within<br />"uplevel 1 [list ::source -encoding utf-8 $langfile]"<br /> (procedure "::msgcat::mcload" line 10)<br /> invoked from within<br />"::msgcat::mcload [file join $::tk_library msgs]"<br /> (in namespace eval "::tk::msgcat" script line 23)<br /> invoked from within<br />"namespace eval msgcat {<br /> namespace export mc mcmax<br /> if {[interp issafe] || [catch {package require msgcat}]} {<br /> # The msgcat package..."<br /> (in namespace eval "::tk" script line 3)<br /> invoked from within<br />"namespace eval ::tk {<br /> # Set up the msgcat commands<br /> namespace eval msgcat {<br /> namespace export mc mcmax<br /> if {[interp issafe] || [catch {p..."<br /> (file "/root/ns-allinone-2.35/lib/tk8.5/tk.tcl" line 21)<br /> invoked from within<br />"source.orig /root/ns-allinone-2.35/lib/tk8.5/tk.tcl"<br /> ("uplevel" body line 1)<br /> invoked from within<br />"uplevel source.orig [list $fileName]"<br /> invoked from within<br />"if [$instance_ is_http_url $fileName] {<br />set buffer [$instance_ read_url $fileName]<br />uplevel eval $buffer<br />} else {<br />uplevel source.orig [list $fileName]<br />..."<br /> (procedure "source" line 8)<br /> invoked from within<br />"source /root/ns-allinone-2.35/lib/tk8.5/tk.tcl"<br /> ("uplevel" body line 1)<br /> invoked from within<br />"uplevel #0 [list source $file]"<br /><br /><br />This probably means that tk wasn't installed properly.<br /><br /><br />please guide and give me step to fix the problemsajjadhttps://www.blogger.com/profile/08111811770035969309noreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-14872619461774549882012-05-17T19:45:30.956+05:302012-05-17T19:45:30.956+05:30[root@localhost ~]# nam
nam: Can't find a usab...[root@localhost ~]# nam<br />nam: Can't find a usable tk.tcl in the following directories: <br /> /root/ns-allinone-2.35/tcl8.5.10/library/tk8.5 /root/ns-allinone-2.35/tcl8.5.10/tk8.5 ./lib/tk8.5 /root/ns-allinone-2.35/lib/tk8.5 ./library<br /><br />/root/ns-allinone-2.35/lib/tk8.5/tk.tcl: wrong # args: should be "::source fileName"<br />wrong # args: should be "::source fileName"<br /> while executing<br />"::source -encoding utf-8 /root/ns-allinone-2.35/lib/tk8.5/msgs/en.msg"<br /> ("uplevel" body line 1)<br /> invoked from within<br />"uplevel 1 [list ::source -encoding utf-8 $langfile]"<br /> (procedure "::msgcat::mcload" line 10)<br /> invoked from within<br />"::msgcat::mcload [file join $::tk_library msgs]"<br /> (in namespace eval "::tk::msgcat" script line 23)<br /> invoked from within<br />"namespace eval msgcat {<br /> namespace export mc mcmax<br /> if {[interp issafe] || [catch {package require msgcat}]} {<br /> # The msgcat package..."<br /> (in namespace eval "::tk" script line 3)<br /> invoked from within<br />"namespace eval ::tk {<br /> # Set up the msgcat commands<br /> namespace eval msgcat {<br /> namespace export mc mcmax<br /> if {[interp issafe] || [catch {p..."<br /> (file "/root/ns-allinone-2.35/lib/tk8.5/tk.tcl" line 21)<br /> invoked from within<br />"source.orig /root/ns-allinone-2.35/lib/tk8.5/tk.tcl"<br /> ("uplevel" body line 1)<br /> invoked from within<br />"uplevel source.orig [list $fileName]"<br /> invoked from within<br />"if [$instance_ is_http_url $fileName] {<br />set buffer [$instance_ read_url $fileName]<br />uplevel eval $buffer<br />} else {<br />uplevel source.orig [list $fileName]<br />..."<br /> (procedure "source" line 8)<br /> invoked from within<br />"source /root/ns-allinone-2.35/lib/tk8.5/tk.tcl"<br /> ("uplevel" body line 1)<br /> invoked from within<br />"uplevel #0 [list source $file]"<br /><br /><br />This probably means that tk wasn't installed properly.<br /><br />please help what to do????sajjadhttps://www.blogger.com/profile/08111811770035969309noreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-36938764865135912782012-04-25T15:53:22.680+05:302012-04-25T15:53:22.680+05:30you can open the .bashrc in the home folder(for ex...you can open the .bashrc in the home folder(for example if your login is pradeep, then the file will be located at /home/pradeep<br />just to these steps<br />type this command to find out your home<br />echo $HOME <br />and type <br />cd $HOME<br />and then <br />gedit .bashrcT S Pradeep Kumarhttps://www.blogger.com/profile/00230848934745389790noreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-10220690789377285312012-04-25T13:54:47.573+05:302012-04-25T13:54:47.573+05:30I could not find the path settings in my .bashrc f...I could not find the path settings in my .bashrc file. I used the command "gedit ~/.bashrc" in the terminal to open the file. Is it the right way to access .bashrc for the removal of the path settings?Priya Mohantynoreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-55396031975281037052012-04-23T08:31:52.913+05:302012-04-23T08:31:52.913+05:30Delete the ns-allinone-2.34/ folder and remove the...Delete the ns-allinone-2.34/ folder and remove the path settings set in .bash_profile or .bashrc.T S Pradeep Kumarhttps://www.blogger.com/profile/00230848934745389790noreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-74190274049733255072012-04-23T00:00:18.193+05:302012-04-23T00:00:18.193+05:30Hi Pradeepkumar T S,
Could you please give me the ...Hi Pradeepkumar T S,<br />Could you please give me the exact steps to uninstall ns-2.34 from ubuntu 11.04? I am not well versed with unix commands. Please help!!!Priya Mohantynoreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-42914189574403950992012-04-21T12:47:53.105+05:302012-04-21T12:47:53.105+05:30may be you are trying in a different directory, pl...may be you are trying in a different directory, please use the command "pwd" (without quotes) to find out the path you are working.T S Pradeep Kumarhttps://www.blogger.com/profile/00230848934745389790noreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-71972342622379768832012-04-19T19:45:48.946+05:302012-04-19T19:45:48.946+05:30all step is correct and working fine: this is my c...all step is correct and working fine: this is my case ns 2.35 with ubuntu 11.10 :<br /><br /><br />//NS2.35 on UBUNTU 11.10<br /> cd /home/myuser<br /> tar zxvf ns-allinone-2.35.tar.gz<br /> sudo apt-get install build-essential<br /> sudo apt-get install tcl8.4 tcl8.4-dev tk8.4 tk8.4-dev<br /> sudo apt-get install libxmu-dev libxmu-headers<br /> sudo apt-get remove gcc<br /> sudo apt-get update<br /> sudo apt-get build-essential autoconf automake libxmu-dev<br /> tar zxvf ns-allinone-2.35.tar.gz<br /> cd /home/myuser/ns-allinone-2.35<br /> ./install<br /><br /><br /><br />// ADD FOLLOWING LINES on .bashrc file (/home/myuser/.bashrc):<br /><br /> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/myuser/ns-allinone-2.35/otcl-1.14<br /> export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/home/myuser/ns-allinone-2.35/lib<br /> export TCL_LIBRARY_PATH=$TCL_LIBRARY_PATH:/home/myuser/ns-allinone-2.35/tcl8.5.10/library<br /><br />source ./bashrcKanehttps://www.blogger.com/profile/10909925559303873392noreply@blogger.comtag:blogger.com,1999:blog-8826608353769320919.post-65942801766438612532012-04-16T13:13:13.805+05:302012-04-16T13:13:13.805+05:30tar zxvf ns-allinone-2.35.tar.gz
error is occur af...tar zxvf ns-allinone-2.35.tar.gz<br />error is occur after this command that "no such directory is available"<br />error is not recoverable...<br />what i will do now????Anonymousnoreply@blogger.com