Last active
December 27, 2015 14:56
-
-
Save wrfly/469e926edb0516d97ab1 to your computer and use it in GitHub Desktop.
a bash script for kali_2 to support MT7601 ( XiaoDu WIFI; 360 WIFI; and more.)
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
#!/bin/bash | |
# By-WrFly | |
cp /etc/apt/sources.list /etc/apt/sources.list.bak | |
echo " | |
deb-src http://http.kali.org/kali sana main non-free contrib | |
deb-src http://security.kali.org/kali-security sana/updates main contrib non-free | |
deb http://http.kali.org/kali sana main non-free contrib | |
deb http://security.kali.org/kali-security sana/updates main contrib non-free | |
" > /etc/apt/sources.list | |
apt-get update | |
apt-get install linux-headers-4.0.0.-kali-all-amd64 | |
cd ~/Desktop | |
git clone https://github.com/wrfly/mt7601.git | |
cd mt7601/src | |
make | |
mkdir -p /etc/Wireless/RT2870STA/ | |
cp RT2870STA.dat /etc/Wireless/RT2870STA/ | |
insmod os/linux/mt7601Usta.ko | |
make install |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment