Linux - Wireless NetworkingThis forum is for the discussion of wireless networking in Linux.
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.
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.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i am soing my project on multi-channel multi-interface wireless network. when i run this the follwoing error came. why? pls help me to debug the error.
the error is,
(_o36 cmd line 1)
invoked from within
"_o36 cmd if-queue 0 _o39"
invoked from within
"catch "$self cmd $args" ret"
invoked from within
"if [catch "$self cmd $args" ret] {
set cls [$self info class]
global errorInfo
set savedInfo $errorInfo
error "error when calling class $cls: $args" $..."
(procedure "_o36" line 2)
(SplitObject unknown line 2)
invoked from within
"$agent if-queue $i [$self set ifq_($i)]"
(procedure "_o22" line 27)
(Node/MobileNode add-target line 27)
invoked from within
"$self add-target $agent $port"
(procedure "_o22" line 15)
(Node attach line 15)
invoked from within
"$node attach $ragent [Node set rtagent_port_]"
(procedure "_o3" line 84)
(Simulator create-wireless-node line 84)
invoked from within
"_o3 create-wireless-node 1.0.0"
("eval" body line 1)
invoked from within
"eval $self create-wireless-node $args"
(procedure "_o3" line 23)
(Simulator node line 23)
invoked from within
"$ns_ node [lindex $tmp 0]"
invoked from within
"set bs(0) [$ns_ node [lindex $tmp 0]]"
by
amrani
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
Welcome to LQ.
Some more information is required :
Fedora <version>, like Fedora 17 - x86_64.
Version of ns-allinone-2.xx.
Modifications and patches, if any. Please specify.
The command you are using. ( 'ns file.tcl' ? ).
The name of your <file.tcl>, and if the file isn't an internal ns2 file:
Please show a link to the code. Or attach the 'file.tcl.txt' :
→ The paperclip tool in the 'Advanced Editor'.
i was installed ns-allinone-2.34 in fedora 8(VM ware workstation)
after succcessful copletion of installation and validation
when i start at $ set ns[new Simulator] i got error " cannot find ns_o4" : not a valid variable ? what is the solution please tell
me
when i execute tora.tcl it hangs and gives the following message
num_nodes is set 3
warninglease use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListhead
channel.cc:sendUp-Calc highestAntennaZ_ and distCST_
highestAntennaZ_ =1.5, distCST_ =550.0
SORTING LISTS...DONE
i actually working in simulation of Mobile Ad-hoc network routing protocols in ns-allinone-2.34
regarding that i have a tcl script ,which runs for AODV, DSR and DSDV but it cannot work for Temporally Ordered Routing Algorithm(TORA), that is my problem. there is no syntax errors . when i run the tcl script as
$ns tora1.tcl it gives the following message
num_nodes is set 3
warninglease use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListhead
channel.cc:sendUp-Calc highestAntennaZ_ and distCST_
highestAntennaZ_ =1.5, distCST_ =550.0
SORTING LISTS...DONE
please help me what is the probelm?
Regarding
***************
N.VENKATADRI
RESEARCH SCHOLAR
DEPARTMENT OF COMPUTER SCIENCE, V.S.UNIVERSITY,NELLORE,AP-INDIA
your reply helps me lot thank u so much. i hearty thankful to u
but
when running tora as
$ns tora1.tcl it gives the following message
num_nodes is set 3
warninglease use -channel as shown in tcl/ex/wireless-mitf.tcl
INITIALIZE THE LIST xListhead
channel.cc:sendUp-Calc highestAntennaZ_ and distCST_
highestAntennaZ_ =1.5, distCST_ =550.0
SORTING LISTS...DONE
i did not get prompt automatically, i get by typing control+z? what is this problem? why prompt not ready
and one more request is how to run trace file for tora script, please explain in detail for any script(xgraph)
please help
Regarding
***************
N.VENKATADRI
RESEARCH SCHOLAR
DEPARTMENT OF COMPUTER SCIENCE, V.S.UNIVERSITY,NELLORE,AP-INDIA
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511
Rep:
# 9 : May be you should attach tora1.tcl as tora1.tcl.txt.
Or provide a direct download link for the file.
I.e. you cannot expect any comments / answers about an unknown file.
I did look into the file linked in post # 8,
but I can't see what's preventing it from finishing.
hey knudfl,
you sent a tora.tcl file in post #8, It is executed as
$ns tora.tcl it gives some warning messages and doesnot stop but
$nam 1_out.nam Gives Animation Ok. How we can get result of the simulation using xgraph utility that is my question
The Same code worked fine for DSDV,AODV and DSR and also gives simulation results in the form of graphs also
thank you very much for your valuable help in the simulation of TORA routing algorithm using ns-allinone-2.34
you told me that run $nam 1_out.nam will run smoothly
; OK it is fine it gives simulation scenario thats ok
but when running $xgraph win.tr was give an error
tracefile contains no data for tora protocol-knufdl
hai knudfl,
i have a tcl script simple.tcl it is successfully run for AODV, DSDV, AND DSR and also for TORA with ur help,
in the tcl script win.tr and win.nam files were created , win.nam runs for AODV,DSR AND DSDV and aslo for TORA
but win.tr is workded for AODV,DSR AND DSDV BUT FOR TORA.
when i run win.tr for TORA it shows error "PROBLEMS WIHT INPUT DATA"
what is the problem
please thank u
regards
***************8
N.venkatadri
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.