#________________________________________________

How to install Archer_t3u from tplink
must install wifi and wireless drivers


in green : to type as command
in blue: to add in files with text editor
reference page
https://www.fastoe.com/blog/install-rtl8812bu-usb-wifi-dongle-on-linux
#________________________________________________

install wireless driver

git clone https://github.com/fastoe/RTL8812BU.git
cd RTL8812BU

take a look at the readme as it is not necessary the right package to install
rename folder RTL8812BU RTL8812BU_old

git clone -b v5.13.1 https://github.com/fastoe/RTL8812BU.git

type

make
make install

_______________________________________________________________________
install wifi driver
install rtl8188eu for wifi
_______________________________________________________________________

git clone https://github.com/lwfinger/rtl8188eu
cd rtl8188eu
make all all
make install

________________message ____________________________________
Skipping BTF generation for /usr/src/rtl8188eu/8188eu.ko due to unavailability of vmlinux
make[1]: Leaving directory '/usr/src/linux-headers-6.1.0-10-amd64'
__________________________________________________________
Must install wifi by modifying the kernel
go to root

cd /

type

ls -li

find symbolic link vmlinuz -> boot/vmlinuz-6.1.0-10-amd64

cd /boot
cp vmlinuz-6.1.0-10-amd64 boot/vmlinuz-6.1.0-10-amd64.old
cd /tmp
mkdir kernel_extract
cp /boot/vmlinuz-6.1.0-10-amd64 /tmp/kernel_extract/.
wget -O extract-vmlinux https://raw.githubusercontent.com/torvalds/linux/master/scripts/extract-vmlinux

==> create extract-vmlinux

file vmlinuz-6.1.0-10-amd64
sh extract-vmlinux vmlinuz-6.1.0-10-amd64 > vmlinuz
objdump -D vmlinuz > vmlinux

# create huge file vmlinux

cp vmlinux /.
cd /usr/src/rtl8188eu/
make install

#--------------------------

nmcli

==> show if it is disconnected
take a look at the bar at bottom of screen a wifi icon might be there and enter passwords
------------------------------------------------------------------
links
------------------------------------------------------------------
https://www.linuxfordevices.com/tutorials/ubuntu/install-tp-link-wifi-adapter-driver-in-linux
install wifi
https://www.linuxfordevices.com/tutorials/ubuntu/install-tp-link-wifi-adapter-driver-in-linux
=================================================
install les headers qui manque pour compiler le driver
https://www.tecmint.com/install-kernel-headers-in-ubuntu-and-debian/
_______________________________________________________________________
faire le kernel a partir de /vmlinuz
il faut unzip
https://wiki.debian.org/BuildADebianKernelPackage
ca a marche avec
https://trendoceans.com/how-to-extract-and-disassemble-vmlinuz-file/
-----------------------------------------------------------------
have a look at https://blog.packagecloud.io/how-to-extract-and-disassmble-a-linux-kernel-image-vmlinuz/