On 04/23/2013 12:14 PM, Kai Hendry wrote:
Hi there Schrober,
On 23 April 2013 11:00, Schrober <franzschrober@xxxxxxxx> wrote:
"Do NOT screenscrape this tool, we don't consider its output stable."
Use nl80211
Could you give me a code sample how you would use this "nl80211"
thing, from shell?
this popped up earlier. Using shell scripts is a bad idea. However,
libnl does provide python bindings. nl80211 is a netlink interface to
the linux wireless kernel module.
Oh while I'm here. Is there no traditional /proc like interface
proposal for wireless information? If not, why not?
Because nl80211 is there to provide all the info.
If you do not mind reworking your shell script and want to stick to it
than the answer is:
$ iw wlanX link
wlanX should be your wireless network interface.
Regards,
Arend
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html