Professional Documents
Culture Documents
README
README
If the module has loaded then running `ifconfig ra0 up` will bring up a Wi-Fi ac
cess point that you can connect your devices to.
You can change the network name and the security by editing the file `/etc/wifi/
RT2870AP/RT2870AP.txt`.
#### Cross compiling
You can cross compile this driver by setting `LINUX_SRC` to the kernel sources,
`CROSS_COMPILE` to your compiler and `ARCH` to the arch you are compiling for. I
t is arm for the Raspberry Pi.
#####Cross compiling on a virtual machine (Xubuntu 14.04 32 bits)
Download the kernel sources and cross compiler:
````sh
$ git clone https://github.com/raspberrypi/linux -b rpi-3.18.y
$ git clone https://github.com/raspberrypi/tools
$ sudo mv tools /opt/
$ nano .bashrc
````
Add this line:
````
export PATH=/opt/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin:$
PATH
````
Then update the PATH:
````sh
$ . .bashrc
````
Prepare the kernel sources:
````sh
$ cd linux
$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bcmrpi_defconfig
$ make modules_prepare
````
Compile the driver:
````
$ cd ../mt7601u-ap
$ make LINUX_SRC=../linux ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf````
The module name is mt7601Uap.ko and will be in `os/linux/` when compiling is don
e. Copy it over to `/lib/modules/<kernel version>/kernel/drivers/net/wireless` a
nd run `depmod $(uname -r)` to make it load on startup.
#### You are done!!
If the module has loaded then running `ifconfig ra0 up` will bring up a Wi-Fi ac
cess point that you can connect your devices to.
You can change the network name and the security by editing the file `/etc/wifi/
RT2870AP/RT2870AP.txt`.
#### Cross compiling
You can cross compile this driver by setting `LINUX_SRC` to the kernel sources,
`CROSS_COMPILE` to your compiler and `ARCH` to the arch you are compiling for. I
t is arm for the Raspberry Pi.
#####Cross compiling on a virtual machine (Xubuntu 14.04 32 bits)
Download the kernel sources and cross compiler:
````sh
$ git clone https://github.com/raspberrypi/linux -b rpi-3.18.y
$ git clone https://github.com/raspberrypi/tools
$ sudo mv tools /opt/
$ nano .bashrc
````
Add this line:
````
export PATH=/opt/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin:$
PATH
````
Then update the PATH:
````sh
$ . .bashrc
````
Prepare the kernel sources:
````sh
$ cd linux
$ make ARCH=arm CROSS_COMIf the module has loaded then running `ifconfig ra0 up`
will bring up a Wi-Fi access point that you can connect your devices to.
You can change the network name and the security by editing the file `/etc/wifi/
RT2870AP/RT2870AP.txt`.
#### Cross compiling
You can cross compile this driver by setting `LINUX_SRC` to the kernel sources,
`CROSS_COMPILE` to your compiler and `ARCH` to the arch you are compiling for. I
t is arm for the Raspberry Pi.
#####Cross compiling on a virtual machine (Xubuntu 14.04 32 bits)
Download the kernel sources and cross compiler:
````sh
$ git clone https://github.com/raspberrypi/linux -b rpi-3.18.y
$ git clone https://github.com/raspberrypi/tools
$ sudo mv tools /opt/
$ nano .bashrc
````
Add this line:
````
export PATH=/opt/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin:$
PATH
````
Then update the PATH:
````sh
$ . .bashrc
````
Prepare the kernel sources:
````shIf the module has loaded then running `ifconfig ra0 up` will bring up a Wi
-Fi access point that you can connect your devices to.
You can change the network name and the security by editing the file `/etc/wifi/
RT2870AP/RT2870AP.txt`.
#### Cross compiling
You can cross compile this driver by setting `LINUX_SRC` to the kernel sources,
`CROSS_COMPILE` to your compiler and `ARCH` to the arch you are compiling for. I
t is arm for the Raspberry Pi.
#####Cross compiling on a virtual machine (Xubuntu 14.04 32 bits)
Download the kernel sources and cross compiler:
````sh
$ git clone https://github.com/raspberrypi/linux -b rpi-3.18.y
$ git clone https://github.com/raspberrypi/tools
$ sudo mv tools /opt/
$ nano .bashrc
````
Add this line:
````
export PATH=/opt/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin:$
PATH
````
Then update theIf the module has loaded then running `ifconfig ra0 up` will brin
g up a Wi-Fi access point that you can connect your devices to.
You can change the network name and the security by editing the file `/etc/wifi/
RT2870AP/RT2870AP.txt`.
#### Cross compiling
You can cross compile this driver by setting `LINUX_SRC` to the kernel sources,
`CROSS_COMPILE` to your compiler and `ARCH` to the arch you are compiling for. I
t is arm for the Raspberry Pi.
#####Cross compiling on a virtual machine (Xubuntu 14.04 32 bits)
Download the kernel sources and cross compiler:
````sh
$ git clone https://github.com/raspberrypi/linux -b rpi-3.18.y
$ git clone https://github.com/raspberrypi/tools
$ sudo mv tools /opt/
$ nano .bashrc
````
Add this line:
````
export PATH=/opt/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin:$
PATH
````
Then update the PATH:
````sh
$ . .bashrc
````
Prepare the kernel sources:
````sh
$ cd linux
$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bcmrpi_defconfig
$ make modules_prepare
````
Compile the driver:
````
$ cd ../mt7601u-ap
$ make LINUX_SRC=../lIf the module has loaded then running `ifconfig ra0 up` wil
l bring up a Wi-Fi access point that you can connect your devices to.
You can change the network name and the security by editing the file `/etc/wifi/
RT2870AP/RT2870AP.txt`.
#### Cross compiling
You can cross compile this driver by setting `LINUX_SRC` to the kernel sources,
`CROSS_COMPILE` to your compiler and `ARCH` to the arch you are compiling for. I
t is arm for the Raspberry Pi.
#####Cross compiling on a virtual machine (Xubuntu 14.04 32 bits)
Download the kernel sources and cross compiler:
````sh
$ git clone https://github.com/raspberrypi/linux -b rpi-3.18.y
$ git clone https://github.com/raspberrypi/tools
$ sudo mv tools /opt/
$ nano .bashrc
````
Add this line:
````
export PATH=/opt/tools/arm-bcm2708/gcc-linaro-arm-linux-gnueabihf-raspbian/bin:$
PATH
````
Then update the PATH:
````sh
$ . .bashrc
````
Prepare the kernel sources:
````sh
$ cd linux
$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bcmrpi_defconfig
$ make modules_prepare
````
Compile the driver:
````
$ cd ../mt7601u-ap
$ make LINUX_SRC=../linux ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf````
The module name is mt7601Uap.ko and will be in `os/linux/` when compiling is don
e. Copy it over to `/lib/modules/<kernel version>/kernel/drivers/net/wireless` a
nd run `depmod $(uname -r)` to make it load on startup.
#### You are done!!
inux ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf````
The module name is mt7601Uap.ko and will be in `os/linux/` when compiling is don
e. Copy it over to `/lib/modules/<kernel version>/kernel/drivers/net/wireless` a
nd run `depmod $(uname -r)` to make it load on startup.
#### You are done!!
PATH:
````sh
$ . .bashrc
````
Prepare the kernel sources:
````sh
$ cd linux
$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bcmrpi_defconfig
$ make modules_prepare
````
Compile the driver:
````
$ cd ../mt7601u-ap
$ make LINUX_SRC=../linux ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf````
The module name is mt7601Uap.ko and will be in `os/linux/` when compiling is don
e. Copy it over to `/lib/modules/<kernel version>/kernel/drivers/net/wireless` a
nd run `depmod $(uname -r)` to make it load on startup.
#### You are done!!
$ cd linux
$ make ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- bcmrpi_defconfig
$ make modules_prepare
````
Compile the driver:
````
$ cd ../mt7601u-ap
$ make LINUX_SRC=../linux ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf````
The module name is mt7601Uap.ko and will be in `os/linux/` when compiling is don
e. Copy it over to `/lib/modules/<kernel version>/kernel/drivers/net/wireless` a
nd run `depmod $(uname -r)` to make it load on startup.