LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 07-17-2013, 05:14 AM   #1
kingrulez
LQ Newbie
 
Registered: Mar 2013
Posts: 18

Rep: Reputation: Disabled
Errors on LEACH MIT uAMPS project wireless.tcl file


Hi,

Thanks for your valuable suggestions or comments.

I am getting the errors on LEACH MIT uAMPS project while executing. I have read some of the suggestions in the earlier posts, somehow i managed to clear the errors, still i am getting this, i don't know where was the mistake, unfortunately i could not able to figured it out. Could you please help me to find it out. Please take a look at the below errors.

Error 1: on Ubuntu terminal
@ubuntu:~/ns-allinone-2.34/ns-2.34$ ./leach_test
Usage: tcl/ex/wireless.tcl
mandatory arguments:
[-x MAXX] [-y MAXY]
optional arguments:
[-cp conn pattern] [-sc scenario] [-nn nodes]
[-seed seed] [-stop sec] [-tr tracefile]

Error 2: on leach.err file
./leach_test: line 38: -sc: command not found

Best Regards,
KSR.

Last edited by kingrulez; 07-17-2013 at 05:55 AM.
 
Old 07-17-2013, 08:01 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,520

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
The command $ ./test
.. will run 'leach_test'.

Please read the text file 'test' to know what's about.


Quote:
./leach_test: line 38: -sc: command not found
Looks like you have a corrupt file "leach_test" ?

Usually no output will be shown in the terminal when running leach_test alone.
"leach_test" is also a text file. Please read the file to know the simulation,
and all the options.

-
 
Old 07-17-2013, 08:27 AM   #3
kingrulez
LQ Newbie
 
Registered: Mar 2013
Posts: 18

Original Poster
Rep: Reputation: Disabled
Thumbs up

Hi,

Thank you very much for your reply.

Yes, you were right! i figured it out, now its working.

Best Regards,
KSR.
 
  


Reply

Tags
leach, ns2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
a tcl sample file using leach saeed.m Linux - Software 2 07-15-2013 04:47 AM
leach installation complete but try to ./test ->wireless-demo-csci694.tcl not found saeed.m Linux - Software 0 07-06-2013 11:44 PM
Changing the transmission power in leach uAMPS yeomjang Linux - Software 0 03-22-2013 07:44 PM
Links to download mit.tar.gz and ns227 leach.patch pvbhat Linux - Software 1 07-10-2012 10:24 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 11:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration