rtl8812AU icon indicating copy to clipboard operation
rtl8812AU copied to clipboard

The install instructions aren't clear at all

Open gaining opened this issue 7 years ago • 5 comments

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

gaining avatar May 31 '17 01:05 gaining

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.

gaining avatar May 31 '17 01:05 gaining

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}

sirgrej avatar Jun 06 '17 19:06 sirgrej

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

diederikdehaas avatar Mar 12 '18 04:03 diederikdehaas

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

Teiby avatar Jul 10 '18 22:07 Teiby

From the README: Whereby it is assumed you're in the cloned project directory so you need to be in the rtl8812AU directory.

diederikdehaas avatar Aug 24 '19 13:08 diederikdehaas