hello sir,
i was trying to install ns2.33 in ubuntu10.04. i have followed the procedure. in which after the validation there was a command to creat a symlink. the command was, $sudo ln -s/home/neha/ns-allinone-2.33/ns-2.33/ns/usr/bin/ns.
i m tried this command all the way asa much asa possible. but an error has been arrived. the error is "ln: invalid option '/' ". please help me to solve this problem.
Hi all,
i am new to linux, i am using Centos 6. There is some problem in the network settings as i am able to browse internet from a browser but when i am trying to use the terminal (using ping command) for any of the website (say www.google.com) nothing is happening. suppose i want to install some software (like hdf5), when i am using "sudo yum install hdf5" it shows large number of error massages like "error could not connect to the host". It would be a great help if someone provide the solution.
Thanks in advance.
Durgesh
Hi Everyone
i m working on ns2.35 ubuntu 12.04
when i follow these steps for olsr patching
all commands ran without error
cd ns-allinone-2.35/ns-2.35/
tar zxvf um-olsr-1.0.tgz
ln -s ./um-olsr-1.0 ./um-olsr
patch -p1 < um-olsr/um-olsr_ns-2.35_v1.0.patch
but while running the olsr.tcl
it again shows the same error
invalid command name "Agent/OLSR"
while executing
"Agent/OLSR set use_mac_ true"
(file "olsr.tcl" line 38)
please help me , thnx in advance
I am working on LAR protocol, ns2 version = 2.32
OS = ubuntu 12.04
i successfully installed LAR NS on my system . but nam does not qork with ns-2.32 . so i tried to install with the following command
sudo make install nam ===> it successfully installed namv1.15 . but when i run box.tcl it is giving me the following error
SORTING LISTS ...DONE!
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 220.0
Segmentation fault (core dumped)
then i tried to remove the nam with this command sudo apt-get remove nam ==> removed
then i installed this nam from (nam_1.14_amd64.deb) . when i write nam it shows me network animator window v1.14 but segmentataion fault error remains the same .
I also tried to install nam-1.14.i586.tar.gz , first untar it and then the following command sudo cp nam /usr/local/bin but still the error .
i also tried with nam-1.14-x86_64.tar.gz but still no success.
if i dont use nam , then my box file runs successfully.
plz suggest me how to rectify this error.
Hello,
this is my first question on this forum,hope to get a satisfactory answer.
i have ubuntu 9.10 installed on my laptop with ns-allinone-2.31.
i want to add a new module to NS2. i edited Makefile.in under
/home/ns-allinone-2.31/ns-2.31 directory. whenever i enter command
make -f Makefile.in
i get
make: *** [tools/random.o] Error 127
error.
i have gcc version 4.4.1.
i think some bug in ns-allinone-2.31 or some thing?
thanks
Hello every one
please I need your help to fix my problem to install ns2.33allinone on the ubuntu 10.10 in order to run ZRP protocol for security purpose.
before this time I install every thing correctly as follow
The steps I follow to run the ZRP on the Ubuntu 10.10 and Ns2-allinone-2.33
------------------------------------------------------------------
1. first install the Ubuntu 10.10 on VMwear and download the ns2.33 and exract it in the home directory
2.Ubuntu 10.10 - 32´ is old. you have to replace the text in /etc/apt/sources.list , to be able to install packages.
So you write
$ gedit /etc/apt/sources.list
After the file open remove all the text and past the following text instead it.
#
deb http://old-releases.ubuntu.com/ubuntu/ maverick main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-updates multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-backports multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security main restricted
deb http://old-releases.ubuntu.com/ubuntu/ maverick-security multiverse universe
#
Then save the file and close.
3.Write the following command to update the system
$ sudo apt-get update
4.download the two files from the following link and save it in the home directory
gcc41-compat , `gcc41-compat-4.1.2_i386.deb' :
https://drive.google.com/file/d/0B7S...it?usp=sharing
g++41-compat , `g++41-compat-4.1.2_i386.deb' :
https://drive.google.com/file/d/0B7S...it?usp=sharing
5.write the following command to install
$ sudo dpkg -i g++41-compat-4.1.2_i386.deb gcc41-compat-4.1.2_i386.deb
6.write the following command to update the packages
$sudo apt-get install libx11-dev libxmu-dev libxmu-headers libxt-dev libtool make automake autoconf g++
7. Download the ZRP from the following link and put it in the ns-allinone-2.33 directory
The latest "patch package" is zrp-ns233-patching.tar.gz
https://drive.google.com/file/d/0B7S...it?usp=sharing
8. After that you should follow the next steps
$ cd ns-allinone-2.33/
$ tar xvf zrp-ns233-patching.tar.gz
$ export CC=gcc41 CXX=g++41
$ ./install
$ cd ns-2.33/
$ sudo make install
9. Then you can download the example of the ZRP from the following link and run
ZRP examples : zrp-examples-2012.tar.bz2
https://drive.google.com/file/d/0B7S...it?usp=sharing
but now when i try to install it again i got this error
after i run "./install" command
#
============================================================
* Build tcl8.4.18
============================================================
configu WARNING: unrecognized options: --enable-gcc
checking whether to use symlinks for manpages... no
checking whether to compress the manpages... no
checking whether to add a package name suffix for the manpages... no
checking for gcc... gcc41
checking whether the C compiler works... no
configu error: in `/home/ali/ns-allinone-2.33/tcl8.4.18/unix':
configu error: C compiler cannot create executables
See `config.log' for more details
tcl8.4.18 configuration failed! Exiting ...
Tcl is not part of the ns project. Please see www.Scriptics.com
to see if they have a fix for your platform.
#
so please if any one can help me to fix this problem or give me any advice how to run ZRP protocol and the appropriate environment to run it
thanks in advance for your help
I'm at the "install the base packages" of this guide. When I type in the # pacstrap /mnt base command I receive this error:
Code:
error: config parsing exceeded max recursion depth of 10.
==> ERROR: Failed to install packages to new root.
Any ideas what it is?
After i've execute $ isql -v database dsn name command i get an error in form:"Floating point exception (core dumped)". My comp is Lenovo with 64b AMD processor and my OS is Ubuntu 15.04. As a noobie i suppose the error is in my libmyodbc.so driver. Any advice will be a ppreciated.
marijan
hello sir
I m new in Linux. I m trying to install ns-allinone2.33 package in Ubuntu 10.04. according to step which I follow. i have already extract ns-allinone2.33package in home folder. bt I m getting problem in installing dependencies. when i write the command "$ sudo apt-get install build-essential autoconf automake libxmu-dev gcc-4.3", i m getting the message like "unable to fetch some archive, maybe run apt-get update or try with -fix-missing?". so because of that next steps are not working. please help me out.
Hi all i hav problem in NS2. whenever creating an new simulator it shows an error for invalid command name "new". how to solve this problem plz help me
Thanks in advance
Nanda
Hello,
I am having issues connecting to my linux box (opensuse 11.3) from my Window 7 sytem. I am using FileZilla. When I attempt to connect I get this error message
Status: Connecting to 192.168.198.205...
Response: fzSftp started
Command: open "Mike@192.168.198.205" 22
Command: Trust new Hostkey: Once
Command: Pass: *********
Error: Authentication failed.
Error: Critical error
Error: Could not connect to server
I am thinking it is a setup on issue on my Linux box but not sure what to change at this point. I must have some settings correct, because I am able to remote into my Linux box using FreeNX. Any help would be appreciated