lwfinger / rtl8188eu

Repository for stand-alone RTL8188EU driver.
Other
1.67k stars 592 forks source link

invalid/unknown driver 'rtl871xdrv' #416

Open denyspozniak opened 2 years ago

denyspozniak commented 2 years ago

Hello! Please help me to understand the source of this issue.

I compiled on Raspberry from the master branch:

root@raspberrypi:/home/finger/rtl8188eu/hostapd-2.9/hostapd# ./hostapd -v
hostapd v2.9 for Realtek rtl871xdrv
User space daemon for IEEE 802.11 AP management,
IEEE 802.1X/WPA/WPA2/EAP/RADIUS Authenticator
Copyright (c) 2002-2019, Jouni Malinen <j@w1.fi> and contributors

But when I try to run issue happens:

root@raspberrypi:/home/finger/rtl8188eu/hostapd-2.9/hostapd# ./hostapd ./rtl.conf -ddd
random: Trying to read entropy from /dev/random
Configuration file: ./rtl.conf
Line 2: invalid/unknown driver 'rtl871xdrv'
1 errors found in configuration file './rtl.conf'
Failed to set up interface with ./rtl.conf
hostapd_init: free iface 0x1538868
Failed to initialize interface

Config file:


root@raspberrypi:/home/finger/rtl8188eu/hostapd-2.9/hostapd# cat rtl.conf
interface=wlan0
driver=rtl871xdrv
ssid=RPI_AP
hw_mode=g
channel=6
auth_algs=1
ignore_broadcast_ssid=0
root@raspberrypi:/home/finger/rtl8188eu/hostapd-2.9/hostapd# iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

wlan0     unassociated  ESSID:""  Nickname:"<WIFI@REALTEK>"
          Mode:Auto  Frequency=2.412 GHz  Access Point: Not-Associated
          Sensitivity:0/0
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/100  Signal level=0 dBm  Noise level=0 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

root@raspberrypi:/home/finger/rtl8188eu/hostapd-2.9/hostapd# uname -a
Linux raspberrypi 5.15.56+ #1575 Fri Jul 22 20:26:40 BST 2022 armv6l GNU/Linux
denyspozniak commented 2 years ago
root@raspberrypi:/home/finger/rtl8188eu/hostapd-2.9/hostapd# lsusb
Bus 001 Device 005: ID 2357:010c TP-Link TL-WN722N v2/v3 [Realtek RTL8188EUS]
Bus 001 Device 004: ID 148f:7601 Ralink Technology, Corp. MT7601U Wireless Adapter
Bus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Microchip Technology, Inc. (formerly SMSC) SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub