LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


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

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641

Post #15, @rana_abdallah : Welcome to LQ.

Assume ns-allinone-2.30 + {The patch ns-2.30_eurane-1.12.diff.gz}
Patch : https://drive.google.com/file/d/0B7S...it?usp=sharing

"umts.tcl" works OK here : $ ns-eurane umts.tcl
... and the file ``umts.tr´´ 12MB is created.

May be you are using the wrong executable 'ns' ?
( Or you have a failed build.)

Please try : $ cd ns-2.30/
Copy the right 'ns' to a new name : $ cp ns ns-eurane
And : # cp ns-eurane /usr/local/bin/
... then you can do $ ns-eurane umts.tcl
... and the other examples from "umts-eurane-examples.tar.bz2"
https://drive.google.com/file/d/0B7S...it?usp=sharing

Eurane-umts info, LQ : http://www.linuxquestions.org/questions/tags/eurane/

-
 
Old 09-23-2014, 11:01 AM   #17
rana_abdallah
Member
 
Registered: Sep 2014
Posts: 45

Rep: Reputation: Disabled
Thank you knudfl for your reply
If I try to simulate a simple tcl code, it works normally.
However, the site " http://eurane.ti-wmc.nl/eurane/ " does not open so how can i add the eurane patch?
I've tried the umtc.tcl inscripted in " ex-umts-eurane" but it gives the same error, so how it can be solved?
Thank you
 
Old 09-23-2014, 11:25 AM   #18
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,517

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← #17 .
Quote:
how can I add the eurane patch ?
Getting the patch : https://drive.google.com/file/d/0B7S...it?usp=sharing
,,, Ref. post #16.

Building ns-2.30 - Eurane , example :
$ tar xvf ns-allinone-2.30.tar.gz
$ cd ns-allinone-2.30/
$ ln -s ns-2.30/ ns-2.30-eu112
$ zcat ns-2.30_eurane-1.12.diff.gz | patch -p1
$ export CC=gcc41 CXX=g++-41 && ./install

Any questions ? Then specify your OS :
a) Please show the reply from the command $ uname -m
b) OS name and version, please.

-
 
Old 09-23-2014, 11:35 AM   #19
rana_abdallah
Member
 
Registered: Sep 2014
Posts: 45

Rep: Reputation: Disabled
$ tar xvf ns-allinone-2.30.tar.gz
tar: ns-allinone-2.30.tar.gz: Cannot open: No such file or directory
tar: Error is not recoverable: exiting now


bash: /usr/bin/patch: Permission denied
bash: ./install: No such file or directory


when i wrote : $ uname -m
it gives: i686
 
Old 09-23-2014, 11:40 AM   #20
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,517

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← #19 .

You must add the path to the location where you keep "ns-allinone-2.30.tar.gz".
Like $ tar xvf ../Downloads/ns-allinone-2.30.tar.gz
Or $ tar xvf /home/rana/Downloads/ns-allinone-2.30.tar.gz

Important : OS name and version, please.

-
 
Old 09-23-2014, 11:54 AM   #21
rana_abdallah
Member
 
Registered: Sep 2014
Posts: 45

Rep: Reputation: Disabled
knudfl, can we contact by mail plz?
cz the path is fixed and it gives the same error.
 
Old 09-23-2014, 12:13 PM   #22
knudfl
LQ 5k Club
 
Registered: Jan 2008
Location: Copenhagen DK
Distribution: PCLinuxOS2023 Fedora38 + 50+ other Linux OS, for test only.
Posts: 17,517

Rep: Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641Reputation: 3641
← #21 .

All technical discussion is supposed to take place in the Forums,
so all readers can benefit from the solutions.

? Did you create the executable 'ns' : "ns-allinone-2.30/ns-2.30/ns ?
Using : See post #16.

No OS ? You still haven't told which {OS name and version} you have !

-
 
Old 09-25-2014, 06:29 AM   #23
rana_abdallah
Member
 
Registered: Sep 2014
Posts: 45

Rep: Reputation: Disabled
I am using cygwin on Windows 7.
 
Old 10-23-2015, 04:40 PM   #24
shrikantg
LQ Newbie
 
Registered: Oct 2015
Posts: 1

Rep: Reputation: Disabled
Issue Resolved

I was getting the same issue after implementing ZRP protocol in ns2. The root cause of this issue is spelling mistake, syntax error in the modified code. Solution to this problem is run >sudo make -k in "./ns-2.3*", You will grt the list of errors just resolve it and you are done
 
  


Reply

Tags
eurane, ns2



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
i am using ubuntu as os. for NS2 to implement a routing protocol in ns2. sujovasu Programming 1 07-27-2010 01:44 AM
weight throwing protocol using ns2 code,diffusion based protocol using ns2 code rajrupa Linux - Networking 1 05-27-2010 03:39 AM
Ns2.32 rafik123 Linux - Newbie 1 01-22-2010 01:26 AM
ns2 sandhya_it17m Linux - Networking 2 01-11-2010 03:14 AM
Ns2 ConfusedMonkey Linux - Software 3 10-05-2005 11:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

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