Last active
May 28, 2020 14:37
-
-
Save mtaziz/425353b24fb6ce258b9c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Compilation failed at $ sudo make all | |
/* Kali linux does not have "linux-headers-generic" installed by default */ | |
############Search#################### | |
$ dpkg-query -s linux-headers-generic | |
$ apt-cache search linux | grep header | |
$ dpkg -l | grep linux-headers- | |
##########Dependencies############### | |
$ sudo apt-get install linux-headers-`uname -r` | |
$ sudo apt-get install build-essential git | |
##########Downloading from github################ | |
$ sudo git clone https://github.com/lwfinger/rtl8188eu | |
$ cd rtl8188eu | |
###############The following Trick worked########### | |
$ lsusb | |
$ cp usb_intf.c usb_intf.c.backup | |
$ vim rtl8188eu/os_dep/usb_intf.c | |
{USB_DEVICE(0x2001, 0x330F)}, /* DLink DWA-125 REV D1 */ | |
# Above line replaced by the following (by 0x3310) | |
{USB_DEVICE(0x2001, 0x3310)}, /* DLink DWA-125 REV D1 */ | |
################## | |
#########Compilation#### | |
$ sudo make | |
$ sudo make install | |
$ sudo vim /etc/modules # add 8188eu | |
$ sudo modeprobe 8188eu | |
$ reboot | |
#########gnome network gui####### | |
$ sudo dpkg -l | grep network-manager | |
$ sudo apt-get install network-manager-gnome | |
$ sudo service network-manager status | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment