LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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-08-2015, 12:34 AM   #1
13thsparton
LQ Newbie
 
Registered: Oct 2015
Posts: 2

Rep: Reputation: Disabled
how to change omni antenna to directional antenna in NS2 programming


hello friends i'm new to linux and NS2 programming i am trying to create a wireless network with directional antenna in base node. i searched for the sample coding to add directional antenna to my simulation i cant able to find anything in net. kindly help me to use directional antenna in my simulation project. thanks in advance.
 
Old 10-08-2015, 03:36 AM   #2
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
Welcome to LQ.

Directional Antenna http://www.linuxquestions.org/questi...ional-antenna/
... As you can see when reading through the posts, a 64bits OS is required.

The patch, for e.g. ns-2.35 : directional-antenna_ns235.patch
https://drive.google.com/file/d/0B7S...ew?usp=sharing

Build example, ns-2.35, Ubuntu 12.04 - x86_64 :
Code:
$ tar xvf ns-allinone-2.35_gcc482.tar.gz
https://drive.google.com/file/d/0B7S255p3kFXNSGJCZ2YzUGJDVk0/view?usp=sharing
$ cd ns-allinone-2.35/
$ patch -p0 < directional-antenna_ns235.patch
$ ./install
$ cd ns-2.35/
$ sudo make install
$ cp ns ns235-dir-antenna
$ sudo cp ns235-dir-antenna /usr/local/bin/
P.S. : I actually don't know which OS will work today.
I suspect that Ubuntu 12.04 got updated to much for Directional Antenna to work.
? May be Ubuntu 11.10 or CentOS 6.7 ?


-
 
  


Reply



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
[SOLVED] Directional Antenna patch for ns2.35 amal79 Linux - Software 19 05-08-2020 04:19 AM
OLSR with directional antenna in NS2 ws19561986 Linux - Newbie 0 04-17-2014 09:45 AM
any one need a way to adjust a directional wifi antenna? stev1 Linux - Newbie 8 01-07-2013 11:40 AM
Error on example simulation on ns2 using add-on for directional antenna Vixxx Linux - Software 5 02-03-2012 10:37 AM

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

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