DWA-131驱动程序使用beaglebone作为wi-fi hostspot失败

时间:2015-11-06 02:58:43

标签: beagleboneblack hostapd

我正在尝试使用beaglebone black rev-C和DWA-131 nano wi-if适配器创建一个wi-fi主机点。

我按照这篇文章来安装驱动程序: http://www.linux-hardware-guide.com/2013-11-16-d-link-dwa-131-n300-usb-wifi-adapter

此项目确实设置了hostapd:https://github.com/jekader/hostapd-rtl

但是当我尝试开始时,我收到以下错误:

Configuration file: /etc/hostapd/hostapd.conf
drv->ifindex=4
l2_packet_init: ioctl[SIOCGIFINDEX]: No such device
no br0 interface , let l2_sock_recv==l2_sock_xmit=0x0x51648
ioctl[SIOCSIWMODE]: Operation not supported
Could not set interface to mode(3)!
Could not set interface to master mode!
rtl871xdrv driver initialization failed.
rmdir[ctrl_interface]: No such file or directory

我的hostapd.conf是:

interface=usb0
driver=rtl871xdrv
bridge=br0
ssid=NETWORK-NAME
channel=1
wmm_enabled=0
wpa=1
wpa_passphrase=NETWORK-PASSWORD
wpa_key_mgmt=WPA-PSK
wpa_pairwise=TKIP
rsn_pairwise=CCMP
auth_algs=1
macaddr_acl=0

Hostapt版本?司机的名字或配置?

ps:我不舒服,因为我的Wi-Fi网络接口是usb0而不是wlan0。是司机问题吗?

1 个答案:

答案 0 :(得分:0)

我有相同的编译问题。以下工作非常顺利,您可以直接从git获取源代码。

sudo apt-get install git build-essential
git clone https://github.com/Mange/rtl8192eu-linux-driver.git
cd rtl8192eu-linux-driver
make
sudo make install