Building my Rokland N3 drivers for my PI

Hey Guys,

I'm having issues building the drivers for my raspberry.

http://store.rokland.com/products/the-n3-802-11n-wireless-n-long-range-wifi-usb-for-macs-pcs

Im going through the instructions and getting lost, whenever run the make i get the following error:
Code: skay@raspberrypi:~/Linux/2008_0925_RT2870_Linux_STA_v1.4.0.0$ sudo make
[sudo] password for skay:
make -C tools
make[1]: Entering directory `/home/skay/Linux/2008_0925_RT2870_Linux_STA_v1.4.0.0/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/skay/Linux/2008_0925_RT2870_Linux_STA_v1.4.0.0/tools'
/home/skay/Linux/2008_0925_RT2870_Linux_STA_v1.4.0.0/tools/bin2h
cp -f os/linux/Makefile.6 /home/skay/Linux/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux/Makefile
make  -C  /lib/modules/3.1.9+/build SUBDIRS=/home/skay/Linux/2008_0925_RT2870_Linux_STA_v1.4.0.0/os/linux modules
make[1]: Entering directory `/lib/modules/3.1.9+/build'
make[1]: *** No rule to make target `modules'.  Stop.
make[1]: Leaving directory `/lib/modules/3.1.9+/build'
make: *** [LINUX] Error 2
skay@raspberrypi:~/Linux/2008_0925_RT2870_Linux_STA_v1.4.0.0$


I'm pretty sure I am failing at configuring the os/linux/config.mk in part 3 of the instructions.

Anyone able to offer assistance?

Code: Build Instructions:
====================

1> $tar -xvzf DPB_RT2870_Linux_STA_x.x.x.x.tgz
    go to "./DPB_RT2870_Linux_STA_x.x.x.x" directory.

2> In Makefile
         set the "MODE = STA" in Makefile and chose the TARGET to Lin
ux by set "TARGET = LINUX"
         define the linux kernel source include file path LINUX_SRC
         modify to meet your need.

3> In os/linux/config.mk
        define the GCC and LD of the target machine
        define the compiler flags CFLAGS
        modify to meet your need.
        ** Build for being controlled by NetworkManager or wpa_suppli
cant wext functions
           Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPP
LICANT_SUPPORT=y'.
           => #>cd wpa_supplicant-x.x
           => #>./wpa_supplicant -Dwext -ira0 -c wpa_supplicant.conf
-d
        ** Build for being controlled by WpaSupplicant with Ralink Dr
iver
           Please set 'HAS_WPA_SUPPLICANT=y' and 'HAS_NATIVE_WPA_SUPP
LICANT_SUPPORT=n'.
           => #>cd wpa_supplicant-0.5.7
           => #>./wpa_supplicant -Dralink -ira0 -c wpa_supplicant.con
f -d

4> $make
        # compile driver source code
        # To fix "error: too few arguments to function ¡¥iwe_stream_a
dd_event"
          => $patch -i os/linux/sta_ioctl.c.patch os/linux/sta_ioctl.
c

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

6> load driver, go to "os/linux/" directory.
    #[kernel 2.4]
    #    $/sbin/insmod rt2870sta.o
    #    $/sbin/ifconfig ra0 inet YOUR_IP up

    #[kernel 2.6]
    #    $/sbin/insmod rt2870sta.ko
    #    $/sbin/ifconfig ra0 inet YOUR_IP up

7> unload driver
    $/sbin/ifconfig ra0 down
        $/sbin/rmmod rt2870sta

Tagged as: building rokland drivers


Probable answsers

The drivers at nvidia's site are called Detonators for some reason.  

Using different drivers will most likely not fix your lag problem. The drivers you using should be fine, since the latest catalyst drivers usually offer the best blend of compatability & speed. ...

http://www.knowles.com/search/products/r_subminiature.jsp they're available from Digikeyhttp://dkc3.digikey.com/PDF/T081/P2123.pdf

Thanks for your input much appreciated. Pretty much what I thought about XP. I have downloaded the firmware but am reluctant to use it as I am not exactly sure what it will do to the system/hardware. ...

it is not uncommon for therte to be criver problems when doing an upgrade of an OS the first thing to do would be to uninstall the ide channel that the CD RW is on. ( as long as it is on the secondary ...


Similair questions

Over at makezine I found how to make custom ear mould earphones using epoxy putty - http://blog.makezine.com/archive/2006/12/noise_blocking.html. Though I'm going to use silicone since some of the comments ...

Updated from 98 to XP Pro. The LG CD-RW was only recognized as a CD-ROM. Downloaded and installed the update from Roxio for the Direct CD recording software. Direct CD now freezes when starting ...

I installed a radeon 7500 video card the other day. I play everquest. When i logged onto the game for the first time with new card it acknowledged the new card and told me that it is recommended ...

i have the nvidia 128 ddr mb fx5200 and i keep hearing about this "detonator" driver is it the same driver as the current one on the nvidia website cause thats wat i have or should i dl ...

recently purchased a faster writer and installed as normal but XP keeps looking for software to run 52327S. Any ideas as to what software other than nero I would need. or do I have to install the ...

hello, i am looking for any new drivers for my gforce2 mx400d-64 can any one help me out? I am new at this on this card.... thanks very much   ...

I purchased a program that would backup my drivers. After looking at the backups they are simply .inf files. When I go into Device Manager a given device has everything from .sys to vxd to dll files. ...

I work at a large college repairing & maintaining energy management/building automation systems.I am a licensed electrician.Our union has a safety committee which meets once a month about safety ...

I am looking at a commercial building generator install project. A question has come up concerning the demand load of the existing MDP and related distribution panels. Can anyone point me in the right ...

Being somewhat of a linux noob I need help!I've got Sabnzbd up and running, automapped my NAS, and now I'm tryng to install sickbeard using Code: yaourt -AS sickebeard It seems to work untill "Compressing package.." ...

Of those of you that have been debating my questions on sub panels in the NEC forum here is another question on the same sub panel. This panel being installed by a homeowner also does not have the ...

Hi,I don't know a whole lot about this project, so feel free to correct me. (And on this occasion, I hope I'm wrong!)As with many ARM boards, I'm assuming that the Pi uses an SGX core from Imagination, usually called ...

I'm fixing a computer for a friend. I've got everything setup right, but I'm missing some drivers. This computer has a Diamond Telecommander 2300. Diamond doesn't support it and I'm trying to find the ...

Wow, they should finally be out tomorrow I didn't think they were going to make them, so that's cool. Not bad for a $30 printer (got it last year).

At long last, PC Domination Spring 2014 has come to an end! Here are the amazing systems that our judges felt have risen above the rest of the competition to claim the Gold and Silver placement in our contest. ...

I found this over at http://www.maxreboot.com/. The 6043 drivers are unofficial, unsupported, and supposedly gives OpenGL a good performance increase. Also, it's only available for WinXP ...

I'm building a new PC for the first time since 2004 (used a laptop between now and then) and I'm trying to decide what motherboard to base it around. I want to try a Micro ATX for ...

Ok I need to replace my current Photoshop BX. It does IE, Word, CS5 and some very light gaming (Master of Orion II). Not going to overclock, it need to be quiet and fast. Plus ...

I don't know if this idea is plausible, or even affordable... I have an unused Intel i5 3570k processor, after upgrading due to a faulty motherboard prior, and I've been really wanting to get an "on ...

this is my build in game name BigMac and this is my baby. win or lose building Competition just want to show off my hard work, build it my self. Enjoy gamers