Hi,
I recently switched to Dietpi for my audio endpoints and am very happy with it.
Only one of my PI's has a TP-WN822n usb wifi adapter. It is a V3 type with a RTL8192CU chipset.
The problem is that it won't connect with speeds over 72.2Mbit and with the stock Raspbian it connected with the full 300Mbit of which it is capable.
Must be a driver problem. Can anybody help me out?
Thx in advance,
Jelle
RTL8192CU speed issue Topic is solved
Re: RTL8192CU speed issue
Hi castle,Castle wrote:Hi,
I recently switched to Dietpi for my audio endpoints and am very happy with it.
Only one of my PI's has a TP-WN822n usb wifi adapter. It is a V3 type with a RTL8192CU chipset.
The problem is that it won't connect with speeds over 72.2Mbit and with the stock Raspbian it connected with the full 300Mbit of which it is capable.
Must be a driver problem. Can anybody help me out?
Thx in advance,
Jelle
Make sure you have set the Wifi country code for your country, enables channels and power ratings legal for your country: dietpi-config > Networking: Adapters > WiFi.
If problems persist, please let us know. I've got a RTL8192CU Edimax Nano laying around somewhere that we can use to run some tests.note to self:
Maximum PHY data rate up to 144.4Mbps using 20MHz bandwidth, 300Mbps using 40MHz bandwidth
http://www.realtek.com.tw/products/prod ... ProdID=277
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: RTL8192CU speed issue
Thx for the reply Fourdee.
I have got the country code set to NL as I did with Raspbian.
So the problem still persists
Also after the most recent update of DietPi.
Hope you can help me out!
Regards,
Jelle
I have got the country code set to NL as I did with Raspbian.
So the problem still persists

Also after the most recent update of DietPi.
Hope you can help me out!
Regards,
Jelle
Re: RTL8192CU speed issue
And to add to that, your note to self just sinked in. Looks like it is stuck on 10mhz bandwth as it is exactly half of the 20Mhz speed.
Re: RTL8192CU speed issue
Thanks.Castle wrote:And to add to that, your note to self just sinked in. Looks like it is stuck on 10mhz bandwth as it is exactly half of the 20Mhz speed.
Git Ticket, will take a look in the next day or two, you can track progress here: https://github.com/Fourdee/DietPi/issues/564
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: RTL8192CU speed issue
Hi Castle,
I got expected results with my Edimax Nano:https://github.com/Fourdee/DietPi/issue ... -255529922, however, this is not 300mbit capable.
Can you please verify your router is running with a 40mhz channel width? Sometimes, if this is set to Auto, it can automatically flick between 20mhz and 40mhz without any indication, in which case, wifi speeds would be reduced.
I got expected results with my Edimax Nano:https://github.com/Fourdee/DietPi/issue ... -255529922, however, this is not 300mbit capable.
Can you please verify your router is running with a 40mhz channel width? Sometimes, if this is set to Auto, it can automatically flick between 20mhz and 40mhz without any indication, in which case, wifi speeds would be reduced.
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: RTL8192CU speed issue
Yes my router is running at 40mhz bandwidth.
When I plug it into my laptop it has a 300Mbit connection.
Back to the RPI3 it is stuck at the 72.2Mbit.
As I said earlier, with Raspbian light it runs at least at 150Mbit.
Regards,
Jelle
When I plug it into my laptop it has a 300Mbit connection.
Back to the RPI3 it is stuck at the 72.2Mbit.
As I said earlier, with Raspbian light it runs at least at 150Mbit.
Regards,
Jelle
Re: RTL8192CU speed issue
To add to this.
The activity led on de wifi device doesn't come on or flicker on activity as with Jessie light.
The activity led on de wifi device doesn't come on or flicker on activity as with Jessie light.
Re: RTL8192CU speed issue
Bizzare, lets check the status of the device might give us some more info, can you paste results of:Castle wrote:To add to this.
The activity led on de wifi device doesn't come on or flicker on activity as with Jessie light.
Code: Select all
iwconfig wlan0
If you find our project or support useful, then we’d really appreciate it if you’d consider contributing to the project however you can.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Donating is the easiest – you can use PayPal or become a DietPi patron.
Re: RTL8192CU speed issue
To make it more interesting, I did a complete reinstall.
I added my wireless settings in dietpi.txt before first boot.
Started up the Pi and... it connected with 300Mbt.......
It ran thru the first installation scripts and after the first reboot...... back to 72.2Mbit......
Here's the dump as per your request:
root@RPI-Keuken:~# iwconfig wlan0
wlan0 IEEE 802.11bgn ESSID:"Castlepoint"
Mode:Managed Frequency:2.427 GHz Access Point: E4:F4:C6:1C:4F:20
Bit Rate=65 Mb/s Tx-Power=31 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=58/70 Signal level=-52 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:1 Invalid misc:0 Missed beacon:0
I added my wireless settings in dietpi.txt before first boot.
Started up the Pi and... it connected with 300Mbt.......
It ran thru the first installation scripts and after the first reboot...... back to 72.2Mbit......
Here's the dump as per your request:
root@RPI-Keuken:~# iwconfig wlan0
wlan0 IEEE 802.11bgn ESSID:"Castlepoint"
Mode:Managed Frequency:2.427 GHz Access Point: E4:F4:C6:1C:4F:20
Bit Rate=65 Mb/s Tx-Power=31 dBm
Retry short limit:7 RTS thr:off Fragment thr:off
Encryption key:off
Power Management:off
Link Quality=58/70 Signal level=-52 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:1 Invalid misc:0 Missed beacon:0