Open caiwang opened 9 years ago
Comment by caiwang
Tuesday Mar 03, 2015 at 05:05 GMT
lwfinger/rtl8188eu#99
The script that I use to build this driver for a Raspberry Pi (also ARM) is
export ARCH=arm export CROSS_COMPILE=/home/finger/tools/arm-bcm2708/arm-bcm2708-linux-gnueabi/bin/arm-bcm2708-linux-gnueabi- make KSRC=/home/finger/raspberry/
The cross compile symbol should point to the location of the cross-compiler, and KSRC should point to the location of the kernel source.
Comment by caiwang
Wednesday Mar 04, 2015 at 08:42 GMT
git clone -b v4.1.8_9499 https://github.com/lwfinger/rtl8188eu.git
export ARCH=arm export CROSS_COMPILE=arm-linux-gnueabihf-
make KSRC=/home/radxa/k318/linux-next/
Comment by unissoft-bj
Sunday Mar 08, 2015 at 16:56 GMT
multicast 不正常 nl80211: Could not add multicast membership for vendor events: -2 (No such file or directory)
Comment by unissoft-bj
Sunday Mar 08, 2015 at 17:04 GMT
iw --debug phy phy0 interface add wlan2 type monitor
Comment by unissoft-bj
Sunday Mar 08, 2015 at 17:08 GMT
tshark -l -i wlan2 -f "subtype assoc-resp or subtype reassoc-resp or subtype probe-req or subtype disassoc" -T fields -E separator=, -E quote=d -e frame.time -e frame.protocols -e radiotap.dbm_antsignal -e ppi.80211-common.dbm.antsignal -e wlan.fc.type_subtype -e wlan.da -e wlan.sa -e wlan.bssid -e wlan_mgt.ssid
Comment by unissoft-bj
Sunday Mar 08, 2015 at 17:52 GMT
1,启动hostapd
2,抓包
3,用手机连hostapd的ssid,在等待ip地址过程中,退出hostapd
4,此时抓到一个包
Comment by unissoft-bj
Monday Mar 09, 2015 at 00:25 GMT
lwfinger 4.1.8_9499 的8188eu驱动,可以支持标准版的hostapd。 可以创建mon.wlan0 也可以用iw命令创建monitor mode的virtual interface 但是抓不到包 原因可能是firmware不支持
从multicase失败这个情况上看,virtual interface可能抓不到probe request包。其软ap能力是通过其他方式如beacon实现的
Comment by unissoft-bj
Saturday Mar 21, 2015 at 05:36 GMT
蓝色的是rock软路由,绿色的家用路由器
https://github.com/lwfinger/rtl8188eu/issues/94
Use the 4.1.8_9499 branch. It works in encrypted mode, at least when I create an AP using NetworkManager. For this version, you should use the standard hostapd with the nl80211 driver interface for hostapd.