[ns] How to change node configuration when simulation is running?
lukman_hanif@yahoo.com
lukman_hanif at yahoo.com
Tue Mar 10 04:23:30 PDT 2009
Hi simayeji,
I don't know about RXthreshold setting but usually people change the running simulation parameter in Tcl script by using the command like
$ns at 2.5 " put your Tcl configuration command here "
That's all I know to change some configuration in the running simulation...
Lukman
________________________________
From: "ns-users-request at ISI.EDU" <ns-users-request at ISI.EDU>
To: ns-users at ISI.EDU
Sent: Tuesday, March 10, 2009 12:00:31 AM
Subject: Ns-users Digest, Vol 63, Issue 9
Send Ns-users mailing list submissions to
ns-users at isi.edu
To subscribe or unsubscribe via the World Wide Web, visit
http://mailman.isi.edu/mailman/listinfo/ns-users
or, via email, send a message with subject or body 'help' to
ns-users-request at isi.edu
You can reach the person managing the list at
ns-users-owner at isi.edu
When replying, please edit your Subject line so it is more specific
than "Re: Contents of Ns-users digest..."
Today's Topics:
1. How to change node configuration when simulation is running?
(simayeji)
2. Mobile ip and sctp (Spyros Marinis)
3. Re: How to assign a new address to a node (martini.spy)
4. nam problem (ali bala)
----------------------------------------------------------------------
Message: 1
Date: Mon, 9 Mar 2009 11:08:22 +0800 (CST)
From: simayeji <simayeji at 163.com>
Subject: [ns] How to change node configuration when simulation is
running?
To: ns-users at ISI.EDU
Message-ID:
<7008073.146351236568102288.JavaMail.coremail at bj163app80.163.com>
Content-Type: text/plain; charset=gbk
Hello everyone,
I want to change the node configuration when simulation is running. For example, i want to change RXthreshold of all nodes at 2.5s. How can I make it in my tcl script?
thanks very much.
??????????????????????????????????
------------------------------
Message: 2
Date: Mon, 9 Mar 2009 08:48:16 +0000 (GMT)
From: Spyros Marinis <spyros_mar at yahoo.gr>
Subject: [ns] Mobile ip and sctp
To: ns-users at ISI.EDU
Message-ID: <695883.3003.qm at web25507.mail.ukl.yahoo.com>
Content-Type: text/plain; charset=iso-8859-7
Hello all!
Does anyone know how I can use mobile ip with sctp at transport layer, in a wired-cum-wireless topology with hierarchical addresses?
The standard method doesn't work in this case; should I modify something???
I would be very grateful if you could help in any way,
Spyros
___________________________________________________________
?????????????? Yahoo!;
?????????? ?? ?????????? ???????? (spam); ?? Yahoo! Mail
???????? ??? ???????? ?????? ????????? ???? ??? ???????????
????????? http://login.yahoo.com/config/mail?.intl=gr
------------------------------
Message: 3
Date: Mon, 9 Mar 2009 02:37:01 -0700 (PDT)
From: "martini.spy" <spyros_mar at yahoo.gr>
Subject: Re: [ns] How to assign a new address to a node
To: ns-users at ISI.EDU
Message-ID: <22409732.post at talk.nabble.com>
Content-Type: text/plain; charset=UTF-8
nobody knows???? :(
martini.spy wrote:
>
>
> Hi all!
> I have a mobile node that has been defined with a certain hierarchical
> address and bound to the appropriate base station, like this:
>
> set if_1 [$ns_ node 1.0.1] ??? ?????????????????????????????????? ???
> $if_1 base-station [AddrParams addr2id [$BS_umts node-addr]]
>
> How can I change this afterwards and assign to the same node a new
> hierarchical address that corresponds with another base station, with
> which it should communicate so on? What must I modify in the c++ code?
>
> (I have tried -MobileIP ON option, with no result. After all, I am using
> sctp and I don't know if that's applicable.)
>
> Please let me know if anybody knows something about it. Any help will be
> highly appreciated. Thanks in advance.
> Spyros
>
>
>
>
> ___________________________________________________________
> ?????????????? Yahoo!;
> ?????????? ?? ?????????? ???????? (spam); ?? Yahoo! Mail
> ???????? ??? ???????? ?????? ????????? ???? ??? ???????????
> ????????? http://login.yahoo.com/config/mail?.intl=gr
>
>
--
View this message in context: http://www.nabble.com/How-to-assign-a-new-address-to-a-node-tp22376659p22409732.html
Sent from the ns-users mailing list archive at Nabble.com.
------------------------------
Message: 4
Date: Mon, 9 Mar 2009 14:28:01 -0700 (PDT)
From: ali bala <mrbalador at yahoo.com>
Subject: [ns] nam problem
To: ns-users at ISI.EDU
Message-ID: <423217.60603.qm at web45112.mail.sp1.yahoo.com>
Content-Type: text/plain; charset=iso-8859-1
I have installed ns-2.33 on cygwin on xp.
while running simple example programs, I get error,
$ nam: no display name and no $DISPLAY environment variable.
?
I tried set it with export DSIPLAY=:0..0
it gives error ?
$ nam: couldn't connect to display "0.0"
I also tried ?startx before running programs, it gives following error,
$ nam:
[code omitted because of length]
: no event type or button # or keysym
? ?while executing
"bind Listbox <MouseWheel> {
%W yview scroll [expr {- (%D / 120) * 4}] units
}"
? ?invoked from within
"if {[tk windowingsystem] eq "classic" || [tk windowingsystem] eq "aqua"} {
bind Listbox <MouseWheel> {
%W yview scroll [expr {- (%D)}] units
}
bind Li..."?
can anybody figure out where the problem lies?
I am new to ns-2 as well as linux environment so please.....
?
Thanks in anticipation.
?
Regards,?
ali balador,
------------------------------
_______________________________________________
Ns-users mailing list
Ns-users at isi.edu
http://mailman.isi.edu/mailman/listinfo/ns-users
End of Ns-users Digest, Vol 63, Issue 9
***************************************
More information about the Ns-users
mailing list