LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-26-2012, 03:01 AM   #1
lindut
LQ Newbie
 
Registered: May 2012
Posts: 6

Rep: Reputation: Disabled
Question simulating UMTS with ns2


hi,
can you help me?
i want to simulate umts senario with ns2.29
il yes can you send me the patch umts and how can installed it.(site: where can i download it)
i have installed ns2.29 in windows XP with cygwin
thanks for your help
 
Old 05-26-2012, 03:16 PM   #2
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Welcome to LQ.

UMTS at LQ : "Eurane in ns-2.30 ...
http://www.linuxquestions.org/questi...ta-etc-869957/

http://www.linuxquestions.org/questi...eurane-874953/


Google .. umts ns2 ..
will also find "eurane" only ? Example http://ru6.cti.gr/ru6/umts_ns2.php

And : The eurane patch is not expected to work in other versions but ns-2.30.
Suggest : Install a genuine Linux OS on 1) A spare partition ..
or 2) Inside 'Windows' in a "vitual machine" like 'VirtualBox' / 'wmware player'.
Then you can have as many versions of ns-allinone-2.xx as you want,
installed at the same time. But : Do not add any of them to a *PATH.

.

Last edited by knudfl; 05-26-2012 at 03:19 PM.
 
Old 05-30-2012, 06:33 AM   #3
lindut
LQ Newbie
 
Registered: May 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Question patch of umts

i have another problem with my install process..
1 have been tried to install ns2.30 use virtualbox and added patch like this:

code:
patch -p0 <ns-2.30_eurane-1.12.diff
patching file ns-2.30-orig/EURANE-version
can't find file to patch at input line 9
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -urN ns-2.30-orig/Makefile.in ns-2.30-eu112/Makefile.in
|--- ns-2.30-orig/Makefile.in 2006-09-25 08:18:23.000000000 +0307
|+++ ns-2.30-eu112/Makefile.in 2006-10-07 22:27:44.000000000 +0307
--------------------------
File to patch:

can you help me?
 
Old 05-31-2012, 04:51 AM   #4
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
Post # 3.


Which Linux OS are you using ? ? Name and version, please.


( In some OS, none of the patch options -p0, -p1, -p2 will work.
Then simply write the file location, when asked for " File to patch: "
like : ns-2.30/Makefile.in )

.
 
Old 05-31-2012, 07:56 AM   #5
lindut
LQ Newbie
 
Registered: May 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Question

i use windows XP with cygwin?
isn't it suitable for ns-2.30?
 
Old 05-31-2012, 02:01 PM   #6
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 5
Quote:
I use windows XP with cygwin? Isn't it suitable for ns-2.30?
Probably. Only : Very few LQ members can help you with Cygwin.

Alternative solution : Install a Linux OS into a Virtual Machine ( VirtualBox.)
But : You may still have to enter all locations at patch time.

If I remember right, the patch will work correctly in Ubuntu 10.10 , 10.04,
and Fedora : Please see the two mentioned "eurane threads" for OS suggestions.

.
 
Old 06-01-2012, 10:48 AM   #7
lindut
LQ Newbie
 
Registered: May 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
Question

i have tried to install ns-2.30 in ubuntu 10.10
but the installation process can't run smoothly..
i am facing the problem

bash: ./install : permission denied

i don't understand to resolve the problem,,
can you help me?
thanks before
 
Old 06-02-2012, 08:23 AM   #8
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,511

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
# 7.

Please use a location like this for ns2 :
/home/lindut/ns-allinone-2.30/ , or : /home/lindut/ns2/ns-allinone-2.30/

And : Use no "sudo commands" for anything at all in /home/lindut/.
If you do, access will be denied.
Better delete files, that were e.g. unpacked with sudo.

About the script 'install' : Is usually always executable,
but this command works as well : sh install

.
 
  


Reply

Tags
eurane, ns2, umts



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
Problem in simulating Black Hole Attack in AODV Protocol through NS2 in FC8 shyan Linux - Newbie 3 02-17-2015 03:21 PM
Simulating UMTS with ns2 mounaboug Linux - Software 0 05-15-2012 05:17 AM
How can simulate UMTS with ns2?? mounaboug Ubuntu 6 05-02-2012 05:41 AM
hi...can anyone tell which version of ns2 simulator is best for simulating WSN afsha2719 Linux - Newbie 5 04-20-2012 09:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

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