LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   simulating UMTS with ns2 (https://www.linuxquestions.org/questions/linux-newbie-8/simulating-umts-with-ns2-946952/)

lindut 05-26-2012 03:01 AM

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

knudfl 05-26-2012 03:16 PM

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.

.

lindut 05-30-2012 06:33 AM

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?

knudfl 05-31-2012 04:51 AM

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 )

.

lindut 05-31-2012 07:56 AM

i use windows XP with cygwin?
isn't it suitable for ns-2.30?

knudfl 05-31-2012 02:01 PM

# 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.

.

lindut 06-01-2012 10:48 AM

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

knudfl 06-02-2012 08:23 AM

# 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

.


All times are GMT -5. The time now is 12:48 AM.