[ns] create environment problem in cygwin

2006-08-02 Thread Mohadig Rousstia

dear all
  
  I have a problem, which is perhaps simple, but that is really consuming  my 
all. So please help me regarding crating the environment. I have  made this:
  
  export  
PATH=$PATH:/cygdrive/c/cygwin/ns-allinone-2.29/bin:/cygdrive/c/cygwin/ns-allinone-2.29/tcl8.4.11/unix:/cygdrive/c/cygwin/ns-allinone-2.29/tk8.4.11/unix
  
  export 
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/cygdrive/c/cygwin/ns-allinone-2.29/otcl-1.11:/cygdrive/c/cygwin/ns-allinone-2.29/lib
  
  export 
TCL_LIBRARY=$TCL_LIBRARY:/cygdrive/c/cygwin/ns-allinone-2.29/tcl8.4.11/library
  
  and also any kind of slight modification from the FAQ(still didnt  work), 
since that was not working. I have tried to put it in(home  directory) bashrc, 
bash_profile and also in(etc directory) bash, chsrc,  profile. And also any 
combination of those and combination script  above. That is really consuming 
time and my patience. perhaps anybody  can help me, please.
  
  Thank you
  
  Best Regards
  
  Mohadig Widha R
  

-
How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.


[ns] MPLS support in ns-allinone-2.29

2006-08-02 Thread Tubtim Sanguanwongthong

Hi,
  I'm a new user of NS. I've installed ns-allinone-2.29 and found that there 
are mpls budelled. After I look into the source files in ns-allinone-2.29 and 
run tcl script files, I think the MPLS support in ns-allinone-2.29  is MNS 
v1.0. Is that Right ?
  I've search that the lastest one is mns v2 for 2.26. Is that Right ? Can 
anyone please tell me whether there is mns  v2 for 2.28 or 2.29 ?  Or lastest 
version of mns ?
  Thank you very much in advance. This is important to me.
  Best Regards,
  Tubtim
   
   
   


-
Want to be your own boss? Learn how on  Yahoo! Small Business. 


[ns] how to perform Mobile IPv6

2006-08-02 Thread pankaj chand

hi can anyone tell me how to perform Mobile IPv6. ill be using a wired cum 
wireless scenario, similar to the Mobile IPv4 example given in ns2.
thanks
pankaj




[ns] problem: Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl)

2006-08-02 Thread garcia_b

Hi everybody.

I have seen a lot of mails with this problem:

--- Classfier::no-slot{} default handler (tcl/lib/ns-lib.tcl) ---
_o28: no target for slot -1
_o28 type: Classifier/Hash/Dest
content dump:
classifier _o28
0 offset
0 shift
2147483647 mask
1 slots
slot 5: _o99 (Classifier/Port)
-1 default
-- Finished standard no-slot{} default handler --


Now, I have the same problem. and I have invested a lot of time, but I
can not found the solution.

Does some any know the solution? or any idea may be.

Regards.
-- 
Armando Garcia B.
INT-RST
5 Rue Charles Fourier
91011 EVRY Cedex
Tel: 01 60 76 68 56 




[ns] Pointer to LL at mac802.11

2006-08-02 Thread Sameh Gobriel

Hi NS users,
I have a problem on getting a pointer to the link layer at the MAC.

I added the following to the Mac802_11::command(){
.
else if(strcmp(argv[1], up-target) == 0){
ll_ = (LL *) TclObject::lookup(argv[2]);
assert(ll_);
}
}
return Mac::command(argc, argv);
}


The add-interface in ns-mobilenode.tcl says
$mac up-target $ll

I get a segfault, I wonder what went wrong. Any clue ??

Thanks



[ns] Pointer to LL at mac 802.11

2006-08-02 Thread Sameh Gobriel

Hi NS users,
I have a problem on getting a pointer to the link layer at the MAC.

I added the following to the Mac802_11::command(){
.
else if(strcmp(argv[1], up-target) == 0){
   ll_ = (LL *) TclObject::lookup(argv[2]);
   assert(ll_);
   }
   }
   return Mac::command(argc, argv);
}


The add-interface in ns-mobilenode.tcl says
$mac up-target $ll

I get a segfault, I wonder what went wrong. Any clue ??

Thanks



Re: [ns] could't execute xgraph ---- ns2

2006-08-02 Thread Mohadig Rousstia

If that just doesnt work, you can change xgraph package with tracegraph package.
  
  Good luck

M. Akif YAZICI [EMAIL PROTECTED] wrote:  
The problem is that the path of xgraph is not included in your PATH
variable. There are two solutions. One is adding the path to your PATH
variable. You can do so by adding a line similar to PATH=~/ns-allinone-2.29
/xgraph-12.1:${PATH} to the file .bash_profile. Of course, ~/ns-
allinone-2.29/xgraph-12.1 might change according to where xgraph is
installed on your system. I believe this is the better way. The other
solution is to add the path info into the tcl file; that is, instead of
exec xgraph .., write exec ~/ns-allinone-2.29/xgraph-12.1/xgraph
.

Hope it helps,
Akif



-
How low will we go? Check out Yahoo! Messenger’s low  PC-to-Phone call rates.