LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking
User Name
Password
Linux - Wireless Networking This forum is for the discussion of wireless networking in Linux.

Notices


Reply
  Search this Thread
Old 04-14-2005, 02:44 PM   #1
gfreire
LQ Newbie
 
Registered: Apr 2005
Posts: 6

Rep: Reputation: 0
HELP rt2500 wlan card on Suse 9.2


I have tried some tutorials but they dont seem to work i have downloaded the drivers from ralinktech.com and also sourceforge.net, I read the instructions in the Readme for a kernel version 2.6.x but i can't seem to get it working.

i have the kernel-source installed from the Suse 9.2 cd. I managed to get the card to work with ndiswrapper but makes my system freeze/crash.

If someone could help me out on how to install this on Suse 9.2 i would appreciate it very much i am a linux newbie, i know some stuff.

Last edited by gfreire; 04-14-2005 at 05:10 PM.
 
Old 04-15-2005, 05:37 AM   #2
timhardy
LQ Newbie
 
Registered: Nov 2003
Location: London
Distribution: Suse 9.2
Posts: 12

Rep: Reputation: 0
Try downloading the latest version using cvs:
>cvs -dserver:anonymous@cvs.sf.net:/cvsroot/rt2400 co source

[damn smilies - that should be "cvs -d" semicolon "pserver"]

Then cd to the directory containing the module source code and compile using make. The driver works best when debugging is enabled and this must be done at compilation using "make debug":
>cd source/rt2500/Module/
>make debug
>su
>YOURPASSWORD
#make install
[EDIT]depmod -a[/EDIT]

Now test it by inserting the module, NB "debug=1" turns on debugging:
#modprobe rt2500 debug=1
#ifconfig

You should see the driver is up. NB although wireless interfaces are generally labelled wlan0 the interface created by this driver will be called ra0.

Now create the RaConfig interface

>cd ../Utilitys/
>qmake -o Makefile raconfig2500.pro
>make

This creates RaConfig2500, a graphical user interface making it easy to set up your interface. This must be run as root and, since it is a GUI, needs access to X. The easiest way to do this I find is to use ssh -X root@localhost rather than logging out as yourself and logging back in as root. NB RaConfig will complain - and may crash - if ra0 is not up. Always make sure you "ifconfig ra0 up" before running it.

So, running as a normal user:
>ssh -X root@localhost
>YOURPASSWORD
#cd [to directory containing RaConfig]
#./RaConfig

Now fill in the details of your interface and save them.

Now you should be able to get the interface up with:
#ifconfig ra0 up

Assuming you're getting IP address dynamically assigned, grap an IP address with
#dhcpd ra0

Hope this helps. If you get stuck at any point please reply with precise details of what you tried and any error messages you get. This is very fiddly to set up and took me quite a while. I am sure there are better ways of doing it and I may have missed out an important step - so if anyone else reading has suggestions please jump in with them!

[EDIT]Added missing "depmod -a" step as per http://www.linuxquestions.org/questi...hreadid=309077

Last edited by timhardy; 05-02-2005 at 05:28 AM.
 
Old 04-15-2005, 09:03 AM   #3
gorank
LQ Newbie
 
Registered: Mar 2004
Location: Sweden
Distribution: SuSE 9.2, 64-bit (AMD)
Posts: 2

Rep: Reputation: 0
There is a good howto at www.bb-zone.com/misc/rt2500/ . Anyway it helped me.
But note that the linux rt2500 driver is beta software. I for one get random freezes, but for long periods the driver works without a flaw.
Göran K
 
Old 04-15-2005, 12:20 PM   #4
gfreire
LQ Newbie
 
Registered: Apr 2005
Posts: 6

Original Poster
Rep: Reputation: 0
Ok i managed to get it installed and up and running but i was trying to use the graphical interface configurator RaConfig2500 in the Utilitys dir and i cant get it running. It gives me a error cannot connect to X server. I tried the way u said using ssh -X root@localhost

Also i just have a couple question what file is the config file for the Suse-firewall, as i cannot ping anything within my network, such as my gateway. And is there anyway i can make it auto start at boot using a script like for redhat i know u can add stuff to /etc/rc.local but in Suse there is no rc.local

When i go to Yast2, newtwork devices, network cards, am i suppose to see it there configured or only my eth0, because at the moment i only have my eth0 there configured. And it still shows the wireless card as other not connected but i dont care about that.

I just wanna figure out how to make it load and connect on boot. So i dont have to turn it on all the time myself through the terminal.

Oh and when i installed it i didnt do make debug is there a big difference. Because if there is, how can i remove it so i can reinstall it with make debug

Thanks
 
Old 04-15-2005, 02:24 PM   #5
gorank
LQ Newbie
 
Registered: Mar 2004
Location: Sweden
Distribution: SuSE 9.2, 64-bit (AMD)
Posts: 2

Rep: Reputation: 0
Are you running KDE? In that case you can go to the K start menu and use 'Run command..' and type RaConfig2500 (maybe the whole search path to where you have installed it. I have it in /usr/bin so it is easy to fin.) You can also edit the K menu to start it from there (I have it in System/Configuration).
The firewall I configure in KDE:s Control Center.
As I understand it Yast suppose to find the wireless devices under wlan0, ..1 etc, and the rt2500 uses ra0 etc, so you can't configure it with Yast.
In the Howto at www.bb-zone.com you can read how you automagically can start the rt2500 at boot time
Greetings Göran
 
Old 04-24-2005, 03:54 PM   #6
timhardy
LQ Newbie
 
Registered: Nov 2003
Location: London
Distribution: Suse 9.2
Posts: 12

Rep: Reputation: 0
Sorry not to get back sooner. Thankfully Goran has answered most of your questions

Quote:
It gives me a error cannot connect to X server. I tried the way u said using ssh -X root@localhost
I suspect you are trying this while already running as root. Type "whoami" to check . You must run "ssh -X" as your usual, non-privileged, non-root user for it to work.

Quote:
Oh and when i installed it i didnt do make debug is there a big difference. Because if there is, how can i remove it so i can reinstall it with make debug
Earlier versions of the driver were quite unstable but (for reasons not known to the developers when I last checked the mailing list) compiling the module and inserting it with debugging enabled seemed to make the driver far more stable.

I'm not at my laptop at the moment so I can't be entirely sure but I think you should just be able to, as root, remove the module:

Code:
modprobe -r rt2500
then just follow my instructions above for compiling the module. Try "make uninstall" from the source/rt2500/Module/ directory. If not you can delete it manually but I believe that "make install" will overwrite the old one with the new anyway.
 
Old 05-03-2005, 10:59 AM   #7
sihulu
LQ Newbie
 
Registered: May 2005
Posts: 1

Rep: Reputation: 0
On a Debian system (having started X as a normal user) I open a X terminal and obtain root privileges with the su command. Then I get exactly the same error when trying to start RaConfig2500:

RaConfig2500: cannot connect to X server

I have also tried the "ssh -X root@localhost" command as normal user, which reports an error (or warning?) and queries the root password.

socket: Address family not supported by protocol
Password:

After entering the password, the root promp appears, but "RaConfig2500" again creates the same error message:

RaConfig2500: cannot connect to X server

I have had this problem before with some other programs I built myself too (cannot remember which ones right now) but never found the solution.
 
Old 05-03-2005, 11:46 AM   #8
timhardy
LQ Newbie
 
Registered: Nov 2003
Location: London
Distribution: Suse 9.2
Posts: 12

Rep: Reputation: 0
I don't know the answer to your problem I'm afraid but as a workaround you could always log out of X as normal user then log back into X as root and run RaConfig that way. Not ideal if you want to change wireless networks frequently, but it might get you up and running if you can deal with the hassle.

Alternatively instead of using the RaConfig utility, there's an console based tool that you could use instead that is included with the serialmonkey drivers: iwconfig

There should be instructions in /rt2500/source/rt2500/Module/iwpriv_usage.txt

I haven't used it personally so can't vouch for how easy or otherwise it is to use but you can search the rt2500 mailing lists for tips if you're stuck: there's a thread here discussing it, for example.

NB if you have already used RaConfig remove the config file created under /etc/Wireless/Ralink/ to prevent conflicts.

Hope this helps.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Install problem WLAN with Ralink rt2500 chipset on SuSE 10.0 Oliver Linux - Wireless Networking 3 06-28-2007 06:24 PM
Rt2500 wlan problems Bjerrk Linux - Hardware 3 11-13-2005 04:59 AM
Home WLAN based on Rt2500 E@zyVG Linux - Wireless Networking 4 04-09-2005 10:31 AM
ndiswrapper with rt2500 wireless card not working blendmaster Mandriva 13 04-01-2005 05:29 AM
Internet through wlan card with rt2500 chipset RaI Linux - Wireless Networking 4 12-19-2004 10:51 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking > Linux - Wireless Networking

All times are GMT -5. The time now is 12:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration