大神们好:
#
# ./hostapd /mnt/hostapd.conf
Configuration file: /mnt/hostapd.conf
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Bad address
Could not enable hostapd mode for interface wlan0
hostap driver initialization failed.
wlan0: interface state UNINITIALIZED->DISABLED
wlan0: AP-DISABLED
hostapd_free_hapd_data: Interface wlan0 wasn't started以上是我交叉编译hostapd后,使用hostapd工具切换wifi芯片到ap模式遇到的问题,wifi芯片型号为rtl8188ftv,还请大神们帮忙,谢谢了。
编译hostapd的时候,CONFIG_DRIVER_NL80211=y 这一个我没有打开,使用的是CONFIG_DRIVER_HOSTAP=y;我的hostapd.conf配置如下:interface=wlan0
#driver=8188fu
ssid=hostapdTest
channel=1
hw_mode=g
auth_algs=1
ignore_broadcast_ssid=0
ctrl_interface_group=0
wpa=3
wpa_passphrase=12345678
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
#ieee80211n=1
#
# ./hostapd /mnt/hostapd.conf
Configuration file: /mnt/hostapd.conf
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: Bad address
Could not enable hostapd mode for interface wlan0
hostap driver initialization failed.
wlan0: interface state UNINITIALIZED->DISABLED
wlan0: AP-DISABLED
hostapd_free_hapd_data: Interface wlan0 wasn't started以上是我交叉编译hostapd后,使用hostapd工具切换wifi芯片到ap模式遇到的问题,wifi芯片型号为rtl8188ftv,还请大神们帮忙,谢谢了。
编译hostapd的时候,CONFIG_DRIVER_NL80211=y 这一个我没有打开,使用的是CONFIG_DRIVER_HOSTAP=y;我的hostapd.conf配置如下:interface=wlan0
#driver=8188fu
ssid=hostapdTest
channel=1
hw_mode=g
auth_algs=1
ignore_broadcast_ssid=0
ctrl_interface_group=0
wpa=3
wpa_passphrase=12345678
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
#ieee80211n=1
解决方案 »
- centos中USB转串口找不到usbserial.ko怎么办?
- Android kernel 编译选项问题,如何在编译内核时正确加入自己定义的一些编译选项?
- centos7u3中tomcat的介绍及安装(ppt)
- 求助,在做LFS,GCC第二次编译找不到system.h文件
- Linux内核文件读写,判断root用户,怎么获取uid?
- 求助大佬,不清楚当前服务器的操作系统,
- rm的使用
- 我的红帽系统,No DHCPOFFFERS received
- centos7关于用户的管理和权限的分配
- Ubuntu双系统求助解决给钱!!!
- sbt安装到最后出现问题求问如何解决
- ubuntu16.04无法检测到外接显示器
hostap driver initialization failed.
wlan0: interface state UNINITIALIZED->DISABLED 这个问题我遇到过,我来回答一下吧,这个主要是没关闭wlan0 ,要先关闭,设置一下和udhcpd.conf一样 的IP ,就不会出现这个错误了。
2, download wpa_supplicant-v2.7 and hostapd-v2.7 from http://w1.fi/
3, in hostapd, you must enable the nl82011 driver support.4, the Realtek FTP server is :ftp://ftp3.realtek.comuser:RTL8188E
passwd: M6b3Er(8818EUS/ETV/8189ES)PS: the newest driver support is 5.7.6.1, you may test it if you like