ok thancks so. i will do.those examples are in the NS2 patch and i didnt edit them. only the examples that related to wireless nodes, can not run.
i run this examples ago and i did not any change to this file before so why this happend?
i only add a new routing protocol like AODV. and some days ago i try to write a tcl example for wireless nodes and i try to creat a random traffic to my tcl example but the cbr generator cant built it. i follow this :
to create new traffic generation between nodes, the user must first follow "ns-allinone-2.34/ns-
2.34/indep-utils/cmu-scen-gen" directory and then write the following instruction in the Linux terminal
ns cbrgen.tcl -type <traffic_type> -nn <number> -seed <number> -mc <number> -rate <number>