mousavy_mh Posted October 24, 2017 Posted October 24, 2017 Hello guys I know that this image is still under development and probably there are lots of more important things to do. but this problem bothering me for weeks. I am trying to create a hotspot using rtl8188cus the one in the armbian-config didn't work I have used different methods searching the net now I am using this driver:https://github.com/pvaret/rtl8192cu-fixes and the hostapd-realtek which is in apt.armbian.com (the one armbian-config installs) and now I am getting the following error: wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE ioctl[RTL_IOCTL_HOSTAPD]: Operation not supported wlan1: Could not connect to kernel driver +rtl871x_sta_deauth_ops, ff:ff:ff:ff:ff:ff is deauth, reason=2 rtl871x_set_key_ops ioctl[RTL_IOCTL_HOSTAPD]: Operation not supported I would be gratefull if you could tell me what's the problem and how can I resolve it
znoxx Posted October 25, 2017 Posted October 25, 2017 16 hours ago, mousavy_mh said: wlan1: interface state UNINITIALIZED->COUNTRY_UPDATE ioctl[RTL_IOCTL_HOSTAPD]: Operation not supported wlan1: Could not connect to kernel driver +rtl871x_sta_deauth_ops, ff:ff:ff:ff:ff:ff is deauth, reason=2 rtl871x_set_key_ops ioctl[RTL_IOCTL_HOSTAPD]: Operation not supported I would be gratefull if you could tell me what's the problem and how can I resolve it I had same issue on almost same hardware. And I have already seen it on previous H5 build. Gave up and used Ralink2800 as a hostapd device. But really appreciate if there will be a tip/solution since rtlXXXC devices support concurrent mode - I can use one adapter for both AP and client. 1
zador.blood.stained Posted October 25, 2017 Posted October 25, 2017 This is not related to OPi PC2 and H5 in any way. And I wold try to get working a combination the existing in-kernel driver and non-Realkek hostapd first. 1
mousavy_mh Posted October 25, 2017 Author Posted October 25, 2017 42 minutes ago, znoxx said: I had same issue on almost same hardware. And I have already seen it on previous H5 build. Gave up and used Ralink2800 as a hostapd device. But really appreciate if there will be a tip/solution since rtlXXXC devices support concurrent mode - I can use one adapter for both AP and client. I have already bought two rtl! in rpi it wasn't a problem and I thought it would be the same in opi-pc2! 37 minutes ago, zador.blood.stained said: This is not related to OPi PC2 and H5 in any way. And I wold try to get working a combination the existing in-kernel driver and non-Realkek hostapd first. Thank you, I understand that probably it's not related to the hardware, but would you please explain a bit more that what is the problem?
Igor Posted October 25, 2017 Posted October 25, 2017 I cut out this part of messages from PC2 topic since they are pretty much off topic. 1 hour ago, mousavy_mh said: I understand that probably it's not related to the hardware, but would you please explain a bit more that what is the problem? 1 And this part is also hard to explain. Some drivers are done badly and simply does not support AP mode. It's common. I am not sure if this is the case with your adapter, but at least its possible. There are many tips around the net, try different drivers or better use adaptors that work. Under specific kernel. If some adaptor works with Raspberry Pi or on PC, there is absolutely no warranty that will work here. Zero. And do try hostapd with non-realtek hostapd as well. Check this: 1
Menion Posted October 29, 2017 Posted October 29, 2017 Unfortunately the wireless driver area in Vanilla Linux is getting worse and worse. Part of the problem are the vendors, but honestly I cannot give them all the faults, since the 802.11x framework in Linux Kernel is one of the most unstable part of the kernel itself, and I cannot blame the silicon vendor if they don't want to maintain the official driver at avery change.... Having said so, before buying ANY USB-WiFi dongle, if the goal is to use it in AP mode, you should check this page: https://wireless.wiki.kernel.org/en/users/drivers As you can see none of the rtl usb chipset support AP. Where you read "?", you can just consider it as "not supported" BTW you should go for ath9k_hc chipset or RaLink rt2800usb, the latter is what I currently use in AP, and it works wuite ok
Tido Posted October 29, 2017 Posted October 29, 2017 You are not alone with the RealTek chipset, the R1 comes with: rtl8192c if you expand the posting you see my error message. The rtl8192c was running in the past, but I think the combination of driver & hostapd is the crux. https://forum.armbian.com/topic/3476-bpi-r1-with-new-b53-switch-driver-dsa/?do=findComment&comment=37009 Hmm, for the rtl8192cu it comes with a few YES - maybe I should give it a try again just as Zador & Igor suggested. Debian suggests for your Chipset: https://wiki.debian.org/rtl819x Supports USB devices based on the RTL8188CUS and RTL8192CU chips. On this document you maybe find an interesting Link .. I think the combination of driver & hostapd is the crux.
Recommended Posts