Linux - NewbieThis 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.
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 install ubuntu 14.04 and ns-2.35. how to run .patch files ? , .tcl file? in after installing ns-2.35 please help me
when I am running this command
aman@aman-VirtualBox:~/ns-allinone-2.35/ns-2.35/Directional-Antenna_ex-2$ ns Dir-antenna-test.tcl
the following error displays
num_nodes is set 6
invalid command name "Antenna/DirAntenna"
while executing
"Antenna/DirAntenna create _o22 "
invoked from within
"catch "$className create $o $args" msg"
invoked from within
"if [catch "$className create $o $args" msg] {
if [string match "__FAILED_SHADOW_OBJECT_" $msg] {
delete $o
return ""
}
global errorInfo
error "class $..."
(procedure "new" line 3)
invoked from within
"new $anttype"
(procedure "_o14" line 13)
(Node/MobileNode add-interface line 13)
invoked from within
"$node add-interface $chan $propInstance_ $llType_ $macType_ $ifqType_ $ifqlen_ $phyType_
$antType_ $topoInstance_ $inerrProc_ $outerrProc_ $FECProc_"
(procedure "_o3" line 83)
(Simulator create-wireless-node line 83)
invoked from within
"_o3 create-wireless-node"
("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"
(procedure "create_node" line 27)
invoked from within
"create_node 10 10 0"
invoked from within
"set node_(0) [create_node 10 10 0]"
(file "Dir-antenna-test.tcl" line 259)
Last edited by Aman Kemal; 05-10-2024 at 03:15 AM.
Reason: need clear information
you do not need to make new posts, you can edit your original post if you wish (and add more details).
Otherwise without those details hard to say anything. You can find a lot of info about it on the net, like this: https://askubuntu.com/questions/1376...pt-install-ns2
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.