Gumstix Overo – Compile wireless driver for Asus USB-N53

Rev-1.7

Gumstix Overo – Compile wireless driver for Asus USB-N53

Soruce code for USB-N53:
Website: http://www.asus.com/us/Networking/USBN53/#support
Direct Link to source: http://dlcdnet.asus.com/pub/ASUS/wireless/USB-N53/Dr_USB_N53_10122_Linux.zip

Make sure in your headers “/usr/src/linux-headers-3.5.0-2-linaro-omap” there is the link named “source” that points back to you kernel source. More than likely there will be a link named source, but it will be broken, delete it and create the correct link.

Packages top install on source to compile:
$ sudo aptitude install sysfsutils libwrap0-dev gcc libglib2.0-dev libtool automake autoconf pkg-config libsysfs-dev libltdl-dev hwdata module-assistant gawk make

Make sure that the kernel includes support for modules in the .config file:
CONFIG_MODULES=y

1. Move .config into top level of kernel source
For Linaro = /usr/src/linux-omap-3.5
/home/gumstix/linaro/linux/.config

2. From top level of kernel source on the target: (for example, the Linaro build it is /usr/src/linux-omap-3.5)
$ make prepare
$ make scripts

3. Copy the “Module.symvers” file into the top leve of the respective kernel source.
For Linaro = /usr/src/linux-omap-3.5
/home/gumstix/linaro/linux/Module.symvers

4. Make sure that the “Makefile” is pointing to the correct source and modules folders, ~/USB-N53/Linux/2011_1003_RT3572_Linux_STA_v2.5.0.0.DPO/Makefile

5. From “~/USB-N53/Linux/2011_1003_RT3572_Linux_STA_v2.5.0.0.DPO” run the commands below, one at a time:
$ make
$ make install
$ modprobe rt3572sta

5. Added rt3572sta.ko to /etc/modules:
$ nano /etc/modules
rt3572sta

6. Add new wlan to /etc/network/interfaces
$ iwconfig # Get name of new wlan, for example wlan1

$ nano /etc/network/interfaces

auto ra0
iface ra0 inet static
address 10.0.0.1
netmask 255.255.255.0

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s