[ns] how to use the "two state error model class" in ns2
hi dear friends, i need some help with regard to the usage of "TwoStateErrorModelClass" in ns2. I have searched through the internet for some useful information, but was still not getting very clear. can anybody show me some example tcl scripts? I appreciate any Help from you? best regards, Bin
[ns] using ipv6
dear ns2 users, i am sorry that my question may be too naive. I am quite new to ns2. I would like to make use of the "traffic class" label in ipv6. How can I then specify ipv6 as the protocol for ip layer? best regards, Bin
[ns] how to do simulation of real-time video decoder with feedback in NS-2
Hi dear users, I am currently designing a real-time video decoder for MPEG-4, which can be configured to send some feedback (buffer state, frame loss, subject video quality indicator) to video server. The video server should regulate the coding rate or throw away some less important video stream data according to this feedback. I would like to simulate this scenario. Is it possible to use NS-2 to do the simulation. NS-2 is a discrete event simulator, how can it cooperate with this real-time video decoder? I haven't figured this out. Can you give me some tips to help to realize this concept. thx, B. Z.
Re: [ns] problem when installing ns2
hi dear experts, I've found the cause of my problem. It is just a stupid error. I was using Yakuake Terminal Program, which supports only tsh. I have only recognized it now and changed to bash to execute "source ~/.bashrc". Besides, I have also forgotten to change the name of the path in bashrc file, according to ns-allinone-2.32. Now there is no problem any more. B. Zhang Bin Zhang wrote: > hi dear experts, > > I am just installing ns-allinone-2.32 package in kubuntu, following the > installing instruction, which is decribed in > http://nsnam.isi.edu/nsnam/index.php/Installing_ns2.31_on_Ubuntu7.04. > > The installing process of the package is successful. But in the next > step, the changing of my environment variance in bashrc file cannot be > recognized by my system. > > Following is the content of the bashrc file: > > # This line was appended by KDE > # Make sure our customised gtkrc file is loaded. > export GTK2_RC_FILES=$HOME/.gtkrc-2.0 > > # LD_LIBRARY_PATH > OTCL_LIB=/data/bzhang/work/ns-allinone-2.31/otcl-1.13 > NS2_LIB=/data/bzhang/work/ns-allinone-2.31/lib > X11_LIB=/usr/X11R6/lib > USR_LOCAL_LIB=/usr/local/lib > export > LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB > > # TCL_LIBRARY > TCL_LIB=/data/bzhang/work/ns-allinone-2.31/tcl8.4.14/library > USR_LIB=/usr/lib > export TCL_LIBRARY=$TCL_LIB:$USR_LIB > > # PATH > XGRAPH=/your/path/ns-allinone-2.31/bin:/data/bzhang/work/ns-allinone-2.31/tcl8.4.14/unix:/data/bzhang/work/ns-allinone-2.31/tk8.4.14/unix > NS=/data/bzhang/work/ns-allinone-2.31/ns-2.31/ > NAM=/data/bzhang/work/ns-allinone-2.31/nam-1.13/ > PATH=$PATH:$XGRAPH:$NS:$NAM > > when I tried to source this file by "$ source ~/.bashrc", I got such > error message from the shell: > > [EMAIL PROTECTED]:bzhang/work/ns-allinone-2.32] 109) source ~/.bashrc > export: Command not found. > OTCL_LIB=/data/bzhang/work/ns-allinone-2.31/otcl-1.13: Command not found. > NS2_LIB=/data/bzhang/work/ns-allinone-2.31/lib: Command not found. > X11_LIB=/usr/X11R6/lib: Command not found. > USR_LOCAL_LIB=/usr/local/lib: Command not found. > Bad : modifier in $ ($). > > can anyone help me to fix this problem. > > Thanks a lot. > > B. Zhang > > >
[ns] problem when installing ns2
hi dear experts, I am just installing ns-allinone-2.32 package in kubuntu, following the installing instruction, which is decribed in http://nsnam.isi.edu/nsnam/index.php/Installing_ns2.31_on_Ubuntu7.04. The installing process of the package is successful. But in the next step, the changing of my environment variance in bashrc file cannot be recognized by my system. Following is the content of the bashrc file: # This line was appended by KDE # Make sure our customised gtkrc file is loaded. export GTK2_RC_FILES=$HOME/.gtkrc-2.0 # LD_LIBRARY_PATH OTCL_LIB=/data/bzhang/work/ns-allinone-2.31/otcl-1.13 NS2_LIB=/data/bzhang/work/ns-allinone-2.31/lib X11_LIB=/usr/X11R6/lib USR_LOCAL_LIB=/usr/local/lib export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$OTCL_LIB:$NS2_LIB:$X11_LIB:$USR_LOCAL_LIB # TCL_LIBRARY TCL_LIB=/data/bzhang/work/ns-allinone-2.31/tcl8.4.14/library USR_LIB=/usr/lib export TCL_LIBRARY=$TCL_LIB:$USR_LIB # PATH XGRAPH=/your/path/ns-allinone-2.31/bin:/data/bzhang/work/ns-allinone-2.31/tcl8.4.14/unix:/data/bzhang/work/ns-allinone-2.31/tk8.4.14/unix NS=/data/bzhang/work/ns-allinone-2.31/ns-2.31/ NAM=/data/bzhang/work/ns-allinone-2.31/nam-1.13/ PATH=$PATH:$XGRAPH:$NS:$NAM when I tried to source this file by "$ source ~/.bashrc", I got such error message from the shell: [EMAIL PROTECTED]:bzhang/work/ns-allinone-2.32] 109) source ~/.bashrc export: Command not found. OTCL_LIB=/data/bzhang/work/ns-allinone-2.31/otcl-1.13: Command not found. NS2_LIB=/data/bzhang/work/ns-allinone-2.31/lib: Command not found. X11_LIB=/usr/X11R6/lib: Command not found. USR_LOCAL_LIB=/usr/local/lib: Command not found. Bad : modifier in $ ($). can anyone help me to fix this problem. Thanks a lot. B. Zhang
[ns] implemention of wireless ad hoc network with ns2
hi dear users, i would like to do some research with regard to video streaming through the wireless ad hoc network. Because I am Video-Coder and didn't have any experience to implement network with NS2. So it would be very helpful, if anybody could give some some ideas about the implementation or even some script at hand to support my research? I am appriciated for any kind of response. thanks, B. Zhang