A few days ago, I upgraded the kernel to 4.5.2 (I run Ubuntu Mate 14.04 LTS) and my ASUS USB-N13 Wi-Fi dongle now isn't working properly.
I tried to add in:
sudo nano /etc/sysctl.conf
net.ipv4.tcp_syncookies = 1 net.ipv4.tcp_window_scaling = 0 net.ipv4.tcp_ecn = 0
And after in a terminal I entered:
sudo /etc/init.d/networking restart sudo iwconfig sudo iwconfig wlan0 rate 54M
But it remains on 1M with the error
Cannot set bit rate.
Error for wireless request "Set Bit Rate" (8B20) : SET failed on device wlan0