> standard way for location stuff is using the rx power to tell
> how close
If power levels are what you're after then you could take a look
at the source for iwconfig (part of wireless tools).
It spits out info like:
[root at deckard /root]# iwconfig
lo no wireless extensions.
eth0 no wireless extensions.
eth0:1 no wireless extensions.
eth1 no wireless extensions.
eth2 IEEE 802.11-DS ESSID:"Impreza" Nickname:"deckard"
Mode:Ad-Hoc Frequency:2.422GHz Cell: XX:XX:XX:XX:XX:XX
Bit Rate=11Mb/s Tx-Power=15 dBm Sensitivity:1/3
RTS thr:off Fragment thr:off
Encryption key: XXXX-XXXX-XXXX-XXXX-XXXX-XXXX-XX
Power Management: off
Link Quality: X Signal level: X Noise level: X
Rx invalid nwid: X invalid crypt:X invalid misc: X
Ciaran
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!