hello,
I have edited leach_test file and saved
but when i run the leach_test file it makes some error
like cp: command not found
is it possible to edit and save leach_test file?
If yes, how?
thanks
mehedi
when running leach. i got different leach.out
first i was confusing is it correct or no.
for example, one of them show that there is a collision. some times one TDMAschedule.txt file generated and some times more than one.
every time i run leach_test the out put differ. but i notice that in coditions.txt ==> the desired number of clusters is always 1
first, how can i change this value. and how it will effect on leach.out?
second, i need some illustration on how to understand leach.out to be able to determine it is correct or not.
thanks in advance
Hi all,
I am trying to simulate leach on NS2 but I've had problems with running the leach_test. I've followed all steps from installing NS2 up to installing the LEACH patch (used the latest one from exidus). Here's the error message in the leach.err I found.
Code:
couldn't read file "/mit/uAMPS/uamps.tcl": no such file or directory
while executing
"source.orig /mit/uAMPS/uamps.tcl"
("uplevel" body line 1)
invoked from within
"uplevel source.orig[list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig[list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source /mit/uAMPS/uamps.tcl"
(file "tcl/mobility/leach.tcl" line 18)
invoked from within
"source.orig tcl/mobility/leach.tcl"
("uplevel" body line 1)
invoked from within
"uplevel source.orig[list $fileName]"
invoked from within
"if [$instance_ is_http_url $fileName] {
set buffer [$instance_ read_url $fileName]
uplevel eval $buffer
} else {
uplevel source.orig[list $fileName]
..."
(procedure "source" line 8)
invoked from within
"source tcl/mobility/$opt(rp).tcl"
(file "tcl/ex/wireless.tcl" line 187)
Your help are very much appreciated, thanks!
Hi. I have some doubts regarding “LEACH” protocol. I’m using ns-2.34 on Ubuntu 10.04 and patched leach protocol by following below link. I got ‘leach.out’ file, but I didn’t get ‘leach.err’ file.
https://abdusyarif.wordpress.com/201...-step-by-step/
Then I want to check out the leach source code file. The source code of the leach is not found in that folder. I ran out the leach test file and I’ve got a warning message.
i run leach protocol on ns2.34
from the package provided is
the additional module "pegasis/leach" > exidus-pegasis_ns-234-leach.tar.gz
Download link https://docs.google.com/file/d/0B7S2...it?usp=sharing
the generated nam file look like this
V -t * -v 1.0a5 -a 0
W -t * -x 1000 -y 1000
A -t * -n 1 -p 0 -o 0xffffffff -c 31 -a 1
A -t * -h 1 -m 2147483647 -s 0
why it is not complete ?
I'm new to linux but I use linux a little at school and by connecting through a shell at home. Anyways, I just installed linux a little while ago and I opened a shell and tried to compile some java code by going to the directory of the code and typing "javac someCode.java" like I do at school but it says the command is not found.
I previously had installed the java runtime environment and I just went to go and try to install the java development kit but it says it was already installed.
Is there some sort of path I need to set for the shell to look for the java compiler? Thanks in advance.
Edit:
I have added aliases to my .cshrc file at school and I just found a bashrc file and csh.cshrc file in the /etc folder. Sorry, I'm really new to all of this. Anyways, I'm geussing I have to edit the bash file? Can anyone point me to a good tutorial of scripting for these files???
I did some changes in the LAR protocol and suppose the new protocol is named as ABC .
When i am doing make clean and then make.
object file "ABC.o" was successfully created.
Then i tried to run tcl file , nothing has been written in the trace file and it gave me the following error
21052015$ ns234 new.tcl scen1 setting other default settings...
removing unecessary packet headers...
num_nodes is set 100
INITIALIZE THE LIST xListHead
loading mobility file
loading traffic file
Starting Simulation...
Segmentation fault (core dumped)
I tried a lot but unable to find out where is the error. I am unable to find out the point of error . Is it in .cc file or in .tcl file.
Could someone please help me.
My work is stucked and i searched a lot but didn't get anything.
please please .............. help me
Hello,
I am trying to install OCI8. I'm pretty sure the last thing I need to do is run the "./configure" command, but no matter where I try to run it, it gives me back a "file not found" or "command not found" error. I have tried this on CentOS and Fedora and always install PHP with yum. I have done many GUI searches looking through the file system for "php" and have tried to run ./configure in every php folder I can find but the command never runs. Any suggestions are very much appreciated. Thanks so much!
-Matt
P.S. Do I even need to do this if I already edited the "php.ini" file and installed OCI8 with PECL? Thanks!
Hello all,
Is there any 'key' to save and continue editing in vim, just like there is :wq to save and quit (also ZZ )? Right now I use :w and i keys to save and continue. I keep saving file every other minute and wondering is there any short-cut for that. Not that :w + i are too many key-presses, just for curiosity i want to know.
Thanks
Hello There
I have an issue in file permission,I have configured an samba share drive,
created user and then shared it with other network computer(WINDOWS 7)
whenever an user creates an folder or file (like Excel) it shows up in read only mode..
I have ran the command :- chmod -R 777 <sharedFolder>
still when the users create a new folder, other cannot edit or modify the file
need help
I've been trying to uncompress the file XpressConnect-x86.tar.bz2 using the tar command but I keep getting the following error.
Code:
richard@richard-K52Jr:~/Software$ tar -xvjf XpressConnect-x86.tar.bz2
bzip2: (stdin) is not a bzip2 file.
tar: Child returned status 2
tar: Error is not recoverable: exiting now
I think it may be a problem with the file itself b/c it was provied by our wonderfully incompetent IT dep. I've also tried tar -xvf but that did not work either. I'll attach the file to this post if I can any help would be appreciated.