Help please TP LINK WN821N and Raspberry pi

What is the problem?
I have raspberry pi b+ v1.2 2014 and it doesn't support wifi. I bought TP LINK wn821n(rtl8192eu) and can't set it up. I don't have ''wlan0'' connection

What did you already try to solve it?
I already tried to install the driver and most likely failed. I also read a lot of forums but did not give any result
octoprint-systeminfo-20230510181434.zip (10.2 KB)
octoprint.log (16.2 KB)

connect to raspberry via ssh

pi@octopi:~ $ ifconfig
enxb827ebe9b010: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 192.168.1.17 netmask 255.255.255.0 broadcast 192.168.1.255
inet6 fe80::8646:51d5:953:335d prefixlen 64 scopeid 0x20
ether b8:27:eb:e9:b0:10 txqueuelen 1000 (Ethernet)
RX packets 2782 bytes 626213 (611.5 KiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 2691 bytes 1678673 (1.6 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536
inet 127.0.0.1 netmask 255.0.0.0
inet6 ::1 prefixlen 128 scopeid 0x10
loop txqueuelen 1000 (Local Loopback)
RX packets 983 bytes 2902406 (2.7 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 983 bytes 2902406 (2.7 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0

pi@octopi:~ $ iwconfig
lo no wireless extensions.

enxb827ebe9b010 no wireless extensions.

pi@octopi:~ $ lsusb
Bus 001 Device 004: ID 2357:0107 TP-Link TL-WN821N v5/v6 [RTL8192EU]
Bus 001 Device 003: ID 0424:ec00 Microchip Technology, Inc. (formerly SMSC) SMSC9512/9514 Fast Ethernet Adapter
Bus 001 Device 002: ID 0424:9514 Microchip Technology, Inc. (formerly SMSC) SMC9514 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub

if you need more information please contact me

There is barely enough information here for us to begin to provide help. If you had filled out the template instead of deleting it, we might be more helpful.

You are asking about a wireless adapter (https://linux-hardware.org/?id=usb:2357-0107) connected to a very old Raspberry Pi running an unknown version of OctoPi.

Since the core of OctoPi is based on the Raspberry Pi OS (Lite), you will probably get better help from either TP-Link forums or Raspberry Pi forums. Do a google search for " TP-Link TL-WN821N v5/v6 [RTL8192EU]".

If you wish to continue here, please fill out the template as completely as you can. The text(s) in blue are links to additional information which can help you figure out what is being asked for.

Information updated
if you need more information please contact me

Excellent! You asked the same question in https://forums.raspberrypi.com/viewtopic.php?t=351230 and got the response, https://blog.junix.in/2017/07/11/tl-wn823n-driver-in-raspberry-pi-2-b/.

Follow the steps in that blog. While the blog is quite old, the last comment was from April 19,2023 that it is still valid. OctoPi 1.0.0 is based on Raspberry Pi OS Lite which is based on the Debian Bullseye release.

After reading through all the comments, I was able to build the driver on an RPi 4B with OctoPi 1.0.0 installed using the driver sources from https://github.com/clnhub/rtl8192eu-linux following the instructions in the blog and on that github page. This github appeared to be more up to date and had the advantage of including a script.

I think the memory (512MB?) on your Raspberry Pi Model B Plus Rev 1.2 may require an increase in the swap file size. You can google how to do that if necessary.

Of course, I don't have the hardware so I can't verify that the driver I built actually works.

Thank you very much for your reply