Small wifi,Portable Wifi2, Xiaomi WiFi Raspberry Pi driver download

Source: Internet
Author: User


Step One: Install the Raspberry Pi cross-compilation environment

Environment used: ubuntu13.04
1. Download the cross-compilation tool

wget https://s3.amazonaws.com/RTI/Community/ports/toolchains/raspbian-toolchain-gcc-4.7.2-linux32.tar.gz

2. Unzip to the system directory

Tar-xvzf raspbian-toolchain-gcc-4.7.2-linux32.tar.gz-c/opt
3. Add the appropriate path to the environment variable

Vi/etc/profile
Add on last line


Export path= $PATH:/opt/raspbian-toolchain-gcc-4.7.2-linux32/bin




Step two: Compile the kernel

1. Viewing the current kernel version of the Raspberry Pi via Uname-r (3.10.19+)
Download the appropriate Raspberry Pi kernel https://github.com/raspberrypi/linux/here

2. Unzip the kernel
Unzip Linux-rpi-3.10.y.zip
3. Compiling


CD LINUX-RPI-3.10.Y

Export ccprefix=arm-linux-gnueabihf-

zcat/home/share/config.gz > Config (config.gz from Raspberry Pi/proc/config.gz)

Make Arch=arm Cross_compile=${ccprefix} oldconfig

Make Arch=arm Cross_compile=${ccprefix}


Step three: Compile the small WiFi driver
1. Through the Baidu can know that the small degree of WiFi use is MT7601 chip
Go to MT official website to download the corresponding driver
http://www.mediatek.com/_cn/07_downloads/01_windows.php?sn=501
2. Unzip
3. Compiling
On the Raspberry Pi, LSUSB can see

[Email protected] ~ $ lsusb
Bus 001 Device 002:id 0424:9512 Standard Microsystems Corp.
Bus 001 Device 001:id 1d6b:0002 Linux Foundation 2.0 root Hub
Bus 001 Device 003:id 0424:ec00 Standard Microsystems Corp.
Bus 001 Device 004:id 2,955:1001

Baidu changed the hardware ID of the small-level WiFi
Modify Makefile

Ifeq ($ (PLATFORM), PC)
# Linux 2.6
#LINUX_SRC =/lib/modules/$ (Shell uname-r)/build
LINUX_SRC =/home/xxx/linux-rpi-3.10.y #内核所在目录
# Linux 2.4 Change to your local setting
#LINUX_SRC =/usr/src/linux-2.4
Linux_src_module =/lib/modules/$ (Shell uname-r)/kernel/drivers/net/wireless/
Cross_compile =
endif

Add the Hardware ID in


VI COMMON/RTUSB_DEV_ID.C






Add to:








Make Arch=arm Cross_compile=${ccprefix}
Set this driver to boot
echo Mt7601usta >>/etc/modules (to have root privileges)

Now that the reboot is up, the wireless card has been identified.



Eth0 Link encap:ethernet HWaddr b8:27:eb:c1:87:4f
inet addr:192.168.1.9 bcast:192.168.1.255 mask:255.255.255.0
Up broadcast RUNNING multicast mtu:1500 metric:1
RX packets:300 errors:0 dropped:0 overruns:0 frame:0
TX packets:270 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:26153 (25.5 KiB) TX bytes:36419 (35.5 KiB)

Lo Link encap:local Loopback
inet addr:127.0.0.1 mask:255.0.0.0
Up LOOPBACK RUNNING mtu:65536 metric:1
RX packets:6 errors:0 dropped:0 overruns:0 frame:0
TX packets:6 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:300 (300.0 b) TX bytes:300 (300.0 b)

RA0 Link encap:ethernet HWaddr bc:96:80:22:b1:cc
Up broadcast RUNNING multicast mtu:1500 metric:1
RX packets:8756 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2270717 (2.1 MiB) TX bytes:0 (0.0 B)


Small wifi,Portable Wifi2, Xiaomi WiFi Raspberry Pi driver download


Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.