I'm trying to figure out how to set up my RTL8188CUS Wifi dongle to run in both AP and Client mode at the same time.
How can I do this in Linux?
I have hostapd running fine and I remember reading about AP+Client mode somewhere a while ago for the RTL8188, but I can't remember where.
Additional info
I'm on Debian 4.7.2-5 for ARM. Linux kernel 3.4.90+.
I found the following threads that might be of use and (I think) relevant:
Link 1: How do I use a single wireless adapter for both an access point and client on raspberry pi? Link 2: Creating WiFi Access point on a single interface in Linux
I tried the first first link, no success.
UPDATE
I have managed to get iw list to work on Debain 8 Jessie x64.
It outputs the following:
software interface modes (can always be added):
* AP/VLAN
* monitor
interface combinations are not supported
However according to Realteks release notes of their latest drivers they state that the RTL8188CUS supports concurrent modes such as STA+AP as of version 4.0.0_5967.20121201
Doesn't this contradict what iw list states?
If not, how would an STA+AP mode be achieved?
UPDATE I figured it out. Please see my answer for more info.
Answer
I managed to solve my problem after a couple of weeks of research.
Simple answer is;
The command iw does not find any indications of mixed modes on RTL chips. The reason being that the RTL drivers by default do not support mixed modes.
Realtek call this Concurrent modes, and the RTL drivers are by default compiled with the concurrent mode-related code commented out.
In order to compile the drivers with concurrent mode activated you need to simply uncomment 3 lines of code in their source code.
Concurrent modes supported are STA+STA, STA+AP, STA+P2P.
You can find my full back-story and full guide on how to compile the drivers and the RTL compatible HOSTAPD version on this link:
http://randomstuffidosometimes.blogspot.se/2016/03/rtl8192cu-and-rtl8188cus-in-station-and.html
No comments:
Post a Comment