[ns] problem with DSR in ns-2.30
*HI all,* i have ns-allinone-2.30, when i used *DSR* protocol,i got this error: num_nodes is set 10 syntax error in expression 2147483647 0: unexpected operator while executing expr $addrstr [AddrParams NodeMask 1] [AddrParams NodeShift 1] invoked from within if [Simulator hier-addr?] { set addressObj [[[Simulator instance] get-AllocAddrBits ] get-Address] return [$addressObj str2addr $addrstr] } else { ... (procedure AddrParams line 2) (AddrParams addr2id line 2) invoked from within AddrParams addr2id [$node node-addr] (procedure _o4 line 9) (Simulator create-wireless-node line 9) invoked from within _o4 create-wireless-node (eval body line 1) invoked from within eval $self create-wireless-node $args (procedure _o4 line 23) (Simulator node line 23) invoked from within $ns node invoked from within set post(0) [$ns node] (file deuxpfe.tcl line 2106) can any one help me plz. *Regards.*
[ns] need EMERGENCY HELP PLZ segmentation fault pbm
hi every one! when i use $node($i) setdest $x $y $vitess i got the following error:*segmentation fault* when i run my script. how to repare this? please help me.it's urgent. best regards.
[ns] need urgent help about mobile node movement in nam
hello! how to visualize the movement of the mobile node in nam? after the creation of the nodes.on has exchange their positions with the command: *$noeud($i) set X_ valx $noeud($i) set Y_ valy* and it works but it is not visible with the level of the nam then one tested with the order : *$ns at [$ns now] $noeud($i) setdest valx valy vitess* and the following error was received: ns: _o10 setdest 50 20 9: (_o10 cmd line 1) invoked from within _o10 cmd setdest 50 20 9 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 _o10 line 2) (SplitObject unknown line 2) invoked from within _o10 setdest 50 20 9 one tried to make : *$ns at [$ns now] $noeud($i) set X_ valx $ns at [$ns now] $noeud($i) set Y_ valy* ** that does not work also then please help us it's urgent. how to make it? if you can sent to us to make a script of creation of a node and it change position and that is visible in the nam. regards
[ns] help me to finish installing NS correctly
*hi all,* when I did the ./install, I obtained These messages after that ns was installed successfuly: put /home/you/ns-allinone-2.30/bin : /home/you/ns-allinone-2.30/tcl8.4.13/unix: /home/you/ns-allinone-2.30/tk8.4.13/unix into your path environnement so that you ll be able to run itm/tclsh/wish/xgraph you must put /home/you/ns-allinone-2.30/otcl-1.12, /home/you/ns-allinone-2.30//lib into your LD-LIBRARY-PATH environnement variables if it complains about X libraries,add path to your X librairies into LD-LIBRARY-PATH if you are using csh,you can see like: setenv LD-LIBRARY-PATHpaths if you are using sh,you can see like: export LD-LIBRARY-PATH=paths put /home/you/ns-allinone-2.30/tcl 8.4.13/library into your TCL-LIBRARY environnement variables *Question:* *1)** How can i do this?where will i find my LD-LIBRARY-PATH and my TCL-LIBRARY environnement variables and my path environnement so that i ll be able to run itm/tclsh/wish/xgraph? * ** *Regards.*