Results 41 to 50 of 59
sudo modprobe rt2860 gave me this error "FATAL: Module rt2860 not found"...
- 03-11-2009 #41Just Joined!
- Join Date
- Mar 2009
- Posts
- 35
sudo modprobe rt2860 gave me this error "FATAL: Module rt2860 not found"
- 03-11-2009 #42
Maybe you need to try a different method. Is there a file named rt2860.ko in the driver folder? Maybe you need to point insmod to that file.
You may have to give the full path, instead of using ~/ for your home folder. Adjust the command to the full path to that file, I only gave an example.Code:sudo insmod ~/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/rt2860.ko
Paul
Please do not send Private Messages to me with requests for help. I will not reply.
- 03-11-2009 #43Just Joined!
- Join Date
- Mar 2009
- Posts
- 35
I copied the .ko file into the sbin folder. But I still get the same error when I try to load the driver. It says "FATAL: Module rt2860 not found."
Could my makefile be wrong? And it never made the module?
- 03-11-2009 #44Just Joined!
- Join Date
- Mar 2009
- Posts
- 35
When I couldn't find the .ko file I went to the RALink website and found firmware. I also downloaded and installed that.
- 03-11-2009 #45
The modules are usually located in the /lib/modules/<kernel version>/kernel/drivers/net/ folder. But I don't think that you can just copy it to that folder.
I would think that the driver would provide the firmware, but I could be wrong. The firmware should be put in the /lib/firmware folder, but it still won't work if the module won't load.
You may want to start from the beginning. First you need to go back to the driver source folder, and run this command.
If you ran the make command with sudo, then you may need sudo to run the make clean command. Keep some notes on what you tried, what worked and what didn't. You already now have some experience, so you should get through it fairly quickly. If you want to start fresh with a new download of the driver, that's good too.Code:make clean
You seem to stumble on installing the driver. I don't have an easy answer for this, maybe others in this forum can chime in with some help. Maybe you need to follow the instructions more closely, without the changes that I told you to do.Paul
Please do not send Private Messages to me with requests for help. I will not reply.
- 03-11-2009 #46Just Joined!
- Join Date
- Mar 2009
- Posts
- 35
- 03-11-2009 #47Just Joined!
- Join Date
- Mar 2009
- Posts
- 35
This is what happened during the "make" part.
Code:eric@eric-desktop:~/src/2008_0918_RT2860_Linux_STA_v1.8.0.0$ make make -C tools make[1]: Entering directory `/home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/tools' gcc -g bin2h.c -o bin2h make[1]: Leaving directory `/home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/tools' /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/tools/bin2h cp -f os/linux/Makefile.6 /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/Makefile make -C /lib/modules/2.6.27-11-generic/build SUBDIRS=/home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux modules make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic' CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../common/md5.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../common/mlme.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../common/rtmp_wep.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../common/action.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../common/cmm_data.o /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../common/cmm_data.c: In function ‘RTMP_FillTxBlkInfo’: /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../common/cmm_data.c:947: warning: label ‘FillTxBlkErr’ defined but not used CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../common/rtmp_init.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../common/rtmp_tkip.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../common/cmm_sync.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../common/eeprom.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../common/cmm_sanity.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../common/cmm_info.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../common/cmm_wpa.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../common/dfs.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../common/spectrum.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../sta/assoc.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../sta/aironet.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../sta/auth.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../sta/auth_rsp.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../sta/sync.o /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../sta/sync.c: In function ‘PeerBeacon’: /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../sta/sync.c:1303: warning: unused variable ‘ByteValue’ CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../sta/sanity.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../sta/rtmp_data.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../sta/connect.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../sta/wpa.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../os/linux/rt_linux.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../os/linux/rt_profile.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../os/linux/rt_main_dev.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../os/linux/sta_ioctl.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../common/ba_action.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../common/2860_rtmp_init.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../os/linux/2860_main_dev.o /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../os/linux/2860_main_dev.c: In function ‘RT28XXNetDevInit’: /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../os/linux/2860_main_dev.c:1030: warning: assignment discards qualifiers from pointer target type CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../common/cmm_data_2860.o LD [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/rt2860sta.o Building modules, stage 2. MODPOST 1 modules CC /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/rt2860sta.mod.o LD [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/rt2860sta.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic' cp -f /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/rt2860sta.ko /tftpboot cp: cannot create regular file `/tftpboot': Permission denied make: *** [LINUX] Error 1 eric@eric-desktop:~/src/2008_0918_RT2860_Linux_STA_v1.8.0.0$
- 03-11-2009 #48
Run the make command using sudo. It is trying to do something that requires root permissions. It may not even need the make install command. You'll have to try it and see.
Paul
Please do not send Private Messages to me with requests for help. I will not reply.
- 03-11-2009 #49Just Joined!
- Join Date
- Mar 2009
- Posts
- 35
Ok, I did that.
But the insmod still can't find the file. I have the rt2860.ko file in the sbin. I'm looking through my modules and there isn't one for the rt2860Code:eric@eric-desktop:~$ cd /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0 eric@eric-desktop:~/src/2008_0918_RT2860_Linux_STA_v1.8.0.0$ sudo make [sudo] password for eric: make -C tools make[1]: Entering directory `/home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/tools' gcc -g bin2h.c -o bin2h make[1]: Leaving directory `/home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/tools' /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/tools/bin2h cp -f os/linux/Makefile.6 /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/Makefile make -C /lib/modules/2.6.27-11-generic/build SUBDIRS=/home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux modules make[1]: Entering directory `/usr/src/linux-headers-2.6.27-11-generic' CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../common/rtmp_init.o CC [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/../../os/linux/sta_ioctl.o LD [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/rt2860sta.o Building modules, stage 2. MODPOST 1 modules CC /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/rt2860sta.mod.o LD [M] /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/rt2860sta.ko make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-11-generic' cp -f /home/eric/src/2008_0918_RT2860_Linux_STA_v1.8.0.0/os/linux/rt2860sta.ko /tftpboot eric@eric-desktop:~/src/2008_0918_RT2860_Linux_STA_v1.8.0.0$
Another install guide said there should be a rt2860.ko in the modules file. So I copied it into /lib/modules/2.6.27-11-generic/kernel/drivers/net. I tried sudo modprobe rt2860 and it says "FATAL: Module rt2860 not found." still.
- 03-11-2009 #50
If you look at the output, it is creating a folder named /tftpboot and putting the driver there. I bet if you look, you'll find it there. I don't understand why it is putting it there, so I will have to do some checking.
If you want to again try and manually install it, you should put it in the wireless folder. it is is the same directory that you put it in the first time.
/lib/modules/<kernel version>/kernel/drivers/net/wireless
I think that you should run depmod -a first, them modprobe it to try and load it. Use sudo for doing this.Paul
Please do not send Private Messages to me with requests for help. I will not reply.


Reply With Quote

