Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

scan failure #2

Closed
geniusgogo opened this issue Mar 15, 2016 · 4 comments
Closed

scan failure #2

geniusgogo opened this issue Mar 15, 2016 · 4 comments

Comments

@geniusgogo
Copy link

Waiting for scan to complete...
# error_handler() called.
WARNING: err has a value of -19.
ERROR: nl_recvmsgs() returned -31 (No such device).
do_scan_trigger() failed with -31.

host:openwrt 14.07

@geniusgogo
Copy link
Author

其实扫描和读写wifi数据用pcap就应该可以的了吧?我怀疑我这平台上nl库有问题。
在我的openwrt上pcap可以完成你nl上的所有功能。

@evilpan
Copy link
Owner

evilpan commented Mar 15, 2016

no such device, 我用的是wlan1,你要看看你的无线网卡名字是什么(wlanX). 另外pcap只能抓取普通socket数据, 底层通常需要通过kernel接口, 如果是嵌入式设备则用wifi模块提供的驱动接口.

@geniusgogo
Copy link
Author

我已经用pcap做了实验可以解析出数据,只是你的filter和我用pcap抓到的数据包格式不一致。
我可能需要自己去解析pcap抓到的数据包格式来做解析。

非常感谢!

@evilpan
Copy link
Owner

evilpan commented Dec 30, 2016

已经将wifi_scan的部分进行优化.

@evilpan evilpan closed this as completed Dec 30, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants