LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 10-17-2014, 09:23 AM   #106
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,492

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639

← #105 .

The executable 'ns' is present in ns-allinone-2.30/2.30/.
If not, start from scratch in a new folder and do :
( $ cd new-folder/)
$ tar xvf ns-allinone-2.30.tar.gz

I.e. a failed ns-allinone-2.30/ can probably not be reused.


P.S. : My Ubuntu 14.04.1 - 64 : $ ns230-edca multi_udpflows.tcl
→ OK, the file out.tr 814.7 MB is created.

-

Last edited by knudfl; 10-17-2014 at 09:24 AM.
 
Old 10-17-2014, 10:06 AM   #107
rana_abdallah
Member
 
Registered: Sep 2014
Posts: 45

Rep: Reputation: Disabled
The virtualbox suddenly stop and I can't move the mouse or write with keyboard. What should be the cause?
Each time this happen, I should power off and copy the files again and again.
If I save it then turn off it, the problem will not be solved
Can u help me please so I can try all these commands?
 
Old 10-17-2014, 10:33 AM   #108
rana_abdallah
Member
 
Registered: Sep 2014
Posts: 45

Rep: Reputation: Disabled
should I write: $ make ??
the problem of ns wasn't be solved:S
Please I need ur help
 
Old 10-17-2014, 10:48 AM   #109
rana_abdallah
Member
 
Registered: Sep 2014
Posts: 45

Rep: Reputation: Disabled
I have tried :
sudo apt-get update
sudo apt-get install ns2 nam xgraph . the ourput is:
E: invalid operation ns2

do I have to install a package ns2???
 
Old 10-17-2014, 01:08 PM   #110
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,492

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
← #109.

Package `nam' from Ubuntu : Not working, do not install !
There is a reason for the nam package in the "post #12-link",
you already know http://www.linuxquestions.org/questi...4175521400/#12

Package `ns2' from Ubuntu : "ns2 (2.35+dfsg-1ubuntu2)",
provides /usr/bin/ns, from ns-2.35 : No 802.11e EDCA.
... just a few files in the "package ns2" ...
http://packages.ubuntu.com/trusty/amd64/ns2/filelist

Package xgraph :
Is OK, is usually installed together with the ns2 prerequisites :
$ sudo apt-get install g++ g++-4.4 autoconf automake libxmu-dev xgraph



#107, VirtualBox issues :
The memory (RAM) should be set to 1.5 GB preferable.
But that's of course only possible in a computer with 3 GB RAM.
( "Hard disk space" : Should be e.g. 10 GB. )
? Which Windows© OS is used for VirtualBox ?

-
 
Old 10-17-2014, 01:18 PM   #111
rana_abdallah
Member
 
Registered: Sep 2014
Posts: 45

Rep: Reputation: Disabled
I have install the nam from post #12 and idont think I need the xgraph
the problem is the the ns package, I have tried: sudo apt-get install ns, however it doesn't work.
it says that I have to enable the component called "universe".
I tried to put a tick on "community maintained open source software(universe)" in software &updates but when I click revert, the tick disappeared and the package ns still not existing
 
Old 10-17-2014, 01:30 PM   #112
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,492

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
← #111 .

Why install something that you don't need ?
http://packages.ubuntu.com/trusty/amd64/ns2/filelist

"sudo apt-get install ns" : No, of course it's not working.
The name of the 2MB Ubuntu package "ns2 (2.35+dfsg-1ubuntu2)" is `ns2'.

-
 
Old 10-17-2014, 01:41 PM   #113
rana_abdallah
Member
 
Registered: Sep 2014
Posts: 45

Rep: Reputation: Disabled
is it : ns2_2.35+dfsg-1ubuntu2.debian.tar.gz or ns2_2.35+dfsg-1ubuntu2.dsc ?
 
Old 10-17-2014, 02:55 PM   #114
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,492

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
← #113 .

No. It is $ sudo apt-get install ns2


ns2_2.35+dfsg-1ubuntu2.debian.tar.gz is the source code for ns-2.35 : 37.6 MB.
ns2_2.35+dfsg-1ubuntu2.dsc is a 1.8 kB text file.
 
Old 10-17-2014, 03:32 PM   #115
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,492

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
@rana_abdallah : The package with 'ns' → "ns230-edca" was created.

→ → edca-ns230_2.30-ubuntu14_amd64.deb , 2.3 MB.
Download from https://drive.google.com/file/d/0B7S...ew?usp=sharing

Provides :
/usr/local/bin/ns230-edca
/usr/local/share/ns2/{ 2multi_udpflows-nam.tcl, multi_udpflows.tcl }.

So now you can run the 802.11e simulation :
$ ns230-edca multi_udpflows.tcl

-
 
Old 10-18-2014, 05:00 AM   #116
rana_abdallah
Member
 
Registered: Sep 2014
Posts: 45

Rep: Reputation: Disabled
I have installed and run $ ns230-edca multi_udpflows.tcl
the output is:
wired node 1 created
wired node 2 created
Inirtialize the list xListHead
Base-Station node 3 created
wireless mode 0 created ...
wireless mode 1 created ...
wireless mode 2 created ...
warning: Route to base_stn not known: dropping pkt
warning: Route to base_stn not known: dropping pkt
warning: Route to base_stn not known: dropping pkt
warning: Route to base_stn not known: dropping pkt
warning: Route to base_stn not known: dropping pkt
warning: Route to base_stn not known: dropping pkt
warning: Route to base_stn not known: dropping pkt
warning: Route to base_stn not known: dropping pkt
warning: Route to base_stn not known: dropping pkt
warning: Route to base_stn not known: dropping pkt
warning: Route to base_stn not known: dropping pkt
warning: Route to base_stn not known: dropping pkt
warning: Route to base_stn not known: dropping pkt
Channel.cc:sendUp - Calc highestAntennaZ_ and disrCST_
highestAntennaZ+ = 1.5, distCST_ =550.0
Sorting Lists ... Done

Is this output right??or should write at the end : ns existing and stopped?
Do u have the awk file (delay,jitter,packet loss and throughput suitable for this out.tr)?
 
Old 10-18-2014, 05:08 AM   #117
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,492

Rep: Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639Reputation: 3639
← #116 .

"$ ns230-edca multi_udpflows.tcl" is OK when out.tr = ~800 MB.


Analyzing an "817MB" `out.tr' may not be easy.

Please try out (all) the ~75 {files.pl, files.awk}
in awk_scripts-06.2014.tar.bz2 ...
https://drive.google.com/file/d/0B7S...ew?usp=sharing

-
 
Old 10-20-2014, 09:48 AM   #118
rana_abdallah
Member
 
Registered: Sep 2014
Posts: 45

Rep: Reputation: Disabled
I have obtained an out.tr= ~ 800 Mb.
but while simulation, it was written :
warning: Route to base_stn not known: dropping pkt
now 4096.01141225 Mac: 2 BackoffTimer::handle but no priority matches ?! stime_[0] 4096.01124225 rtime_[0] 120.00 AIFSwait_[0] 50.00

while exuting the awk script, all the scripts didn't give any result:
it gives for example : Average Throughput[kbps] = -0.00 StartTime=400.00 StopTime=0.00
even the delay and jitter, the results are 0 or for example: average end-to-end transmission delay is -nan seconds

so is it a wrong out.tr?? or what is the real problem?
 
Old 10-20-2014, 11:07 AM   #119
rana_abdallah
Member
 
Registered: Sep 2014
Posts: 45

Rep: Reputation: Disabled
2) concerning the hcca simulation, which tcl file is specified for simulating the parameter such as : Minimum Phy rate, mean data rate, Maximum MSDU, Delay Bound, Burst size, etc... is there any tcl that include this part??
 
Old 10-21-2014, 12:43 PM   #120
rana_abdallah
Member
 
Registered: Sep 2014
Posts: 45

Rep: Reputation: Disabled
please I am confused..
when I tried the : export CC=gcc34 CXX=g++34 ./ install, it gives: make:***[tk33d.o] Error2
tk8.4.13 make faile! Existing..
so is it a wrong version of compiler or should I modify in tcl8.4.11, tk8.4.11, otcl-1.11?
Please someone reply
 
  


Reply

Tags
edca, hcca, ns2


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
LXer: Installing Xen On An Ubuntu 8.04 (Hardy Heron) Server From The Ubuntu Repositor LXer Syndicated Linux News 0 05-08-2008 02:10 PM
LXer: Installing Xen On An Ubuntu 7.10 (Gutsy Gibbon) Server From The Ubuntu Reposito LXer Syndicated Linux News 0 11-06-2007 08:50 PM
LXer: Installing Xen On An Ubuntu Feisty Fawn Server From The Ubuntu Repositories LXer Syndicated Linux News 0 07-01-2007 06:46 AM
ubuntu partitioning tool does not see external usb hard drive when installing ubuntu fakie_flip Linux - Software 2 07-30-2006 12:44 AM
Installing the nvidia driver off the web site and installing rpm in ubuntu? darkhatter Ubuntu 3 02-19-2006 02:44 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:10 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