beautypg.com

Mediabridge MWN-USB150N Linux User Manual

Mediabridge Wireless Headsets

background image

MWN-USB150N Wireless-N USB 2.0 Adapter

Linux Installation Instructions

Medialink Products | 1951 Old Cuthbert Road Suite 301 Cherry Hill NJ 08034 | Phone:  856‐216‐8222 

Email:  

[email protected]

 Website:  www.medialinkproducts.com 


***PLEASE NOTE***

Medialink Products does not currently provide technical support for the use of this

adapter with any operating system that is not Windows based. This draft of installation

instructions are the only form of assistance we can provide for this application. We

apologize for this inconvenience and are working towards providing a more robust

support system. In the meantime if your experience warrants an amendment to these

instructions, we will welcome any and all suggestions.

Thank you for your understanding.

Linux Installation Instructions

1. $tar –xvf RT3070_Linux_STA_v2.1.1.0

go to "./2009_0525_RT3070_Linux_STA_v2.1.1.0" directory.

2. In Makefile

set the "MODE = STA" in Makefile and chose the TARGET to Linux by set

"TARGET = LINUX"

define the linux kernel source to include file path LINUX_SRC

modify to meet your needs.

3. In os/linux/config.mk

define the GCC and LD of the target machine

define the compiler flags CFLAGS

modify to meet your needs.

** Build to be controlled by NetworkManager or wpa_supplicant wext functions

Please

set

'HAS_WPA_SUPPLICANT=y'

and

'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=y'.

=> #>cd wpa_supplicant-x.x

=> #>./wpa_supplicant -Dwext -ira0 -c wpa_supplicant.conf -d

** Build to be controlled by WpaSupplicant with Ralink Driver

Please

set

'HAS_WPA_SUPPLICANT=y'

and

'HAS_NATIVE_WPA_SUPPLICANT_SUPPORT=n'.

=> #>cd wpa_supplicant-0.5.7

=> #>./wpa_supplicant -Dralink -ira0 -c wpa_supplicant.conf -d

4.

$make

# compile driver source code

# To fix "error: too few arguments to function ¡¥iwe_stream_add_event"

=> $patch -i os/linux/sta_ioctl.c.patch os/linux/sta_ioctl.c

5.

$cp RT2870STA.dat /etc/Wireless/RT2870STA/RT2870STA.dat

Note: If you don’t find this folder, you will need to set up a new folder,

“/etc/Wireless/RT2870STA “.

6.

load driver, go to "os/linux/" directory.