Installing the driver for TP-LINK TL-WN727N on Ubuntu 14.04
Here is how you install it in about five minutes.
Krato: "Hey, friend, can I borrow your ethernet connection for just a few minutes? I brought along six of your favorite beverage."
Friend: "Sure, Krato, glad to help you! Let me put a couple of those beverages on ice."
You then open a terminal and do:
sudo apt-get install linux-headers-generic build-essential git
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 modprobe mt7601Usta
Your wireless should now be working. Detach the ethernet, thank the friend and enjoy!
Here is how to do it in about five days...maybe.
Go here: http://packages.ubuntu.com/
Select Trusty in the drop-down box. Search for linux-headers-generic and build-essential. Be sure to locate their dependencies and the dependencies of the dependencies. Be sure to download the correct version, either 32- or 64-bit. Once you've download about fifteen or so packages on another computer, transfer them with a USB stick or similar to the desktop of your Ubuntu computer. Open a terminal and install them:
cd ~/Desktop
sudo dpkg -i *.deb
It may complain that a package is missing a dependency. If so, download that and add it to the desktop and try again.
Write many posts on the forum to tell old Chili how you're stuck. Rinse and repeat.
Once that's all done, get this: https://github.com/porjo/mt7601/archive/master.zip Download it and then transfer it to your desktop, too. Right-click it and select 'Extract Here.' Now, back to the terminal.
cd ~/Desktop/mt7601/src
make
sudo make install
sudo mkdir -p /etc/Wireless/RT2870STA/
sudo cp RT2870STA.dat /etc/Wireless/RT2870STA/
sudo modprobe mt7601Usta
Your wireless should now be working.
In either event, when Update Manager installs a later kernel, known as linux-image, after the requested reboot, you must recompile:
cd ~/mt7601/src
make clean
make
sudo make install
sudo modprobe mt7601Usta
Please retain the files and these instructions for that time.