LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu
User Name
Password
Ubuntu This forum is for the discussion of Ubuntu Linux.

Notices


Reply
  Search this Thread
Old 08-29-2014, 02:55 AM   #1
fatma alzahra
LQ Newbie
 
Registered: Aug 2014
Posts: 26

Rep: Reputation: Disabled
ns-2.29-nist-mob-022707.tgz.


hi , i'm new user here and i want your help

i'm trying to install ns-2.29-nist-mob-022707.tgz on NS2.29 on ubuntu 11.04 but faced some errors following these steps :
1)
http://http://www.linuxquestions.org...roblem-871264/

2)is this patch the same as the following "it is exactly what i want to simulate"

3) ns-MIH ****.tcl file is this the command ???

i'm new in linux

 
Old 08-30-2014, 05:16 AM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
1. http://www.linuxquestions.org/questi...roblem-871264/
... is an old install example.

"nist-mob" + PMIPv6 : https://sites.google.com/site/pmip6n...ns-2/downloads
Recent build examples ...
. http://www.linuxquestions.org/questi...-a-4175463585/
. http://www.linuxquestions.org/questi...-4175515923/#9


Quote:
2) is this patch the same as the following "it is exactly what i want to simulate"
"it is exactly what I want to simulate"
Please tell what it is, you want to do.


Quote:
3) ns-MIH ****.tcl file is this the command ???
Simulation command examples : $ ns file.tcl

MIH info http://www.linuxquestions.org/questions/tags/mih/

Please read http://www.linuxquestions.org/linux/...Ask_a_Question
. http://linuxsilo.net/docs/smart-questions_en.html


-
 
Old 08-31-2014, 03:24 PM   #3
fatma alzahra
LQ Newbie
 
Registered: Aug 2014
Posts: 26

Original Poster
Rep: Reputation: Disabled
unfortunatly i try to install the patch after successfuly install NS2.29 but got the following error

make: *** [mac/wireless-phy.o] Error 1

ubuntu 11.04
 
Old 09-01-2014, 09:20 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Ref. #3.

Which Ubuntu 11.04 have you got now ? ? 32bits or 64bits ?
This command will reply with i686 for 32bits and x86_64 for 64bits :
$ uname -m

Note : A 32bits OS is recommended for ns2.

-
 
Old 09-02-2014, 09:28 AM   #5
fatma alzahra
LQ Newbie
 
Registered: Aug 2014
Posts: 26

Original Poster
Rep: Reputation: Disabled
Which Ubuntu 11.04 have you got now ? ? 32bits or 64bits ?
i686
 
Old 09-02-2014, 10:32 AM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
#3, #5 .

OK, Ubuntu 11.04 - i686.

For the ns-2.29.3 (which is {an ns-2.29 version 0..2} patched for gcc 4.1),
you will have to use the Ubuntu 11.04 compilers gcc41 / g++41, post #14 here:
http://www.linuxquestions.org/questi...4-a-944856/#14

Building ns-2.29 :
Please start from scratch with $ tar xvf ns-allinone-2.29.3.tar.gz
$ cd ns-allinone-2.29/
$ tar xvf ns-2.29-nist-mob-022707.tgz
$ patch -p0 < pmip6-for-ns-2.29-nist.patch
$ export CC=gcc41 CXX=g++41 && ./install

-
 
1 members found this post helpful.
Old 09-02-2014, 01:02 PM   #7
fatma alzahra
LQ Newbie
 
Registered: Aug 2014
Posts: 26

Original Poster
Rep: Reputation: Disabled
i followed your instruction and got the following error again
make: *** [mac/wireless-phy.o] Error 1

what to do ?!!!!

Last edited by fatma alzahra; 09-02-2014 at 03:09 PM.
 
Old 09-03-2014, 04:19 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 7 .
Quote:
make: *** [mac/wireless-phy.o] Error 1
Are you sure the right compiler is used ? ?
Please show line 36 - 37 from ns-allinone-2.29/ns-2.29/Makefile

Note : The files in ns-2.29-nist-mob-022707 are dated ~March 2006,
and only g++ version 3.4.6 may work.

gcc34-compat 1104 https://drive.google.com/file/d/0B7S...it?usp=sharing
g++34-compat https://drive.google.com/file/d/0B7S...it?usp=sharing

See "nist-mob" http://www.linuxquestions.org/questions/tags/nist-mob/

-
 
Old 09-03-2014, 08:02 AM   #9
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
#7, #8 .

Ubuntu 11.04 - i686 :
Testing with ns229.3 + ns-2.29-nist-mob-022707.tgz + pmip6-for-ns-2.29-nist.patch:
$ cd ns-allinone-2.29/
$ export CC=gcc41 CXX=g++41 && ./install
.. And when the errors appear : cd ns-2.29/,
.. then edit the Makefile to g++34,
.. and run $ make
** You will be stopped by a linker error.
( g++34 cannot do the linking. g++41 can.)
* Edit the Makefile to g++41
* Delete bluetooth/sco-agent.o
.. and run $ make
.. then the executable 'ns' is being created.

-
 
Old 09-03-2014, 12:50 PM   #10
fatma alzahra
LQ Newbie
 
Registered: Aug 2014
Posts: 26

Original Poster
Rep: Reputation: Disabled
i follow each step you asked me for but i got this ...
Quote:

./routing/route.h:133: error: ‘atoi’ was not declared in this scope
./common/node.h: At global scope:
./common/node.h:157: error: expected ‘;’ before ‘(’ token
./mac/arp.h:73: error: ‘u_int16_t’ does not name a type
./mac/arp.h:74: error: ‘u_int16_t’ does not name a type
./mac/arp.h:75: error: ‘u_int8_t’ does not name a type
./mac/arp.h:76: error: ‘u_int8_t’ does not name a type
./mac/arp.h:77: error: ‘u_int16_t’ does not name a type
./mac/arp.h:79: error: ‘u_int16_t’ does not name a type
./mac/arp.h:80: error: ‘nsaddr_t’ does not name a type
./mac/arp.h:82: error: ‘u_int16_t’ does not name a type
./mac/arp.h:83: error: ‘nsaddr_t’ does not name a type
./mac/arp.h:96: error: ‘nsaddr_t’ has not been declared
./mac/arp.h:108: error: ‘nsaddr_t’ does not name a type
./mac/arp.h: In constructor ‘ARPEntry::ARPEntry(ARPEntry_List*, int)’:
./mac/arp.h:98: error: ‘ipaddr_’ was not declared in this scope
./mac/arp.h: At global scope:
./mac/arp.h:121: error: ‘nsaddr_t’ has not been declared
./mac/arp.h:123: error: expected ‘;’ before ‘(’ token
./mac/arp.h:124: error: ‘nsaddr_t’ has not been declared
./mac/arp.h:124: error: ‘nsaddr_t’ has not been declared
./mac/ll.h:82: error: ‘nsaddr_t’ has not been declared
./mac/ll.h:82: error: ‘nsaddr_t’ has not been declared
./hsntg/mih-types.h:342: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:343: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:382: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:386: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:425: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:428: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:429: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:440: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:452: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:453: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:457: error: ‘u_char’ does not name a type
./hsntg/mih-types.h:458: error: ‘u_int16_t’ does not name a type
./hsntg/mih-types.h:459: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:464: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:465: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:469: error: ‘u_char’ does not name a type
./hsntg/mih-types.h:470: error: ‘u_int16_t’ does not name a type
./hsntg/mih-types.h:471: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:475: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:476: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:481: error: ‘u_char’ does not name a type
./hsntg/mih-types.h:482: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:483: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:488: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:489: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:494: error: ‘u_char’ does not name a type
./hsntg/mih-types.h:495: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:500: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:501: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:502: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:506: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:507: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:508: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:513: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:514: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:515: error: ‘u_char’ does not name a type
./hsntg/mih-types.h:516: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:521: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:522: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:523: error: ‘u_char’ does not name a type
./hsntg/mih-types.h:524: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:529: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:530: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:534: error: ‘u_int16_t’ does not name a type
./hsntg/mih-types.h:538: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:539: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:543: error: ‘u_int16_t’ does not name a type
./hsntg/mih-types.h:547: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:548: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:550: error: ‘u_int16_t’ does not name a type
./hsntg/mih-types.h:551: error: ‘u_char’ does not name a type
./hsntg/mih-types.h:555: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:556: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:558: error: ‘u_int16_t’ does not name a type
./hsntg/mih-types.h:559: error: ‘u_char’ does not name a type
./hsntg/mih-types.h:563: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:564: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:569: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:570: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:575: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:576: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:581: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:582: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:585: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:592: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:593: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:598: error: ‘u_int16_t’ does not name a type
./hsntg/mih-types.h:599: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:600: error: ‘u_char’ does not name a type
./hsntg/mih-types.h:604: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:605: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:614: error: ‘u_int32_t’ does not name a type
./hsntg/mih-types.h:615: error: ‘u_int32_t’ does not name a type
./mac/mac.h:113: error: ‘u_int16_t’ does not name a type
./mac/mac.h:128: error: ISO C++ forbids declaration of ‘u_int16_t’ with no type
./mac/mac.h:128: error: ‘u_int16_t’ declared as an ‘inline’ field
./mac/mac.h:128: error: expected ‘;’ before ‘&’ token
./mac/mac.h:130: error: expected `;' before ‘inline’
./mac/mac.h:214: error: ‘u_int16_t’ has not been declared
./mac/mac.h:225: error: ‘u_int32_t’ does not name a type
./mac/mac.h:226: error: ISO C++ forbids declaration of ‘u_int32_t’ with no type
./mac/mac.h:226: error: expected ‘;’ before ‘*’ token
./mac/mac.h:227: error: ISO C++ forbids declaration of ‘u_int32_t’ with no type
./mac/mac.h:227: error: expected ‘;’ before ‘*’ token
./mac/mac.h:283: error: ‘u_int32_t’ does not name a type
./mac/mac.h:284: error: ‘u_int32_t’ does not name a type
./mac/mac.h:285: error: ‘u_int32_t’ does not name a type
./mac/mac.h: In member function ‘virtual int Mac::hdr_type(char*, int)’:
./mac/mac.h:217: error: ‘struct hdr_mac’ has no member named ‘hdr_type_’
./mac/mac.h:218: error: ‘struct hdr_mac’ has no member named ‘hdr_type’
./diffusion/diff_header.h: At global scope:
./diffusion/diff_header.h:106: error: ‘nsaddr_t’ does not name a type
mac/wireless-phy.cc: In member function ‘virtual int WirelessPhy::command(int, const char* const*)’:
mac/wireless-phy.cc:159: error: ‘strcasecmp’ was not declared in this scope
mac/wireless-phy.cc:186: error: ‘strcmp’ was not declared in this scope
mac/wireless-phy.cc:192: error: ‘strcasecmp’ was not declared in this scope
mac/wireless-phy.cc:193: error: ‘atof’ was not declared in this scope
mac/wireless-phy.cc:196: error: ‘atof’ was not declared in this scope
mac/wireless-phy.cc:199: error: ‘atof’ was not declared in this scope
mac/wireless-phy.cc:202: error: ‘atof’ was not declared in this scope
mac/wireless-phy.cc:205: error: ‘atof’ was not declared in this scope
mac/wireless-phy.cc:208: error: ‘atof’ was not declared in this scope
mac/wireless-phy.cc:211: error: ‘strcmp’ was not declared in this scope
mac/wireless-phy.cc:212: error: ‘atof’ was not declared in this scope
mac/wireless-phy.cc:244: error: ‘fprintf’ was not declared in this scope
mac/wireless-phy.cc:251: error: ‘fprintf’ was not declared in this scope
mac/wireless-phy.cc: In member function ‘virtual void WirelessPhy::sendDown(Packet*)’:
mac/wireless-phy.cc:342: error: ‘fprintf’ was not declared in this scope
mac/wireless-phy.cc: In member function ‘virtual void WirelessPhy::dump() const’:
mac/wireless-phy.cc:666: error: ‘fprintf’ was not declared in this scope
make: *** [mac/wireless-phy.o] Error 1
zahraa@ubuntu:/usr/src/ns-allinone-2.29/ns-2.29$
 
Old 09-03-2014, 03:27 PM   #11
fatma alzahra
LQ Newbie
 
Registered: Aug 2014
Posts: 26

Original Poster
Rep: Reputation: Disabled
i install it on ubunt10.04 32 bit at the end of installation it asks me to edit bashrc file & i do edit variables & and now i'll execute ./validate command

but question is that error appear
Quote:
ns: command not found
sudo apt-get install ........ << not contain ns option

what to do???

sorry for my english
 
Old 09-03-2014, 04:22 PM   #12
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Post #10.

Doesn't look like you are using g++34. ( I don't get those errors.)

Repeat (from post #8) :
""Please show line 36 - 37 from ns-allinone-2.29/ns-2.29/Makefile "".
* I.e. as long as we don't know which compiler you are using,
your errors tell nothing.

# 11 : You are not supposed to edit the .bashrc !
That's an old (1999) text only to be used when you are not the computer owner,
and cannot use 'sudo make install'.

? Did you manage to build the executable 'ns' ?
When 'ns' is present, you can do $ sudo make install
* Else not. As the only thing 'make install' does,
is to copy 'ns' to /usr/local/bin/

-
 
Old 09-04-2014, 01:33 AM   #13
fatma alzahra
LQ Newbie
 
Registered: Aug 2014
Posts: 26

Original Poster
Rep: Reputation: Disabled
ns2.29 run successfully in ubuntu 10.04 and give me results with *.tr and *.nam

what command to use to run this !!!!!
Quote:
root@ubuntu:/usr/src/ns-allinone-2.29/ns-2.29/tcl/hsntg/wimax/handover-wifi-wimax# ns wifi_wimax.tcl

Wrong Number of Arguments! No arguments in this topology
ns wifi_wimax.tcl seed gd_threshold shutdown

expected integer but got "(1)"
while executing
"exit (1)"
invoked from within
"if {$argc != 3} {
puts ""
puts "Wrong Number of Arguments! No arguments in this topology"
puts "ns wifi_wimax.tcl seed gd_threshold shutdown"
puts..."
(file "wifi_wimax.tcl" line 29)
Quote:
root@ubuntu:/usr/src/ns-allinone-2.29/ns-2.29/tcl/hsntg# ns testMIH.tcl
rnc: tcl=_o16; id=0; addr=0.0.0
bsUMTS: tcl=_o30; id=1; addr=0.0.1
iface0(UMTS): tcl=_o72; id=2; addr=0.0.2
router0: tcl=_o96; id=3; addr=1.0.0
router1: tcl=_o104; id=4; addr=2.0.0
iface2: tcl=_o112; id=5; addr=2.0.2
warning: no class variable LanRouter::debug_

see tcl-object.tcl in tclcl for info about this warning.

lan created between router1 and iface2
multiFaceNode: tcl=_o218; id=7; addr=4.0.0
num_nodes is set 11
INITIALIZE THE LIST xListHead
bstation802: tcl=_o236; id=8; addr=3.0.0
bss_id for bstation 1=6
_o245 channelID = 2412000000.000000
_o273 channelID = 2412000000.000000
iface1: tcl=_o264; id=9; addr=3.0.1
At 0.000000 in 0.0.0 ND module added RA target 0.0.2
At 0.000000 in 3.0.0 MIH is adding mac 6
At 0.000000 in 4.0.0 Interface Manager : Flow added
tcp stream made from 1.0.0 and 0.0.2
At 0.000000 in 4.0.0 MIH is adding mac 0
At 0.000000 in 4.0.0 MIH is adding mac 7
At 0.000000 in 4.0.0 MIH is adding mac 5
Simulation is running ... please wait ...
Calling MIH_Get_Status
At 0.001000 in 4.0.0, MIH receives get_status for local MIH
MIH_Get_Status results for 3 interface(s):
Link ID: linkType=23, macMobileTerminal=0, macPoA=-1
Capabilities are: commands:3, events:3
MIH User subscribing for events 3 on Mac 0
Subscription status: requested=3, result=3
Link ID: linkType=19, macMobileTerminal=7, macPoA=-1
Capabilities are: commands:f, events:1bf
MIH User subscribing for events 2f on Mac 7
Subscription status: requested=2f, result=2f
Link ID: linkType=15, macMobileTerminal=5, macPoA=-1
Capabilities are: commands:3, events:3
MIH User subscribing for events 3 on Mac 5
Subscription status: requested=3, result=3
channel.cc:sendUp - Calc highestAntennaZ_ and distCST_
highestAntennaZ_ = 1.5, distCST_ = 550.0
SORTING LISTS ...DONE!
At 9.000000 in 4.0.0 MIH Agent received LINK UP trigger.
At 9.000000 in 4.0.0 Interface Manager received MIH event
At 9.000000 in 4.0.0 Handover link up
type 23, MacAddr=0, MacPoA=-1
At 10.700306 in 4.0.0 MIH Agent received LINK DETECTED trigger.
At 10.700306 in 4.0.0 Interface Manager received MIH event
At 10.700306 in 4.0.0 Handover received link detected
type 19, MacAddr=7, PoA=6, MIHCapable=1
I launch the connection on the link
Link Connect to AP 6 on Channel 1
At 10.701313 in 4.0.0 MIH Agent received LINK UP trigger.
At 10.701313 in 4.0.0 Interface Manager received MIH event
At 10.701313 in 4.0.0 Handover link up
type 19, MacAddr=7, MacPoA=6
At 10.701313 MIPv6 Agent in 4.0.0 requests ND to send RS
At 10.701313 in 3.0.1 ND module send RS
At 10.703523 in 3.0.0 ND module received RS from node 3.0.1
At 10.918726 in 3.0.0 ND module processes RS reply.
At 10.918726 in 3.0.0 ND module send RA
At 10.919844 in 3.0.1 ND module received RA from node 3.0.0
router-lifetime=5.000000 s
prefix valid_lifetime=5 s
prefix=3.0.0
advertisement interval=600000 ms
-> New neighbor
At 10.919844 in 4.0.0 SimpleHandover received new prefix 3.0.0
old address: 3.0.1, prefix=3.0.0, new address will be 3.0.1
At 10.919844 in 4.0.0 MIH Agent sending capability discovery request
At 11.026134 in 3.0.0 MIH Agent received capability discovery request
At 11.026134 in 3.0.0 MIH Agent sending capability discovery response
At 11.029875 in 4.0.0 MIH Agent received capability discovery response
At 11.029875 in 4.0.0 SimpleHandover received MIH_Capability_discover.confirm
Remote MIHF: Id = 1,
At 11.029875 in 4.0.0 MIH Agent sending registration request
At 11.031119 in 3.0.0 MIH Agent received registration request
At 11.530736 in 3.0.0 MIH Agent received registration request
At 12.030916 in 3.0.0 MIH Agent received registration request
At 12.530736 in 3.0.0 MIH Agent received registration request
At 15.919844 in 3.0.1 ND module has prefix 3.0.0 expired
At 20.000000 in 4.0.0 MIH Agent received LINK UP trigger.
At 20.000000 in 4.0.0 Interface Manager received MIH event
At 20.000000 in 4.0.0 Handover link up
type 15, MacAddr=5, MacPoA=-1
At 24.000000 in 4.0.0 MIH Agent received LINK DOWN trigger.
At 24.000000 in 4.0.0 Interface Manager received MIH event
At 24.000000 in 4.0.0 Handover received link down
type 15, MacAddr=5, MacPoA=-1
At 26.200306 in 4.0.0 MIH Agent received LINK DOWN trigger.
At 26.200306 in 4.0.0 Interface Manager received MIH event
At 26.200306 in 4.0.0 Handover received link down
type 19, MacAddr=7, MacPoA=6
Simulation ended.
root@ubuntu:/usr/src/ns-allinone-2.29/ns-2.29/tcl/hsntg#
# 9
Quote:
$ export CC=gcc41 CXX=g++41 && ./install
.. And when the errors appear : cd ns-2.29/,
.. then edit the Makefile to g++34,
.. and run $ make
** You will be stopped by a linker error.
( g++34 cannot do the linking. g++41 can.)
* Edit the Makefile to g++41
* Delete bluetooth/sco-agent.o
.. and run $ make
.. then the executable 'ns' is being created.
#12
Quote:
# The following will be redefined under Windows (see WIN32 lable below)
CC = gcc
CPP = g++41

Last edited by fatma alzahra; 09-04-2014 at 01:39 AM.
 
Old 09-04-2014, 03:33 AM   #14
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,513

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 13 .
Quote:
what command to use to run this :
# ns wifi_wimax.tcl
ns wifi_wimax.tcl seed gd_threshold shutdown
* Like the text says : $ ns wifi_wimax.tcl [seed] [gd_threshold] [shutdown]
* My example : $ ns-nistmob-wimax wifi_wimax.tcl 1 2 10

? But maybe you didn't compile an executable with Wimax included ?
Code:
[knudfl@localhost ns-2.29]$ grep -n wimax Makefile.in
77:        -I./wimax \
337:        wimax/ofdmphy.o wimax/mac802_16pkt.o \
338:        wimax/scheduling/wimaxscheduler.o wimax/scheduling/bsscheduler.o \
339:        wimax/scheduling/ssscheduler.o wimax/scheduling/ulsubframetimer.o \
340:        wimax/scheduling/dlsubframetimer.o \
341:        wimax/scheduling/burst.o wimax/scheduling/contentionslot.o \
342:        wimax/scheduling/contentionrequest.o wimax/scheduling/contentiontimer.o \
343:        wimax/scheduling/dlburst.o wimax/scheduling/ulburst.o \
344:        wimax/scheduling/framemap.o wimax/scheduling/phypdu.o \
345:        wimax/scheduling/profile.o wimax/scheduling/subframe.o \
346:        wimax/scheduling/scanningstation.o \
347:        wimax/serviceflowqos.o wimax/serviceflow.o \
348:        wimax/serviceflowhandler.o \
349:        wimax/connection.o wimax/connectionmanager.o wimax/peernode.o \
350:        wimax/mac802_16.o wimax/sduclassifier.o \
351:        wimax/destclassifier.o wimax/mac802_16timer.o \
352:        wimax/wimaxneighborentry.o wimax/neighbordb.o \
353:        wimax/scheduling/wimaxctrlagent.o \
543:        tcl/lib/ns-wimax.tcl \
Your example # ns testMIH.tcl : Looks OK.
-
Attached Files
File Type: txt Makefile.in__with-wimax.gz.txt (6.8 KB, 25 views)
 
Old 09-05-2014, 11:50 AM   #15
fatma alzahra
LQ Newbie
 
Registered: Aug 2014
Posts: 26

Original Poster
Rep: Reputation: Disabled
hi knudfl;
first of all i want to thank you for your help and support and giving me from your time and attention .

i check it all things is ok ; and Makefile.in is correct ....
why am i able to simulate MIH.tcl example correctly even it contains wifi&wimax&umts ?????

my second question is . how to extract data from resulted trace after success in simulating it - i mean differentiate between the different types of access technology from the resulted trace??
like the following links :
http://jp2011.pcg.ull.es/sites/jp201...nadas_v02a.pdf
and
www.sequans.com/pdf/ICC_2008_Jeremy.pdf

thanks alot knudfl;
 
  


Reply

Tags
nist-mob, ns2, pmip6



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Network Flash Mob. dzaku General 9 06-20-2012 01:26 AM
a tgz that doesn't end in tgz flebber VectorLinux 3 05-03-2006 05:31 AM
tgz file doesn't end in .tgz? detpenguin Slackware 4 05-15-2004 07:13 PM
X Sever crash after xset.tgz & vg16.tgz install lachlan Slackware 0 08-13-2003 02:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Ubuntu

All times are GMT -5. The time now is 12:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration