完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
扫一扫,分享给好友
|
|
|
|
ifconfig wlan0 promisc #使能混杂模式ifconfig wlan0 -promisc #取消混杂模式
|
|
|
|
混杂模式只能抓到MAC层所能搜到的包,你的需求是想要抓取空气中的“自由包”,应该用monitor模式。
Monitor mode: Sniffing the packets in the air without connecting (associating) with any access point. Think of it like listening to people's conversations while you walk down the street. Promiscuous mode: Sniffing the packets after connecting to an access point. This is possible because the wireless-enabled devices send the data in the air but only "mark" them to be processed by the intended receiver. They cannot send the packets and make sure they only reach a specific device, unlike with switched LANs. Think of it like joining a group of people in a conversation, but at the same time being able to hear when someone says "Hey, Mike, I have a new laptop". Even though you're not Mike, and that sentence was intended to be heard by Mike, but you're still able to hear it. xr829应该也是支持monitor模式的,我在代码里面有看到MONITOR_MODE这个宏,可以试下用iw工具打开。 如果你的SDK是tina,airkiss或者smartlink相关示例可以参考package/allwinner/smartlinkd目录,里面就有xr819的例子。 |
|
|
|
只有小组成员才能发言,加入小组>>
【实测】用全志A733平板搭建一个端侧Deepseek算力平台
1061 浏览 0 评论
1839 浏览 0 评论
1158 浏览 0 评论
1324 浏览 0 评论
全志T113双核异构处理器的使用基于Tina Linux5.0——RTOS系统定制开发
2056 浏览 0 评论
3097浏览 1评论
全志V851S开发版无法正常挂载TF卡,sdc0、sdc1报错
3573浏览 1评论
2264浏览 1评论
5172浏览 1评论
花费200元,我用全志H616和雪糕棒手搓了一台可UI交互的视觉循迹小车
9085浏览 1评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-7-1 07:06 , Processed in 0.621899 second(s), Total 80, Slave 64 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191