-
-
Save g-ilham/20422ee3da8db624d788 to your computer and use it in GitHub Desktop.
Please unplug the device. Get a temporary internet connection by ethernet, tethered or whatever means possible. Open a terminal and do: | |
sudo apt-get install git linux-headers-generic build-essential | |
git clone https://github.com/porjo/mt7601.git | |
cd mt7601/src | |
make | |
sudo make install | |
sudo mkdir -p /etc/Wireless/RT2870STA/ | |
sudo cp RT2870STA.dat /etc/Wireless/RT2870STA/ | |
sudo depmod -a | |
sudo modprobe mt7601Usta | |
Insert the device and it should be working. Let us know your success as we will have one additional step. | |
You have compiled the driver for your current running kernel only. When Update Manager installs a later kernel, known in Ubuntu as linux-image, after the required reboot, re-compile: | |
cd mt7601/src | |
make clean | |
make | |
sudo make install | |
sudo depmod -a | |
sudo modprobe mt7601Usta | |
Please retain the file and these instructions for that time. | |
////////////////////////////////////////////////// | |
Russian | |
Сначала нужно установить пакет git с помощью Synaptic. | |
Потом отключить адаптер и выполнить в терминале : | |
sudo apt-get install git linux-headers-generic build-essential | |
git clone https://github.com/porjo/mt7601.git | |
cd mt7601/src | |
make | |
sudo make install | |
sudo mkdir -p /etc/Wireless/RT2870STA/ | |
sudo cp RT2870STA.dat /etc/Wireless/RT2870STA/ | |
sudo depmod -a | |
sudo modprobe mt7601Usta | |
Затем подключить адаптер и проверить сеть(и) Wi-Fi. | |
У меня все заработало! | |
Если будете менять ядро, то нужно после его замены выполнить в терминале следующее : | |
cd mt7601/src | |
make clean | |
make | |
sudo make install | |
sudo depmod -a | |
sudo modprobe mt7601Usta | |
Всё. Решено. | |
PS: Если после перезагрузки или установки нового ядра адаптер перестает работать , то проверьте загружаются ли модули драйвера в ядро командой lsmod. | |
Или попробуйте загрузить "в ручную" командой modprobe mt7601Usta от рута. | |
Если всё нормально - то пропишите в автозагрузку. Откройте от рута файл /etc/rc.local и до exit 0 (пункт 13) пропишите modprobe mt7601Usta, ну и конечно сохраните изменения. |
its asking me for a username and password
i am just starting guys . thanks
What do you mean? Who asks for username and password?
its asking me for a username and password
i am just starting guys . thanksWhat do you mean? Who asks for username and password?
I signed in(after the username it asked for a password) and it said:
"
remote: Repository not found.
fatal: repository 'https://github.com/porjo/mt7601.git/' not found
"
What should i do in this case?
"
remote: Repository not found.
fatal: repository 'https://github.com/porjo/mt7601.git/' not found
"
What should i do in this case?
Well, Ha-Ha, the link is clickable and it's literally says that this repository does not exist.
It's pretty old driver and a lot of repositories for "hackers" just got deleted. I'm not creator and can't help you, sorry
its asking me for a username and password
i am just starting guys . thanks