LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Wireless Networking (https://www.linuxquestions.org/questions/linux-wireless-networking-41/)
-   -   need ray_cs to use wireless network card with fedora core (https://www.linuxquestions.org/questions/linux-wireless-networking-41/need-ray_cs-to-use-wireless-network-card-with-fedora-core-379286/)

via_strass 11-02-2005 10:45 AM

need ray_cs to use wireless network card with fedora core
 
hi there
i am dual-booting win xp and fedora core 4 on a new fujitsu-siemens "amilo pro" laptop.
basically i haven't been able to configure the built in wireless card under linux.
wireless networking works with windows, and the internet connection works fine with linux with an ethernet cable plugged straight into my broadband modem/router.
i used the network configuration tool to add this card, which was not automatically detected.
i got from windows device manager the type of card (a raylink) and also copied the irq# = 7 and the memory range from the windows settings, although i wasn't sure if these should be the same.
initialization fails with error messages:
"The Ethernet card could not be initialized. Please verify your settings and try again."
and below:
"Command failed: /sbin/modprobe ray_cs irq=7 mem=FFEDA000-FFEDBFFF
Output:
FATAL: Module ray_cs not found."
i'm guessing i need to add the kernel module ray_cs? however i have no idea how to do this, in particular if fedora includes tools to do this for me.
please could someone advise me?

2Gnu 11-03-2005 10:20 PM

You can get the RaLink Linux drivers, including builds for FC, here:
http://www.ralinktech.com/supp-1.htm

via_strass 11-05-2005 04:46 PM

thanks for your reply
i downloaded the linux drivers for the onboard ralink2500 as suggested
however, installing them failed, using the below commandline, where i have put what seems to be the right path for my kernel sources, and the other options were given by the Readme

[root@localhost Module]# make -C /usr/src/kernels/2.6.11-1.1369_FC4-i686/ subdirs=$PWD modules
make: Entering directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'
CHK include/linux/version.h
CHK include/asm-i386/asm_offsets.h
make[1]: *** No rule to make target `arch/i386/kernel/msr.c', needed by `arch/i386/kernel/msr.o'. Stop.
make: *** [arch/i386/kernel] Error 2
make: Leaving directory `/usr/src/kernels/2.6.11-1.1369_FC4-i686'

if anyone has an idea as to why this went wrong, i would be grateful
however i have also posted this question on the ralink driver forums
http://61.222.76.235/phpbb2/viewforum.php?f=2
so otherwise hopefully someone there will help

2Gnu 11-05-2005 05:43 PM

I downloaded the package and took a look (I have neither FC nor a Raylink card, so I can only be of so much help on this one). It seems that the driver package includes the appropriate headers and the instructions are different than you posted. Looking at the files included, though, they do not match the instructions. There is no module dir.

For 2.6 series kernel:
a. run 'cd STA/Module'
'cp ../2.6x/Makefile .'

b. $make all

c. $cp RT2561.bin /etc/Wireless/RT61STA/ # copy firmware
$cp RT2561S.bin /etc/Wireless/RT61STA/
$cp RT2661.bin /etc/Wireless/RT61STA/

d. run '/sbin/insmod rt61.ko' (as root)
'/sbin/ifconfig ra0 inet YOUR_IP up'

Don't know what to 'make' of this one. (What a horrible pun.)

Mad0Driver 12-01-2006 10:48 PM

Ray_cs
 
Hello-

First off i would like to say hi to all!

And-- I hate to bring upan old post, but i am having the same trouble. I tried the instructions offered by the last poster, but it says "bash: qmake: command not found" How do i fix this. Did you successfully configure it?

Thanks

Austin

This is on FC5

via_strass 12-02-2006 09:34 AM

Ralink drivers ad serialmonkey drivers
 
HI there Mad0Driver,

I have successfully configured the raylink drivers (several times!) on Fedora Core.
First of all, however, there is a little bit of confusion in the above discussion about which drivers to use. Ralink released a linux driver which is available here
http://www.ralinktech.com/supp-1.htm

However, you shouldn't use this one. The rt2500 project has a newer, better supported driver based on that original raylink one. This is available at
http://rt2x00.serialmonkey.com/wiki/...itle=Downloads
If you have a rt2500 card, you should get the 'Latest BETA rt2500 driver' from that page. Unzip the package, and go to the Module subdirectory. Follow the instructions in the README file. (Basically run 'make' and 'make install', but there are also specific instruction for FC3 users which you may want to try if that doesn't work).

As i said, I have now installed this driver successfully many times on FC3, FC5, FC6, so let me know if you have any problems and i may be able to help.

via_strass

Mad0Driver 12-02-2006 03:56 PM

Via_Strass- thank you for your reply. I did as you said, but when i got teh in $make install command, it said that there was a missing file operand. Which one do i need?
and when it says go the ./Utility directory, does that simply mean go to the utility directory of the downloaded folder? Frankly, the ./ is throwing me off.

Thank you

Austin

via_strass 12-02-2006 06:30 PM

please post exact error messages
 
Hey Mad0,

The ./Utility just means the Utility subdir of the downloaded directory, yes. In general . refers to the current directory.
The instructions 'go to ./Utility' assume you are in the unpacked 'rt2500' directory.

However you needn't worry about building the Utility until you have built the driver/module; it won't be much use until you have got the wireless card working.

The error message that you get from 'make install' could be because you don't have kernel sources installed. With Fedora these are in a package called kernel-devel if i recall correctly.
Code:

yum install kernel-devel
may do the trick. But i'm not sure, because i would have thought that 'make' would have failed with the right kernel sources. I'm assuming that 'make' was successful?

Please could you (and do this in general if you're asking for help) post the full error messages you get when you run 'make install'.

Cheers, via_strass

Mad0Driver 12-03-2006 02:26 PM

Here they are-

[root@localhost ~]# cd /root/rt2500-1.1.0-b4/Module
[root@localhost Module]# $make
[root@localhost Module]# $make install
install: missing file operand
Try `install --help' for more information.

[root@localhost Module]# make
make: *** /lib/modules/2.6.18-1.2239.fc5/build: No such file or directory. Stop.
rt2500.ko failed to build!
make: *** [module] Error 1
[root@localhost Module]#

[root@localhost Module]# make install
echo "2.6 module install"
2.6 module install
make -C /lib/modules/2.6.18-1.2239.fc5/build SUBDIRS=/root/rt2500-1.1.0-b4/Module modules_install
make: *** /lib/modules/2.6.18-1.2239.fc5/build: No such file or directory. Stop.
make: *** [modules_install] Error 2

Let meknow what you think - i will try your suggestion.

Thanks

Austin

Mad0Driver 12-03-2006 11:22 PM

Okay, i did what you said with the yum install- that solved the make and make install troubles. Now i'm tring to install the utility, and i need qmake. I downloaded it from the recommended source, but it was a windows version. I tried to use it anyway, but there is no "configure" command. Is that something i should have? Thanks alot!!!

Okay- I was able toconfigure it. Im using it now! Thanks a million!

via_strass 12-04-2006 11:09 AM

well done
 
just in case you are still wondering:

you don't type the dollar sign, just 'make'
the dollar sign is the prompt that appears on the classic unix command line, in your case you have a prompt that looks like
Code:

[root@localhost ~]#
instead.

Code:

/lib/modules/2.6.18-1.2239.fc5/build
is a file which points to the location of the kernel sources. the source code to the kernel (or at least part of it) is necessary for you to build a kernel module from scratch. that's what you installed with 'yum install kernel-devel'

the 'configure' script shouldn't already be there, but is part of the software package that you're installing. that's why you have to type
Code:

./configure
to run the configure script that's in the directory of the package.

anyway, glad you got it all working.


All times are GMT -5. The time now is 09:55 PM.