diederikdehaas / rtl8812AU

Realtek 8812AU USB WiFi driver
Other
475 stars 177 forks source link

The install instructions aren't clear at all #73

Open gaining opened 7 years ago

gaining commented 7 years ago

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 commented 7 years ago

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.

sirgrej commented 7 years ago

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}

diederikdehaas commented 6 years ago

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

Teiby commented 6 years ago

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

diederikdehaas commented 5 years ago

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