| Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux. |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
07-19-2004, 08:56 AM
|
#1
|
|
Member
Registered: Feb 2004
Posts: 30
Rep:
|
Getting AP signal strength via C program ...
Hi all,
I would like to get AP signal strength via C program but I am not sure where to start. I am currently using orinoco drivers for Linksys PC wireless card v.3.
Is there any way I can get the signal strength that we get via 'iwconfig' ? I would prefer not to load hostap drivers .. but if its the only way or the simpler way to go then I would go ahead and do it. (I dont know how to get it through hostap too ... but I guess some documentation can be found on the hostap website)
Please let me know if there is anything important I missed.
Thanks in advance.
|
|
|
|
07-20-2004, 12:40 PM
|
#2
|
|
Member
Registered: Feb 2004
Posts: 30
Original Poster
Rep:
|
Hi
I figured out a way (this is not a clean way, but works  ) . I am using system call to record the AP signal strength from /proc/net/wireless ....
However if there is any other way please let me know.
Thanks.
|
|
|
|
01-04-2009, 08:30 PM
|
#3
|
|
LQ Newbie
Registered: Jan 2009
Posts: 7
Rep:
|
No such file or directory
Quote:
Originally Posted by toships
Hi
I figured out a way (this is not a clean way, but works  ) . I am using system call to record the AP signal strength from /proc/net/wireless ....
However if there is any other way please let me know.
Thanks.
|
When I write /proc/net/wireless
It gives me : No such file or directory
Anybody know?
|
|
|
|
01-05-2009, 10:59 PM
|
#4
|
|
Member
Registered: Sep 2007
Location: Bangalore,India
Distribution: Fedora,Mandriva,Debian
Posts: 178
Rep:
|
hi,
Do like this:
[root@localhost RT2870STA]# cat /proc/net/wireless
Inter-| sta-| Quality | Discarded packets | Missed
face | tus | link level noise | nwid crypt frag retry misc | beacon
ra0: 0000 10. 0 169 0 0 0 0 0 0
Regards,
Ravi
|
|
|
|
01-06-2009, 05:02 PM
|
#5
|
|
LQ Newbie
Registered: Jan 2009
Posts: 7
Rep:
|
I tried
It stills gives me : No such file or directory
It seems that it needs wireless tools to be installed. Do not you think that?
|
|
|
|
01-07-2009, 02:35 AM
|
#6
|
|
Member
Registered: Sep 2007
Location: Bangalore,India
Distribution: Fedora,Mandriva,Debian
Posts: 178
Rep:
|
by default,it is there in our system.In my Redhat 9 based system,i am having all wireless commands.Which system are you using?
If it not there,then you can download wireless_tools.0.28 tools package,go through the README and INSTALL files,then you will be gettinng those commands.Then load your driver file for that device and then you can try the above mentioned commands.
Ravi
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 04:34 PM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|