On 08/17/2017 06:18 AM, Fredrik Gustafsson wrote:
I've a dwlink dwi-131 usb wifi adapter that I'm trying to use with buildroot
(for a sama5d2xplained board) for hostadp.
I use a driver from github:
https://github.com/Mange/rtl8192eu-linux-driver
The driver works and I can successfully connect to my AP. But setting up
hostapd on the device itself fails. I suppose this is because the physical
network device is not found by iw. However it is found by ip, iwconfig and
ipconfig.
How can I debug this?
The first thing to check if that out-of-kernel driver supports CFG80211. With
most of these, there is a configuration parameter that is used to enable the
feature.
Those Realtek USB drivers are a real mess. Debugging them is never an easy job.
In addition, I'm not sure if any kernel developers will be interested in
helping. I certainly am not.
The long-term future for RTL8192EU is to use rtl8xxxu. As far as I know, it
works, and that driver will work just fine with hostapd. If not, that is the
place to devote some effort. The USB Id for your device may not be in the driver
yet. That would be the first thing to check.
Larry