RCP implementation over ns2.30, Getting error on executing ns command.
I tried alot to install RCP over ns2.30. But I was unsuccessful.
First I installed ns2.30. I could successfully do that over Fedora 17.
Second I downloaded RCP for ns2.30 from following link
But, I could not implement it successfully.
During RCP implementation over ns2.30, it does not give me any error.
But when I run ns command, I get following error:
[amg@localhost ~]$ ns
[code omitted because of length]
: invalid command name "Queue/DropTailVariant"
"Queue/DropTailVariant set drop_front_ false"
I m stuck now. Can't move forward my research.
Need your help. Please help me.
Welcome to LQ.
Probably an error in one of the files from rcp-ns2.30.tar.gz .
I get the same poor result. And I have no solution, sorry.
Got Solution for the problem.
Just need some changes in ns-default.tcl
Remove word "variant" and thats it. It start running smoothly.
The ns-default.tcl from rcp-ns2.30.tar.gz :
Which line did you edit ?
there you would find few lines as follows:
Queue/DropTailVariant/RCP set alpha_ 0.4
Queue/DropTailVariant/RCP set beta_ 0.4
Queue/DropTailVariant/RCP set gamma_ 1
Here, you just need to remove word "Variant" and thats it, "save and make" and then code starts working smoothly.
Hope it was clear. If not, welcome to the queries.
|All times are GMT -5. The time now is 11:02 PM.|