LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
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 12-31-2012, 11:53 AM   #1
stev1
LQ Newbie
 
Registered: Dec 2012
Posts: 6

Rep: Reputation: Disabled
any one need a way to adjust a directional wifi antenna?


any one need a way to adjust a directional wifi antenna?

i have a file that you can run and give say wifi level over and over
till signal is the best.
FILE
---------------------------------------------------------------------

#! /bin/bash

let x=0
while [ "true" ]
do
iwconfig wlan0 | grep -o "level.*" | espeak
let ++x
sleep 2
done
---------------------------------------------------------------------
you need to have espeak installed
to stop kill wifi also wlan0 may have to be changed to wlan1 to work

Last edited by stev1; 01-01-2013 at 11:38 AM.
 
Old 12-31-2012, 03:12 PM   #2
Valosar
Member
 
Registered: Aug 2012
Location: Kentucky, USA
Distribution: Mint 14 Mate, Knoppix , #!
Posts: 44

Rep: Reputation: 1
I would be interested in something like this. My wifi antenna is very touchy and if someone walks by and moves the computer even a few inchs this way or that it messes up the connection 100% and takes 20-30 minutes to get it set up again by random guessing, turning wifi on and off through GUI Etc.
 
Old 12-31-2012, 04:19 PM   #3
stev1
LQ Newbie
 
Registered: Dec 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
you can email me for the file
but sounds like you have software or hardware trouble
jar8912@yahoo.com
 
1 members found this post helpful.
Old 01-01-2013, 06:38 PM   #4
Valosar
Member
 
Registered: Aug 2012
Location: Kentucky, USA
Distribution: Mint 14 Mate, Knoppix , #!
Posts: 44

Rep: Reputation: 1
I don't think I have hardware problems, I'm just at the extreme of distance from my wifi router so I only get the signal if it is positioned just right
 
Old 01-02-2013, 10:54 AM   #5
stev1
LQ Newbie
 
Registered: Dec 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
weak signal

this may help but you may need a external antenna or a repeater in the center
 
1 members found this post helpful.
Old 01-02-2013, 04:35 PM   #6
Valosar
Member
 
Registered: Aug 2012
Location: Kentucky, USA
Distribution: Mint 14 Mate, Knoppix , #!
Posts: 44

Rep: Reputation: 1
How exaclty would I use this script once I've created it ? (I'm not saying how do I run it, rather what is the method you would use to adjust the antenna) Maybe I just need to try it out and see how it works, will try it tonight if I get a chance The connection I have is stable as long as everything is perfect, get good down and up speeds etc, but if I bump the computer it will die or if microwave comes on etc trying to avoid spending any more money upgrading my network if I can help it, though we're going to switch ISP soon and will be getting a better router to go along with it (from DSL TO Cable) If I have to I will just run an ethernet cable from the room to the router but I kind of want to avoid that if possible.
 
Old 01-03-2013, 10:41 AM   #7
stev1
LQ Newbie
 
Registered: Dec 2012
Posts: 6

Original Poster
Rep: Reputation: Disabled
i just made a shortcut on my desktop to run it it is like a dos bat file
you have to use pkill or go to system manager to stop it. it is in a loop
after you create it you must right click on it pick properties and select make executable
now you can run it your looking for the lowest number that is the best signal hope this helps
 
1 members found this post helpful.
Old 01-07-2013, 09:43 AM   #8
Valosar
Member
 
Registered: Aug 2012
Location: Kentucky, USA
Distribution: Mint 14 Mate, Knoppix , #!
Posts: 44

Rep: Reputation: 1
Thanks I will give it a try tonight. It has to be more effect than turning my wireless network on and off, moving my antenna little by little each time until I get a connection ; ) This should hold me over until I can upgrade my network.
 
Old 01-07-2013, 11:40 AM   #9
schneidz
Senior Member
 
Registered: May 2005
Location: boston, usa
Distribution: fc-15/ fc-20-live-usb/ aix
Posts: 4,003

Rep: Reputation: 624Reputation: 624Reputation: 624Reputation: 624Reputation: 624Reputation: 624
these are related:
http://www.linuxquestions.org/questi...9/#post4815902
http://www.linuxquestions.org/questi...5/#post4691438
 
  


Reply


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
USB Wifi card that can do mode master and has detachable antenna TheMac Linux - Hardware 2 04-09-2013 11:24 AM
Error on example simulation on ns2 using add-on for directional antenna Vixxx Linux - Software 5 02-03-2012 10:37 AM
Is an antenna an antenna or are there different kinds? General Linux - Laptop and Netbook 1 04-27-2007 08:36 PM
wifi antenna Adriaan Nikken Linux - Laptop and Netbook 1 12-09-2006 07:59 AM
Long range WiFi a/b/g; Recommend strongest directional broadcast antenna digital8doug Linux - Hardware 0 11-13-2006 08:57 PM


All times are GMT -5. The time now is 05:32 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration