[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: [ns] GPRS simulation problem --> RJ'GPRS extension installation
Hi Johnson,
1. extract the ns-allinone-2.1b7a
2. apply the noah extension into ns-2.1b7a.
http://www.icsi.berkeley.edu/~widmer/mnav/ns-extension/
3. patch ns-allinone-2.1b7a by RJ's GPRS extension
(a) apply 'patch_gprs'
(b) cp 'final_code' into 'ns-2.1b7a'
Hope it help in a certain way,
zroger
-----Original Message-----
From: ch z [mailto:[email protected]]
Sent: Friday, September 07, 2001 1:39 PM
To: Zhou, Zhi Qiang (Roger)
Subject: RE: [ns] GPRS simulation problem
Hi, Roger
When I built GPRS module into NS-2 on redhat linux
7.0, it complained that noah.cc could not be found.
Then I added two files, noah. {cc, h} into ns-2.1b7a
directory and compiled ns again. No error occurred
that time. But when I ran !?ns example.tcl!?, it gave
me an error information !?segmentation fault!? after
!?I don!?t have a chan yet ?C will send a resource
request!? was printed.
Would you please give me some advice on how
to install GPRS module, I am looking forward to your
reply.
Yours
Zhang
Cheng
Regards,
Johnson
--- "Zhou, Zhi Qiang (Roger)" <[email protected]>
wrote:
>
> Yes, it do has the problem. I guess the reason is
> that GPRS extension
> injects
> RLC layer into the network stack. Therefore, in
> simple-wireless.tcl, the
> layer 2 protocol stack looks like:
>
> LL
> RLC
> Mac/802.11
>
> Then, RLC objects interferes Mac802_11 objects in
> the network stack.
> Does it right Jain ?
>
> My point, actually it's a question, is why not
> inherits LL class when
> implements RLC class. Just like MacGprs inherits
> Mac. The benefit
> is obvious that less core src code of ns-2 is
> modified and more
> cohesion of software components.
>
> If so, Link Layer components can be: LL,
> RLC(inherits LL)
> MAC Layer components can be: Mac, Mac802_3,
> Mac802_11, MacGprs, MacTdma
>
> best rgds,
>
> zroger
>
>
> -----Original Message-----
> From: Jeff Di Costanzo
> [mailto:[email protected]]
> Sent: Tuesday, August 28, 2001 9:24 PM
> To: [email protected]
> Subject: [ns] GPRS simulation problem
>
>
> Hi everyone,
> has anybody applied the GPRS module patch
> contributed by Richa Jain to
> ns2.1b7a and experienced problems running all/some
> of the wireless example
> tcl scripts such as simple-wireless.tcl?....
> the error i'm getting looks something like...
>
> [jeff@localhost ex]$ ns simple-wireless.tcl
> warning: Please use -channel as shown in
> tcl/ex/wireless-mitf.tcl
> can't read "rlcType_": no such variable
> while executing
> "$node add-interface $chan $propInstance_ $llType_
> $rlcType_ $macType_
> $ifqType_ $ifqlen_ $phyType_ $antType_ "
> (procedure "_o3" line 50)
> (Simulator create-wireless-node line 50)
> invoked from within
> "_o3 create-wireless-node"
> ("eval" body line 1)
> invoked from within
> "eval $self create-wireless-node $args"
> (procedure "_o3" line 14)
> (Simulator node line 14)
> invoked from within
> "$ns_ node"
> ("for" body line 2)
> invoked from within
> "for {set i 0} {$i < $val(nn) } {incr i} {
> set node_($i) [$ns_ node]
> $node_($i) random-motion 0
> ;# disable random
> motion }"
> (file "simple-wireless.tcl" line 93)
>
> -------------------end
>
> thanks in advance,
> jeff
>
>
>
_________________________________________________________________
> Get your FREE download of MSN Explorer at
> http://explorer.msn.com/intl.asp
>
__________________________________________________
Do You Yahoo!?
Get email alerts & NEW webcam video instant messaging with Yahoo! Messenger
http://im.yahoo.com