linux-wifi-hotspot icon indicating copy to clipboard operation
linux-wifi-hotspot copied to clipboard

Doesn't work with rtl8822be.

Open oneironaut2209 opened this issue 2 years ago • 5 comments

Describe the bug Doesn't work with rtl8822be chipset but hotspot works on windows. Console output : ERROR: Your adapter can not be a station (i.e. be connected) and an AP at the same time

To Reproduce Steps to reproduce the behavior:

sudo systemctl start create_ap sudo create_ap wlan0 wlan0 laptop

Expected behavior

Hotspot should start

Desktop (please complete the following information):

  • OS: Arch Linux
  • Kernel: 5.13.5-arch1-1
  • Wifi driver : rtw88_8822be

Additional context https://github.com/torvalds/linux/commit/e3037485c68ec1a299ff41160d8fedbd4abc29b9

oneironaut2209 avatar Jul 31 '21 09:07 oneironaut2209

Got a new laptop laptop with Realtek RTL8822CE. Same issue with it as stated above.

oneironaut2209 avatar Feb 18 '22 15:02 oneironaut2209

what is the output after sudo create_ap wlan0 wlan0 laptop??

I meet such things before at [Ask for RTL8822CE AP and Station mixed mode](https://forum.manjaro.org/t/ask-for-rtl8822ce-ap-and-station-mixed-mode/100216/4)

I test RTL8822ce could work at mixed mode(ST+AP). Here is video

BackMountainDevil avatar May 05 '22 13:05 BackMountainDevil

what is the output after sudo create_ap wlan0 wlan0 laptop??

sudo create_ap wlo1 wlo1 laptop --> ERROR: Your adapter can not be a station (i.e. be connected) and an AP at the same time And yes the hotspot works on windows for me but not on linux.

oneironaut2209 avatar May 21 '22 04:05 oneironaut2209

I'm having this issue as well with Realtek RTL8822CE

jdactal avatar May 07 '23 20:05 jdactal

now it can work a little. I use it create an ap when I am connecting a wifi. But the ap can not connect to the Internet

  • kernel: 6.4.8-arch1-1
  • driver: rtw_8822ce
  • linux-wifi-hotspot: 4.5.0.r1.g4d64e83-2
$ sudo create_ap wlan0 lo MyAccessPoint
Config dir: /tmp/create_ap.wlan0.conf.HQmR52Bj
PID: 4155
Network Manager found, set ap0 as unmanaged device... DONE
wlan0 is already associated with channel 157 (5785 GHz)
multiple channels not supported,

fallback to channel 157
Creating a virtual WiFi interface... ap0 created.
Sharing Internet using method: nat
hostapd command-line interface: hostapd_cli -p /tmp/create_ap.wlan0.conf.HQmR52Bj/hostapd_ctrl
ap0: interface state UNINITIALIZED->ENABLED
ap0: AP-ENABLED 
Low entropy detected, starting haveged
haveged: command socket is listening at fd 4
ap0: STA 2e:d2:c2:5x:12:01 IEEE 802.11: authenticated
ap0: STA 2e:d2:c2:5x:12:01 IEEE 802.11: associated (aid 1)
ap0: AP-STA-CONNECTED 2e:d2:c2:5x:12:01
ap0: STA 2e:d2:c2:5x:12:01 RADIUS: starting accounting session 23D638927494DC7E

vs other way, more detail: https://backmountaindevil.github.io/#/os/linux/wifiAp

BackMountainDevil avatar Aug 11 '23 12:08 BackMountainDevil