rtl8812AU
rtl8812AU copied to clipboard
The install instructions aren't clear at all
When trying to install via dkms,
I try the 4th step:
git archive driver-${DRV_VERSION} | tar -x -C /usr/src/${DRV_NAME}-${DRV_VERSION}
but I get this output:
fatal: Not a git repository (or any of the parent directories): .git tar: This does not look like a tar archive tar: Exiting with failure status due to previous errors
Could you possibly write a script that automates the dkms install? I got past step 4 as I've realized I'm not using an archive but a clone (which completely threw me off) I know most people don't use archive from github and instead clones the repos. However, right now, I'm stuck on step 5.
dont forget "sudo" in front of git und tar
try
sudo git archive driver-${DRV_VERSION} | sudo tar -x -C /usr/src/${DRV_NAME}-${DRV_VERSION}
you only need sudo
on the tar ...
part, but that's indeed a crucial thing
You do need to perform the git archive
step in the (root) directory of the driver code.
Thus if you do git clone https://github.com/diederikdehaas/rtl8812AU
, you then need to do cd rtl8812AU
and then you do the git archive
step
root@raspberrypi:/home/pi/rtl8812AU# ls clean core dkms.conf hal ifcfg-wlan0 include Kconfig LICENSE Makefile os_dep platform README.md runwpa wlan0dhcp root@raspberrypi:/home/pi/rtl8812AU# echo $DRV_VERSION 4.3.14 root@raspberrypi:/home/pi/rtl8812AU# git archive driver-${DRV_VERSION} fatal: Not a valid object name
From the README:
Whereby it is assumed you're in the cloned project directory
so you need to be in the rtl8812AU
directory.