Make your old Realtek RTL8192CE WiFi adapter work as a proper Access Point on modern Linux (Fedora 44 / KDE Plasma 6)
The RTL8192CE is a PCIe WiFi adapter from ~2012 that technically supports AP mode, but it's completely broken out of the box on modern Linux due to 5 separate bugs that stack on top of each other:
| # | Bug | What happens | Root cause |
|---|---|---|---|
| 1 | WPA3/SAE injected | Phone can't see the network | NetworkManager 1.56+ auto-upgrades security to WPA3, which the chip can't handle in AP mode |
| 2 | MAC randomization | Radio dies silently | NM randomizes the MAC address for privacy; the RTL8192CE firmware crashes when the MAC changes |
| 3 | Power saving | Network disappears after seconds | The chip enters sleep mode (IPS/FWLPS/ASPM) immediately when no client is connected, stopping beacon transmission |
| 4 | Hardware crypto broken | "Wrong password" on phone | The chip's hardware WPA2 encryption engine corrupts packets in AP mode, causing authentication failures |
| 5 | Firmware can't recover | Hotspot works once, then never again | Once the AP is stopped, the firmware enters an unrecoverable state ā only a full reboot restores it |
On KDE Plasma specifically, the built-in hotspot button makes things worse: it creates a new ephemeral connection every time with all of the above bugs enabled, overwriting any manual fixes.
This repository provides a one-command installer that applies all 5 fixes and includes a Qt6 GUI manager with QR code support.
-
Kernel driver parameters ā Disables power saving and forces software encryption:
options rtl8192ce ips=0 fwlps=0 aspm=0 swenc=1 -
NetworkManager configuration ā Disables MAC randomization globally and creates a persistent hotspot connection with:
- WPA2-PSK only (no WPA3/SAE)
- CCMP (AES) cipher forced
- PMF (Protected Management Frames) disabled
- MAC address preserved (no cloning)
- Auto-start on boot
-
Smart toggle script ā Since the firmware dies permanently after stopping the AP, the toggle script never actually stops it. Instead, it hides/shows the SSID, keeping the hardware alive internally.
-
KDE protection ā A NetworkManager dispatcher script intercepts KDE's broken hotspot attempts and redirects them to the correctly configured connection.
-
Qt6 GUI Manager ā A native KDE application for managing the hotspot.
git clone https://github.com/z4dri05/rtl8192ce-hotspot-fix.git
cd rtl8192ce-hotspot-fix
bash install.shOr with custom SSID and password:
bash install.sh "MyNetwork" "MyPassword123"
Then reboot to apply the kernel driver changes.
- Linux with NetworkManager (tested on Fedora 44, should work on any NM-based distro)
- Realtek RTL8192CE WiFi adapter
- Python 3 + PyQt6 + python3-qrcode (for the GUI ā installed automatically on Fedora)
- Ethernet connection for internet sharing
sudo dnf install python3-pyqt6 python3-qrcode qrencode
sudo apt install python3-pyqt6 python3-qrcode
The included Qt6 application integrates with KDE Plasma and provides:
- š Live status ā Green/yellow/red indicator showing hotspot state
- š± QR Code ā Scan from your phone to connect instantly (no typing passwords)
- š„ Client counter ā See how many devices are connected in real time
- āļø Settings panel ā Change SSID, password, and WiFi channel
- ā» Smart toggle ā Turn the hotspot on/off without killing the hardware
Search for "Hotspot Manager" in the KDE application menu, or run:
python3 scripts/hotspot-manager.py
| Setting | When it applies |
|---|---|
| Password | Saved immediately, takes effect on next client connection |
| SSID | Saved immediately, takes effect after reboot |
| Channel | Saved immediately, takes effect after reboot |
Why reboot? The RTL8192CE firmware cannot reconfigure the AP parameters while running. Any attempt to restart the AP will permanently kill beacon transmission until the next power cycle.
rtl8192ce-hotspot-fix/
āāā install.sh # One-command installer
āāā README.md # This file
āāā configs/
ā āāā rtl8192ce.conf # Kernel driver parameters
ā āāā 99-mac-randomization.conf # NetworkManager MAC fix
ā āāā 99-hotspot-guard.sh # KDE hotspot interceptor
āāā scripts/
ā āāā hotspot-toggle.sh # Smart on/off toggle (bash)
ā āāā hotspot-manager.py # Qt6 GUI application
āāā desktop/
āāā hotspot-toggle.desktop # KDE menu entry (toggle)
āāā hotspot-manager.desktop # KDE menu entry (GUI)
The RTL8192CE has a fatal firmware bug: once you take the adapter out of AP mode, it can never transmit beacons again until the machine is rebooted. This means a traditional on/off cycle (nmcli connection down/up) will work exactly once.
To work around this, the toggle script uses a "fake off" strategy:
"ON" ā SSID = "fedora" (visible, phones can see it)
"OFF" ā SSID = ".__off__" (hidden, phones ignore it)
The AP never actually stops. The hardware stays in AP mode permanently, keeping the firmware happy. When you "turn off" the hotspot, all connected clients are disconnected and the SSID is changed to a hidden dummy name. When you "turn on" again, the real SSID is restored.
- OS: Fedora 44 (KDE Plasma Desktop Edition)
- Kernel: 7.0.8-200.fc44.x86_64
- KDE Plasma: 6.6.5
- NetworkManager: 1.56.0
- wpa_supplicant: 2.11
- Adapter: Realtek RTL8192CE (PCIe,
lspci: 21:00.0) - Driver: rtl8192ce (in-tree rtlwifi)
- Reboot the PC ā This is the #1 fix. The RTL8192CE firmware gets stuck easily.
- Check that the connection exists:
nmcli connection show Hotspot - Check the driver is loaded with correct params:
cat /sys/module/rtl8192ce/parameters/swenc(should sayY)
- Make sure
swenc=1is set in/etc/modprobe.d/rtl8192ce.conf - Reboot after changing driver parameters
- Try "Forget network" on your phone and reconnect
- This is the firmware bug (Bug #5). You must reboot.
- If you're using the toggle script or the GUI app, this shouldn't happen because they never actually stop the AP.
- The dispatcher script (
99-hotspot-guard.sh) should intercept this automatically - Use the Hotspot Manager app or the toggle script instead of KDE's button
MIT ā Do whatever you want with it. If this saved you hours of debugging, consider starring the repo ā
Diagnosed and fixed through extensive reverse-engineering of the RTL8192CE driver behavior on modern kernels. Special thanks to the rtlwifi kernel module maintainers for documenting the swenc, ips, fwlps, and aspm parameters.