Reprint: http://www.pppei.net/blog/post/690
Pro-Test is possible!
My system is Linux Mint 17.1 64 bit, used WiFi bit mi wifi.
The following is the original text:
This method is tested under LinuxMint 17.1.
It can theoretically support Xiaomi WiFi, 360wifi.
Here's how:
1. Download and install the mt7601u driver
MT7601U Drive
Extract Password: 2r8h
Thanks for the author of the next http://bbs.xiaomi.cn/thread-10160085-1-1.html post.
Unzip the downloaded driver into the extracted mt7601u folder and execute the following command to compile and install:
./install.sh
2. Install configuration DNSMASQ (DNS, DHCP)
sudo apt-get install DNSMASQ
After installation, execute the following command to enable DHCP functionality.
sudo sed " /^dhcp-range/d " /etc/sudoecho"dhcp-range=192.168.86.50,192.168.86.150,12h " >>/etc/dnsmasq.conf
3. Configuring Udev
New file/etc/udev/rules.d/100-portable-wifi.rules, add the following:
subsystem=="net", action=="add", env{devpath}==" /devices/virtual/net/ra0 ", run+="
/sbin/ifconfig ra0 192.168.86.1; /ETC/INIT.D/DNSMASQ Restart;
Echo 1 >/proc/sys/net/ipv4/ip_forward;
Iptables-t nat-a postrouting-s 192.168.86.0/24-j Masquerade '"
After successful completion of the above steps, you should be able to see a wireless access point named portable after inserting the wifi,10 seconds, the default password: abcd1234, connect this AP to the Internet.
Modify the AP name, password, and channel by modifying the following line of the/etc/wireless/rt2870ap/rt2870ap.dat file:
ssid=Portable Wpapsk=abcd1234 Channel= One
After modification, reseat the small wifi.
Thanks again Daniel!!!
Linux Mint 17 + Xiaomi WiFi create mobile hotspot