Open tope5 opened 6 years ago
Looks interesting, will try that soon, I think. Thanks for posting it.
Please note: The first part of the fix where i said error in the "makefile" i actually meant a function that the makefile calls from a seperate file. So by open extracted file i actually mean open: "mt7610u_wifi_sta_v3002_dpo_20130916-master" then follow the instructions..
I had all the same issues, after hours of trial and error I found an error in a function call of the makefile.
................you need to remove the underscores from before the funtion call so that it looks like this
vfs_read(osfd, pDataPtr, readLen, &osfd->f_pos);) or vfs_write(osfd, pDataPtr, (size_t) writeLen, &osfd->f_pos);
once this is done save the changes and open up the makefile again.
Make sure at the bottom of the make file in the little tabs just left of where it says "line" "tabwith" it says "makefile" mine originally said "plain text".
save the file
repeat the steps by @artv2007 👍
Are you use kali live usb? If no, delete all from sources.list except this string deb http://http.kali.org/kali kali-rolling main non-free contrib
and run again sudo apt-get install linux-headers-$(uname -r)
if the error will again, then do sudo apt-get update # this pulls the latest packages list from the kali sources repo sudo apt-get -y dist-upgrade # when installing this, you would see the latest kernel
image in the list of packages to be installed,something
like" linux-image-4.5.0-kali1-amd64"
reboot # MOST IMPORTANT STEP! make sure you reboot the machine via this cmd OR
shutdown, restart forcefully after completing prev cmds
after reboot sudo apt-get install linux-headers-$(uname -r)
https://medium.com/@honsontran/installing-tp-link-archer-t2uh-ac600-on-vmware-for-kali-linux-4fa2db52cd69
(Note: on the link it shows an update alternative to gcc 5. this is also part of the solution but you will have to install gcc5 first. I was running gcc 7 and had to swap to the older version. To do this )
enter this line in a new terminal echo "deb http://ftp.us.debian.org/debian unstable main contrib non-free" >> /etc/apt/sources.list.d/unstable.list
sudo apt-get update
apt-get install -t unstable gcc-5
(then run the previous alternatives command and try the whole procces following the steps in the link provided)