[OpenWrt-Devel] Extending iwinfo to set interface to monitor mode

Vincent Wiemann vincent.wiemann at ironai.com
Tue Jun 11 12:52:27 EDT 2019


Great idea, but that needs to happen upstream.
As far as I know iwinfo is only used for the hardware gains
and ubus stuff in OpenWrt. It would be nice if it could be replaced
by iw completely.

Regards,

Vincent Wiemann

On 11.06.19 18:29, Nick wrote:
> iw has no c library. So if you want to do automatically switching or
> stuff like this, I directly would have to use nl80211.
> Would be nice to split iw into a libiw and cmd iw or something like this.
> 
> Bests,
> Nick
> 
> On 21.05.19 19:34, John Crispin wrote:
>>
>> On 21/05/2019 17:44, Nick wrote:
>>> If I extend iwinfo to allow setting interfaces into monitor mode, will
>>> it be excepted?
>>> Or is iwinfo just for getting information for an interface?
>>>
>>> I use libiwinfo for abstraction for my own daemons.
>>>
>>> Bests,
>>> Nick
>>
>>
>> iwinfo is designed for introspection of the interfaces rather than
>> configuration. you should use the iw tool for that
>>
>>     John
>>
>>
>> _______________________________________________
>> openwrt-devel mailing list
>> openwrt-devel at lists.openwrt.org
>> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> 
> _______________________________________________
> openwrt-devel mailing list
> openwrt-devel at lists.openwrt.org
> https://lists.openwrt.org/mailman/listinfo/openwrt-devel
> 

_______________________________________________
openwrt-devel mailing list
openwrt-devel at lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel


More information about the openwrt-devel mailing list