完善资料让更多小伙伴认识你,还能领取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算力平台
575 浏览 0 评论
1225 浏览 0 评论
815 浏览 0 评论
957 浏览 0 评论
全志T113双核异构处理器的使用基于Tina Linux5.0——RTOS系统定制开发
1655 浏览 0 评论
全志V85x硬件设计大赛作品精选第二期,快来Pick你心目中的最佳方案
99476浏览 3评论
2937浏览 1评论
Yuzuki Lizard 全志V851S开发板 –移植 QT5.12.9教程
16532浏览 1评论
关于全志T113开发板接7寸LCD屏幕显示异常问题的解决方案
1234浏览 1评论
泰酷辣!基于全志R818的开源超迷你安卓手持终端CyberPad,芒果派惊喜之作
3395浏览 1评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-3-6 21:14 , Processed in 0.527828 second(s), Total 78, Slave 62 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191