[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Problem with Network/Pcap/Live




Hi:

We are new to NS. We have FreeBSD 2.2.8 and ns-2.1b5-allinone installed in
our machine.  We have setup Kernel configuration on BSD for the bpfilter.
We try to run a script which constructs bpf by calling
"set bpf0 [new Network/Pcap/Live]".   However, we get the following error
message:

invalid command name "Network/Pcap/Live"
    while executing
"Network/Pcap/Live create _o79 "
    invoked from within
"catch "$className create $o $args" msg"
    (procedure "new" line 3)
    invoked from within
"new Network/Pcap/Live"
    (file "topo1load1.tcl" line 58)

We would like to know if we have missed something during the
configuration. Do we need the libpcap.tar file? (This file is not included
in the ns-2.1b5-allinone.)  If so, where should we install it with respect
to the /ns-2.1b5 directory?


Thank you very much.

Bing-Leung Patrick Cheung
4th year computer engineering student
University of British Columbia
Home Tel: (604) 451-5672