LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 07-19-2004, 08:56 AM   #1
toships
Member
 
Registered: Feb 2004
Posts: 30

Rep: Reputation: 15
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.
 
Old 07-20-2004, 12:40 PM   #2
toships
Member
 
Registered: Feb 2004
Posts: 30

Original Poster
Rep: Reputation: 15
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.
 
Old 01-04-2009, 08:30 PM   #3
yasserbn
LQ Newbie
 
Registered: Jan 2009
Posts: 7

Rep: Reputation: 0
No such file or directory

Quote:
Originally Posted by toships View Post
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?
 
Old 01-05-2009, 10:59 PM   #4
ravi_chobey
Member
 
Registered: Sep 2007
Location: Bangalore,India
Distribution: Fedora,Mandriva,Debian
Posts: 180

Rep: Reputation: 30
Smile

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
 
Old 01-06-2009, 05:02 PM   #5
yasserbn
LQ Newbie
 
Registered: Jan 2009
Posts: 7

Rep: Reputation: 0
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?
 
Old 01-07-2009, 02:35 AM   #6
ravi_chobey
Member
 
Registered: Sep 2007
Location: Bangalore,India
Distribution: Fedora,Mandriva,Debian
Posts: 180

Rep: Reputation: 30
Thumbs up

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
 
  


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
lan cable - signal strength..? captain skywave Linux - Networking 4 08-08-2005 03:18 AM
Wireless Signal Strength and Quality tubatodd Slackware 5 08-07-2005 08:30 AM
interpreting iwconfig output: signal strength, etc ahz10 Linux - Wireless Networking 1 04-11-2005 06:55 PM
Wireless signal strength meter? Kethinov Linux - Software 1 10-29-2004 11:49 PM
NDISWrapper working except signal strength applet Reefcrazed Linux - Wireless Networking 1 07-23-2004 12:27 PM

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

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