完善资料让更多小伙伴认识你,还能领取20积分哦, 立即完善>
MY-8188EUS Linux-3.14.52 Host-AP 使用指导
目录 [隐藏]
运行环境 使用的开发板
Host-AP 功能准备 下载需要的文件在网盘 “MYZR-IMX6 > 5_MY-Demo” 中下载以下文件:
Host-AP 功能操作 加载 WIFI 模块的驱动# insmod ~/my-demo/MY_8188EUS_V4309_L31452_IMX6A9.koRTL871X: module init startRTL871X: rtl8188eu v4.3.0.9_15178.20150907bFWReady == _FALSE call reset 8051...RTL871X: rtw_ndev_init(wlan0)u***core: registered new interface driver rtl8188euRTL871X: module init ret=0为 WLAN0 配置 IP 地址# ifconfig wlan0 192.168.12.1==> rtl8188e_iol_efuse_patchIPv6: ADDRCONF(NETDEV_UP): wlan0: link is not readyRTL871X: nolinked power save enter为 WLAN0 启用 DHCP 服务# udhcpd -f /etc/udhcpd.conf &[1] 487udhcpd (v1.23.1) started为 WLAN0 启用 Host-AP 功能# hostapd /etc/hostapd.conf -BConfiguration file: /etc/hostapd.conf==> rtl8188e_iol_efuse_patchRTL871X: nolinked power save leaverfkill: Cannot open RFKILL control deviceUsing interface wlan0 with hwaddr e0:b9:4d:7f:e4:40 and ssid "MY_WLAN0_HOSTAP"random: Only 14/20 bytes of strong random data available from /dev/randomrandom: Not enough entropy pool available for secure operationsWPA: Not enough entropy in random pool for secure operations - update keys later when the first station connectsRTL871X: assoc successIPv6: ADDRCONF(NETDEV_CHANGE): wlan0: link becomes readywlan0: interface state UNINITIALIZED->ENABLEDRTL871X: set group key camid:1, addr:00:00:00:00:00:00, kid:1, type:AESwlan0: AP-ENABLED客户端设备连接到 Host-AP至此,开发板的 Host-AP 功能已启用,客户端设备可连接至此 AP。 需要说明的是,客户端设备(如手机)在首次连接 AP 成功前时可能会失败 0~2 次。
其它 设备连接成功时产生的信息RTL871X: send eapol packetRTL871X: recv eapol packetRTL871X: set pairwise key camid:4, addr:b4:0b:44:f5:64:2f, kid:0, type:AESSending OFFER of 192.168.12.20Sending OFFER of 192.168.12.20Sending ACK to 192.168.12.20设备连接失败时可能产生的信息RTL871X: set group key camid:1, addr:00:00:00:00:00:00, kid:1, type:AESRTL871X: send eapol packetRTL871X: recv eapol packetRTL871X: OnDeAuth(wlan0) reason=3, ta=b4:0b:44:f5:64:2f设备断开连接时产生的信息RTL871X: OnDeAuth(wlan0) reason=3, ta=b4:0b:44:f5:64:2fRTL871X: clear key for addr:b4:0b:44:f5:64:2f, camid:4其它可用的模块经测试,在此运行环境下 insmod 时使用下面命令,Host-AP 功能同样可以使用。# insmod ~/my-demo/MY_8188EUS_V5222_L31452_IMX6A9.ko --------------------------------------------------------------------------------* Looking forward to communicating with you for more functions and field applications.* 珠海明远智睿科技有限公司 * ZhuHai MYZR Technology CO.,LTD.* Latest Update: 2018/06/28 * Supporter: Tang Bin, Lin Yuannan |
|
相关推荐 |
|
3415 浏览 1 评论
摩尔斯微电子推出社区论坛与开源GitHub资源库,新资源的上线将加速全球工程师与开发者的Wi-Fi开发进程
1547 浏览 0 评论
9003 浏览 1 评论
9559 浏览 0 评论
32515 浏览 3 评论
小黑屋| 手机版| Archiver| 电子发烧友 ( 湘ICP备2023018690号 )
GMT+8, 2025-1-3 05:15 , Processed in 0.323289 second(s), Total 32, Slave 27 queries .
Powered by 电子发烧友网
© 2015 bbs.elecfans.com
关注我们的微信
下载发烧友APP
电子发烧友观察
版权所有 © 湖南华秋数字科技有限公司
电子发烧友 (电路图) 湘公网安备 43011202000918 号 电信与信息服务业务经营许可证:合字B2-20210191 工商网监 湘ICP备2023018690号