Hi, im a beginner at ns2 and i need to use the emulator for my project. i downloaded this example from the ns-manual
set ns [new Simulator] $ns use-scheduler RealTime set me [exec hostname] set bpf0 [new Network/Pcap/Live] $bpf0 set promisc_ true set ipnet [new Network/IP] set nd0 [$bpf open readonly fxp0] $ipnet open writeonly set filt "(not ip host $me)" $bpf0 filter $filt set a0 [new Agent/Tap] $a0 network $bpf0 set n0 [$ns node] $ns attach-agent $n0 $a0 $ns run but i got the output: warning: no class variable Scheduler/RealTime::adjust_new_width_interval_ see tcl-object.tcl in tclcl for info about this warning. warning: no class variable Scheduler/RealTime::min_bin_width_ invalid command name "Network/Pcap/Live" while executing "Network/Pcap/Live create _o11 " 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 Network/Pcap/Live" invoked from within "set bpf0 [new Network/Pcap/Live]" (file "rt3.tcl" line 4) the same thing happens for the other emulation examples ive tried.The simulation examples run fine.Ive downloaded and installed ns-allinone-2.33.Please help me out. Thanks