Ok so I tried to follow the directions here:
However, I couldn't find 2010_0915_RT3572_Linux_STA_v22.214.171.124.tar.bz2. Instead, the closest I could find was 2011_0407_RT3070_RT3370_RT5370_RT5372_Linux_STA_V2 .5.0.2_DPO.bz2, so I tried it.
I edited config.mk and rtusb_dev_id.c as chili555 advised.
I tried to edit linux_rt.h, however, the only file I saw was rt_linux.h. I edited it according to chili555's post, message #7.
I went back to the root directory of the extracted .bz2 file and did
I had NOT yet done this following command because I wanted to see what happened before I ran the command:Code:make: *** [/home/shredder/Desktop/2011_0407_RT3070_RT3370_RT5370_RT5372_Linux_STA_V126.96.36.199_DPO/os/linux/../../common/cmm_mac_usb.o] Error 1 make: *** [_module_/home/shredder/Desktop/2011_0407_RT3070_RT3370_RT5370_RT5372_Linux_STA_V188.8.131.52_DPO/os/linux] Error 2 make: Leaving directory `/usr/src/linux-headers-2.6.32-32-generic' make: *** [LINUX] Error 2
So, after that error like I posted above, I tried the sudo apt-get ... command above, but I discovered they were already installed.Code:sudo apt-get install build-essential linux-headers-generic
I made the mistake of doing
Instead ofCode:sudo bash
Obviously, after the command, I was still root. I had forgot that I was still root. Anyway, I tried make again.Code:sudo apt-get install build-essential linux-headers-generic
After make completed (successfully, without errors) I realized that I had just ran that as root. I ran make as my regular user, and ran into errors, saying it could not create certain files. I figured it was because I had ran make as root, and it created files owned by root. So I copied the files I edited onto my desktop, became root again, and removed the entire extracted directory and exited back to my regular user.
I re-extracted the .bz2 file to a directory named after itself, and copied the files I had just copied to my desktop back to the directories where they were supposed to be, and ran make again.
I think this would have finished successfully, however, I noticed that at my userlevel, it could not write to /tftpboot. I'm not sure, but that just seems kind of weird. Why would it create a file in the / directory?
Is this normal? Maybe I'm just ignorant and paranoid.
Also, later on after that post, I read that if you have a kernel lower than 2.6.35, you don't need to edit the .h file, which I did. So when I re-extracted the .bz2 file, I didn't edit it, because I have 2.6.32-32-generic. But I don't think I need help with that part.
I'm just curious about the /tftpboot file. I don't have the root directory contents memorized, but why would the make script care about that file?