本文共 963 字,大约阅读时间需要 3 分钟。
cd /usr/src
wget https://github.com/raspberrypi/linux/archive/rpi-3.10.y.tar.gz
tar zxvf rpi-3.10.y.tar.gz
uname -r
ln -s /usr/src/linux-rpi-3.18.y /lib/modules/3.18.5-v7+/build
cd /lib/modules/3.18.5-v7+/build
make mrproper
gzip - dc / proc / config .gz > .config |
zcat /proc/config.gz > .config
gzip -dc /proc/config.gz > .config
gzip - dc / proc / config .gz > .config |
wget https://github.com/raspberrypi/firmware/raw/master/extra/Module.symvers
gzip - dc / proc / config .gz > .config |
make modules_prepare
$ git clone https://github.com/porjo/mt7601.git$ cd mt7601/src$ make$ mkdir -p /etc/Wireless/RT2870STA/$ cp RT2870STA.dat /etc/Wireless/RT2870STA/$ insmod os/linux/mt7601Usta.ko
If the module has loaded OK, you should see mt7601Usta listed in the output of lsmod and a new network interface ra0 should be present in the output of ip link. If all goes well, you can permanently install the driver with make install.
gzip - dc / proc / config .gz > .config |
转载地址:http://bnuhf.baihongyu.com/