Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7ba15ad

Browse files
author
Ilya Mordasov
committed
Added MT7601U driver
1 parent e49f455 commit 7ba15ad

File tree

4 files changed

+30
-0
lines changed

4 files changed

+30
-0
lines changed

mt7601u/mt7601u.bin

44.3 KB
Binary file not shown.

mt7601u/mt7601u.sh

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
#!/bin/bash
2+
# Root-Check
3+
if [ "$UID" != "0" ]
4+
then
5+
echo "Please execute Script with Root-Rights!"
6+
exit
7+
else
8+
# Go to the USER-Directory
9+
cd ~
10+
# Download the Tarball for your Kernel from the Dropbox!
11+
#wget $(echo "https://dl.dropboxusercontent.com/u/80256631/mt7601-"`uname -r | awk '{sub(/\+/,"")}{print}'`"-"`uname -v | awk '{sub (/#/,"")} {print $1}'`).tar.gz
12+
# Extract the Tarball
13+
#tar -xzf $(echo mt7601-`uname -r | awk '{sub(/\+/,"")}{print}'`"-"`uname -v | awk '{sub (/#/,"")}{print $1}'`).tar.gz
14+
# Start Install-Script
15+
#./install.sh
16+
# Disable Power-Safe-Mode for the Wifi-Chip(Create Config-File)
17+
echo "options rt2870 rtw_power_mgnt=0 rtw_enusbss=0" #> /etc/modprobe.d/rt2870.conf
18+
# Write WLAN Config
19+
echo "WRITE WLAN-CONFIGURATION!"
20+
read -p "Insert SSID(WLAN-Network Name)! " ssid
21+
read -p "Insert WLAN-Password! " password
22+
echo -e "auto lo\niface lo inet loopback\n\nauto eth0\nallow-hotplug eth0\niface eth0 inet manual\n\nauto wlan0\nallow-hotplug wlan0\niface wlan0 inet manual\nwpa-ap-scan 1\nwpa-scan-ssid 1\nwpa-ssid \"$ssid\"\nwpa-psk \"$password\"" #> /etc/network/interfaces
23+
fi
24+
exit

requirements.system

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
libavahi-compat-libdnssd-dev
2+
bluez

requirements.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,7 @@ ed25519
33
pycryptodome
44
tlslite-ng
55
zeroconf
6+
pygatt
7+
binascii
8+
HAP-python[QRCode]
9+
apt

0 commit comments

Comments
 (0)