Power & Source of Big Ideas

USB Wifi WN823N data rate is only 50Kbytes/sec

Moderators: chensy, FATechsupport

I am using a TPlink WN823N with my NanoPi NEO.
When I use it with a RPi2 it can do a file transfer across my lan at 3Mbytes/sec
But on the NanoPi NEO it only does 50kBytes/sec

I have tried a Edimax EW7811Un on my NanoPi and it will transfer at about 2Mbytes/sec.

I have updated the firmwares on the NanoPi NEO but has made no difference
How do I know it is using the correct driver
The WN823N uses RTL8192eu chip set. This can be found in my
/lib/modules/4.14.0/kernel/drivers/net/wireless/realtek
But there are two options in this directory such as
rtlwifi/rtl8192cu/rtl8192cu.ko and rtl8xxxu/rtl8xxxu.ko
Does it matter which is being used?
How do I know which is being used?
How can I change between the two drivers?

There is also the
/lib/firmware
directory which also has a bunch of .bin files which relate to rtl8192 chips

Which is of these are being used?

Will changing the driver fix the speed issue?

Can anyone help me to diagnose this issue?

Trevor
I have checked what driver is being loaded on the Rpi. by using lsmod while the wifi dongle is plugged in.
The drive name is 8192eu.
So the driver module has been created for the Rpi, how would I install this driver module on the NanoPi?
Do I need to get the source and compile it?

Any help is appreciated. I have spent quite a few days on this issue.
I have found the source for the driver but when I go to make it I get this error
make[1]: Entering directory '/lib/modules/4.14.0/build'
make[1]: *** No rule to make target 'modules'. Stop.
This build directory is a link that is empty.
Where do I find what should be in the build directory?
I have done these comands to install some kernel building stuff but the build directory is still empty
sudo apt-get install fakeroot build-essential crash kexec-tools makedumpfile kernel-wedge
sudo apt-get build-dep linux
sudo apt-get install git-core libncurses5 libncurses5-dev libelf-dev asciidoc binutils-dev
I just ran
apt-get install linux-source
It looked like it was doing good stuff but I still can not find any source code.
Where should it get installed to?
I now have tried
git clone https://github.com/friendlyarm/h3_lichee.git lichee
To copy the source for Nanopi but I can not find what directory I should make my build link point to.
Anyway Im not sure if this is the same source as my build anyway.
I do not seam to be getting any closer to solving this.
I can not see how I can make an order for the next 50 NanoPi units if I can not solve this issue.
Trevor Tighe wrote:
I now have tried
git clone https://github.com/friendlyarm/h3_lichee.git lichee
To copy the source for Nanopi but I can not find what directory I should make my build link point to.
Anyway Im not sure if this is the same source as my build anyway.
I do not seam to be getting any closer to solving this.
I can not see how I can make an order for the next 50 NanoPi units if I can not solve this issue.


1. Download https://www.armbian.com/nanopi-neo/, switch to nightly, update
2. https://docs.armbian.com/User-Guide_Adv ... ess-driver (with NEXT version might already work out of the box) (in case of low speeds - possible hint)
3. https://www.armbian.com/donate/ for saving you weeks of your time
Thank you for this reply.
I will get a chance to look at these on the weekend.

Trevor

Who is online

In total there are 2 users online :: 0 registered, 0 hidden and 2 guests (based on users active over the past 5 minutes)
Most users ever online was 102 on Mon Oct 08, 2018 12:42 pm

Users browsing this forum: No registered users and 2 guests