Here's what I've got... (And thanks, guys, for your very attentive efforts! It's great to have support/efforts to fix this problem! Kudos to you both.)
tsr@TimothySRooney:~$ sudo apt-get install build-essential linux-headers-generic-pae
Reading package lists... Done
Building dependency tree
Reading state information... Done
build-essential is already the newest version.
linux-headers-generic-pae is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
tsr@TimothySRooney:~$ sudo su
root@TimothySRooney:/home/tsr# apt-get install --reinstall linux-headers-`uname -r`
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 0 not upgraded.
Need to get 0 B/832 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 175489 files and directories currently installed.)
Preparing to replace linux-headers-3.0.0-12-generic-pae 3.0.0-12.20 (using .../linux-headers-3.0.0-12-generic-pae_3.0.0-12.20_i386.deb) ...
Unpacking replacement linux-headers-3.0.0-12-generic-pae ...
Setting up linux-headers-3.0.0-12-generic-pae (3.0.0-12.20) ...
Examining /etc/kernel/header_postinst.d.
root@TimothySRooney:/home/tsr# cd Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217
root@TimothySRooney:/home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217# make clean
cp -f os/linux/Makefile.6 os/linux/Makefile
make -C os/linux clean
make[1]: Entering directory `/home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux'
rm -f ../../common/*.o
rm -f ../../common/.*.{o,cmd,flags,d}
rm -f ../../os/linux/*.{o,ko,mod.{o,c}}
rm -f ../../os/linux/.*.{cmd,flags,d}
rm -fr ../../os/linux/.tmp_versions
rm -f ../../os/linux/Module.symvers
rm -f ../../os/linux/Module.markers
rm -f ../../os/linux/modules.order
rm -f ../../chips/*.o
rm -f ../../chips/.*.{cmd,flags,d}
rm -f ../../sta/*.o
rm -f ../../sta/.*.{cmd,flags,d}
make[1]: Leaving directory `/home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux'
rm -rf os/linux/Makefile
root@TimothySRooney:/home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217# make
make -C tools
make[1]: Entering directory `/home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools'
/home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools/bin2h
cp -f os/linux/Makefile.6 /home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/Makefile
make -C /lib/modules/3.0.0-12-generic-pae/build SUBDIRS=/home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux modules
make[1]: Entering directory `/lib/modules/3.0.0-12-generic-pae/build'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/3.0.0-12-generic-pae/build'
make: *** [LINUX] Error 2
root@TimothySRooney:/home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217#
Last edited by timothysrooney; November 17th, 2011 at 03:39 PM.
Fascinating...and confounding. Please run:If it comes back as:Code:sudo dpkg -s build-essential | grep StatusThen proceed with:Status: install ok installedIf build-essential is not correctly installed, please do:Code:cd Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217 sudo su make uninstall make clean make make install modprobe rt3562sta exitThis just gets curiouser.Code:sudo apt-get install --reinstall build-essential
"Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.
Why does it hate me? I'm so nice to my computer! It shouldn't be difficult like this! At any rate, here's an answer to your commands/suggestions. It's not what I want to see... I don't think, at least! Maybe it'll help you? Regardless, here it is.
tsr@TimothySRooney:~$ sudo dpkg -s build-essential | grep Status
[sudo] password for tsr:
Status: install ok installed
tsr@TimothySRooney:~$ cd Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/
tsr@TimothySRooney:~/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217$ sudo su
root@TimothySRooney:/home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217# make uninstall
make -C /home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux -f Makefile.6 uninstall
make[1]: Entering directory `/home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux'
rm -rf /lib/modules/3.0.0-12-generic-pae/kernel/drivers/net/wireless/rt3562sta.ko
/sbin/depmod -a 3.0.0-12-generic-pae
make[1]: Leaving directory `/home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux'
root@TimothySRooney:/home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217# make clean
cp -f os/linux/Makefile.6 os/linux/Makefile
make -C os/linux clean
make[1]: Entering directory `/home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux'
rm -f ../../common/*.o
rm -f ../../common/.*.{o,cmd,flags,d}
rm -f ../../os/linux/*.{o,ko,mod.{o,c}}
rm -f ../../os/linux/.*.{cmd,flags,d}
rm -fr ../../os/linux/.tmp_versions
rm -f ../../os/linux/Module.symvers
rm -f ../../os/linux/Module.markers
rm -f ../../os/linux/modules.order
rm -f ../../chips/*.o
rm -f ../../chips/.*.{cmd,flags,d}
rm -f ../../sta/*.o
rm -f ../../sta/.*.{cmd,flags,d}
make[1]: Leaving directory `/home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux'
rm -rf os/linux/Makefile
root@TimothySRooney:/home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217# make
make -C tools
make[1]: Entering directory `/home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools'
/home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools/bin2h
cp -f os/linux/Makefile.6 /home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/Makefile
make -C /lib/modules/3.0.0-12-generic-pae/build SUBDIRS=/home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux modules
make[1]: Entering directory `/lib/modules/3.0.0-12-generic-pae/build'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/3.0.0-12-generic-pae/build'
make: *** [LINUX] Error 2
Here's another question. This is just so I can try to understand what is going on with this whole process. Take a look at this output, please.
tsr@TimothySRooney:~/Downloads/Ralink/2010_0115_RT3562_RT3062_Linux_STA_V2.3.0.0$ make
make -C tools
make[1]: Entering directory `/home/tsr/Downloads/Ralink/2010_0115_RT3562_RT3062_Linux_STA_V2.3.0.0/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/tsr/Downloads/Ralink/2010_0115_RT3562_RT3062_Linux_STA_V2.3.0.0/tools'
/home/tsr/Downloads/Ralink/2010_0115_RT3562_RT3062_Linux_STA_V2.3.0.0/tools/bin2h
cp -f os/linux/Makefile.6 /home/tsr/Downloads/Ralink/2010_0115_RT3562_RT3062_Linux_STA_V2.3.0.0/os/linux/Makefile
make -C /lib/modules/3.0.0-12-generic-pae/build SUBDIRS=/home/tsr/Downloads/Ralink/2010_0115_RT3562_RT3062_Linux_STA_V2.3.0.0/os/linux modules
make[1]: Entering directory `/lib/modules/3.0.0-12-generic-pae/build'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/3.0.0-12-generic-pae/build'
make: *** [LINUX] Error 2
tsr@TimothySRooney:~/Downloads/Ralink/2010_0115_RT3562_RT3062_Linux_STA_V2.3.0.0$ ls /lib/modules/3.0.0-12-generic/build
arch Documentation fs ipc kernel mm samples sound ubuntu
block drivers include Kbuild lib Module.symvers scripts source usr
crypto firmware init Kconfig Makefile net security tools virt
My question is that the stuff in green indicates there's no rule to make the target module. So I went to the directory specified, and that is the last line I typed. The contents of the directory are listed above. Where is the rule to make the target module? Does that mean the directory listed there should have a make? There is certainly a Makefile. What does that Makefile contain?
Taking a look at the Makefile, it's much too long to post here, but I can see roughly what is in that Makefile. What seems to be the problem? Do I have to type make in this directory to make the stuff specified by the Makefile? Or has that already been done? And any response/reply to my question is appreciated. And if it's too long, complicated, or dull to merit a response, that's also fine. I was just curious to learn more of what is happening with this error. Thanks!
I have another question. I apologize if I have already asked it before.
Why is your Ralink driver so old? The one I am using is version 2.4.1.1 dated 17-Dec-2010. Yours seems to be 2.3.0.0 dated 15-Jan-2010. I recommend downloading the latest driver directly from Ralink.
Also, please post the output of "uname -a".
Tim
Cyberpower PC, Core i5 2500 3.3 gHz, 8GB DDR3, ATI 6770 1GB, Samsung BX 2440 LED 1080p, 1 TB SATA III, 2 TB SATA III, Siduction Linux 64-bit
Thanks for the question, ratcheer. To respond to your first question, I have that output as the first line below. To respond to your second question, I've tried that newer driver. I just have been working with the older driver in my posts because that's what Chili has been typing in his replies. Regardless of which one I use, though, I'm getting the same results.
Here's the output to show that... I think! Maybe if I did some of the steps in the newer directory, it would work. I think I have already tried, that, though, with the same negative results.
tsr@TimothySRooney:~$ uname -a
Linux TimothySRooney 3.0.0-12-generic-pae #20-Ubuntu SMP Fri Oct 7 16:37:17 UTC 2011 i686 athlon i386 GNU/Linux
tsr@TimothySRooney:~$ cd Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/
tsr@TimothySRooney:~/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217$ ls
chips include Makefile README_STA_pci RT2860STA.dat sta_ate_iwpriv_usage.txt
common iwpriv_usage.txt os RT2860STACard.dat sta tools
tsr@TimothySRooney:~/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217$ sudo make
[sudo] password for tsr:
make -C tools
make[1]: Entering directory `/home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools'
/home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools/bin2h
cp -f os/linux/Makefile.6 /home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/Makefile
make -C /lib/modules/3.0.0-12-generic-pae/build SUBDIRS=/home/tsr/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux modules
make[1]: Entering directory `/lib/modules/3.0.0-12-generic-pae/build'
make[1]: *** No rule to make target `modules'. Stop.
make[1]: Leaving directory `/lib/modules/3.0.0-12-generic-pae/build'
make: *** [LINUX] Error 2
tsr@TimothySRooney:~/Downloads/Ralink/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217
Ok, I am lost on this one. Sorry.
Tim
Cyberpower PC, Core i5 2500 3.3 gHz, 8GB DDR3, ATI 6770 1GB, Samsung BX 2440 LED 1080p, 1 TB SATA III, 2 TB SATA III, Siduction Linux 64-bit
That's the whole point! Why is the Makefile going to /lib/modules/3.0.0-12-generic-pae/build? It ought to be going to linux-headers, as in my build:My question is that the stuff in green indicates there's no rule to make the target module. So I went to the directory specified, and that is the last line I typed. The contents of the directory are listed above. Where is the rule to make the target module? Does that mean the directory listed there should have a make? There is certainly a Makefile. What does that Makefile contain?I can't imagine what is wrong if you have the build tools and linux headers installed. We have attempted to verify that. Grasping at straws, please open Synaptic Package Manager and be sure that both are installed. Please see attached. Please verify the little green box indicating that build-essential, linux-headers-generic-pae and linux-headers-3.0.0-12-generic-pae are definately installed. If not, install them.root@LAPTOP60:/home/chili/Desktop/Forum/L_/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217# make
make -C tools
make[1]: Entering directory `/home/chili/Desktop/Forum/L_/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools'
gcc -g bin2h.c -o bin2h
make[1]: Leaving directory `/home/chili/Desktop/Forum/L_/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools'
/home/chili/Desktop/Forum/L_/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/tools/bin2h
cp -f os/linux/Makefile.6 /home/chili/Desktop/Forum/L_/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/Makefile
make -C /lib/modules/3.0.0-12-generic-pae/build SUBDIRS=/home/chili/Desktop/Forum/L_/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux modules
make[1]: Entering directory `/usr/src/linux-headers-3.0.0-12-generic-pae'
CC [M] /home/chili/Desktop/Forum/L_/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_md5.o
CC [M] /home/chili/Desktop/Forum/L_/DPO_RT3562_3592_3062_LinuxSTA_V2.4.1.1_20101217/os/linux/../../common/crypt_sha2.o
<snip>
In agreement with my esteemed colleague ratcheer, I'd remove the older versions 2.3.0.0 of the driver altogether.
I am running very low on ideas/talent/mojo.
"Oh, Ubuntu, you are my favorite Linux-based operating system" --Dr. Sheldon Cooper, B.Sc., M.Sc., M.A., Ph.D., Sc.D.
Chili, thanks for all your work, advice, and suggestions. I have finally resolved the issue. Unfortunately, it's not in a manner that will help too many other people. That's okay for me, but it won't be beneficial to the rest of the users looking for solutions here. That's too bad. But if you are looking for a quick fix to this problem, I can at least give you my solution.
After lots of time and effort (I know I invested > 10 hours in this, and I don't know how much Chili or Ratcheer also helped, but I sincerely appreciate all you guys did), I recognized it was time to cry "Uncle!" I went to Best Buy, found the NetGear N150 Wireless USB Adapter, found the installation tips on...
Okay, I found the link earlier.
This doesn't help at all! I know I found the link on this forum somewhere... I don't know what link or site it was, though. At any rate, I foudn the driver for the Netgear USB, installed that driver, added the Netgear N150 to an open USB on my PC, and sure enough, everything works! It's not helping anybody with the Rosewill RNX-N150PC, but at least my problem is solved. Thanks for everyone's help and attention. Recommendation? Stop at Best Buy, get the USB adapter for $35, and take wireless with you wherever you need it!
Bookmarks