pvaret/rtl8192cu-fixes

Connects only once

Closed this issue · 1 comments

Desktop Acer
Debian 10.9 Buster
Kernel 4.19.0-17-686-pae
TL-WN823N
Works in perfect condition, led flashing and good speed.
But if trying to connect to another AP, an indication like "Configuring interface" appears, and never connects again until a restart done.
Action to overcome this problem and avoid a restart: 'sudo modprobe -r 8192cu' and then 'sudo modprobe 8192cu'

Later, I tried this script that provides better results not always but most of the times:
#! /bin/bash
sudo systemctl stop NetworkManager
sudo ip link set wlan0 down
sudo modprobe -r 8192cu
sudo modprobe 8192cu
sudo ip link set wlan0 up
sudo systemctl start NetworkManager