Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
|
09-05-2012, 03:47 AM
|
#16
|
|
Member
Registered: Oct 2011
Posts: 32
Original Poster
Rep: 
|
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?
|
|
|
|
09-05-2012, 04:27 AM
|
#17
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,626
|
# 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/
.
|
|
|
|
09-05-2012, 04:43 AM
|
#18
|
|
Member
Registered: Oct 2011
Posts: 32
Original Poster
Rep: 
|
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?
|
|
|
|
09-05-2012, 04:49 AM
|
#19
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,626
|
# 18
Quote:
|
and edited the path in bashrc file.
|
Not required.
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.
.
|
|
|
|
09-05-2012, 04:54 AM
|
#20
|
|
Member
Registered: Oct 2011
Posts: 32
Original Poster
Rep: 
|
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.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 12:39 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|