diederikdehaas / rtl8812AU

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

4.7.0-kali-amd64 #37

Open DenisSlobodyanyuk opened 8 years ago

DenisSlobodyanyuk commented 8 years ago

I am having issues installing it on Kali Rolling 2016.2 kernel:4.7.0-kali-amd64 I am new to Kali and trying to get my Linksys WUSB6300 to work. Currently I have it working sometimes but I get:

wlan1 unassociated Nickname:"WIFI@REALTEK" Mode:Managed Frequency=2.412 GHz Access Point: Not-Associated Sensitivity:0/0 Retry:off RTS the:off Fragment the:off Encryption key:off Power Management:otff Link Quality:0 Signal level:0 Noise level:0 Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:0 Invalid misc:0 Missed beacon:0

When I get to "git archive driver-${DRV_VERSION} | tar -x -C /usr/src/${DRV_NAME}-${DRV_VERSION}" I get the error "fatal: Not a git repository" "tar: This does not look like a tar archive" "tar: Exiting with the failure status due to previous errors" and when I use "cd rtl8812AU" and then "git archive driver-${DRV_VERSION} | tar -x -C /usr/src/${DRV_NAME}-${DRV_VERSION}" I get the error "fatal: Not a valid object name" "tar: This does not look like a tar archive" "tar: Exiting with the failure status due to previous errors"

diederikdehaas commented 8 years ago

Did you define DRV_NAME and DRV_VERSION before you ran the git archive ... command? Also make sure you run those commands as root and if you use sudo, place the sude before the tar -x part as writing to /usr/src/ isn't (normally) allowed by a normal user. And you do indeed need to run those commands inside the rtl8812AU directory (or whichever directory you cloned the repo into).

DenisSlobodyanyuk commented 8 years ago

Ran:

DRV_NAME=rtl8812AU DRV_VERSION=4.3.14 sudo mkdir /usr/src/${DRV_NAME}-${DRV_VERSION} git archive driver-${DRV_VERSION} | sudo tar -x -C /usr/src/${DRV_NAME}-${DRV_VERSION}

still get

"fatal: Not a valid object name" "tar: This does not look like a tar archive" "tar: Exiting with the failure status due to previous errors"

fumantsu commented 8 years ago

you need to run "git archive driver-${DRV_VERSION} | sudo tar -x -C /usr/src/${DRV_NAME}-${DRV_VERSION}" inside the directory that you have decompress the files from git. If you have the files on "/tmp/rtl8812AU" then you need to be inside before run the command above. diederikdehaas is say this on his last sentence. The instructions needs to clarify this as it is not clear.

diederikdehaas commented 8 years ago

what happens if you make the first part of the last command you used into the following:

git archive --format=tar driver-${DRV_VERSION}
DenisSlobodyanyuk commented 8 years ago

Sorry do I actually ran:

cd rtl8812AU/ DRV_NAME=rtl8812AU DRV_VERSION=4.7.0 sudo mkdir /usr/src/${DRV_NAME}-${DRV_VERSION} git archive driver-${DRV_VERSION} | sudo tar -x -C /usr/src/${DRV_NAME}-${DRV_VERSION}

diederikdehaas commented 8 years ago

DRV_VERSION=4.7.0

That's your error. There is no driver-4.7.0 branch.

fumantsu commented 8 years ago

Second comment ->DRV_VERSION=4.3.14, last comment -> DRV_VERSION=4.7.0. ?????????????????

DenisSlobodyanyuk commented 8 years ago

I thought the version was supposed to be kernel version. using 4.3.14 worked on installing but still get the wlan as unassociated