I managed to change the permision on ns-allinone-2.29.
but when I type [narges@localhost ~]$ ns bash: ns: command not found... Similar command is: 'nc' Do I have to apply "make install" in ns-2.29 folder again? Does that mean that I have to install mobility and wimax module again? |
# 16
If you installed 'ns' to /usr/local/bin/, it should be there. If you didn't : 1) su 2) cp ns /usr/local/bin/ . |
post #17
I installed ns2 with standard procedure.. (tar , cd /ns-allinone-2.29, ./install) and then installed wimax mobility module. and edited the path in bashrc file. but I allways used root to perform ns2 commands. now that I changed the permission, I can not use ns. [root@localhost narges]# cp ns /usr/local/bin/ cp: cannot stat `ns': No such file or directory My question is, if i go to ns-2.29 and apply make install now, do I have to install wimax module again after make install? or it will still be there? |
# 18
Quote:
The binary 'ns' is hard coded to know the location of its libraries. The wimax functions are compiled into the current 'ns'. If you have done everything the right way. Tests like 'ns example2.tcl' , 'ns example.tcl' will show. . |
I could get result previously by using root, but now that I changed the permission of ns-allinone-2.29 folder, as unprivileged user, I can not run the scripts and instead I get
bash: ns: command not found... Similar command is: 'nc' error. |
All times are GMT -5. The time now is 03:06 PM. |