Ralink rt2500 in 3.4a doesnt seem to work [Solved]

Issues Related to Networking (Wired and Wireless)

Moderator: Moderators

Postby freeallbadgers » Thu Aug 09, 2007 11:54

Okay they say a picture paints a thousand words, so here goes ...

screenshots and output of rt2500 set up in exactly the same way under 3.3 and 3.4

3.3

Image


Code: Select all
iwconfig for 3.3

ra0       RT2500 Wireless  ESSID:"FuckOffNoseyCunts"
          Mode:Ad-Hoc  Frequency=2.422 GHz  Cell: D6:8B:68:4F:D3:8E
          Bit Rate=11 Mb/s   Tx-Power:0 dBm
          RTS thr:off   Fragment thr:off
          Encryption key:6E69-7665-6B77-6869-7465-3132-33   Security mode:open
          Link Quality=70/100  Signal level=-41 dBm  Noise level:-199 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0



As you can see I am connected and knetworkmanager sees other essids.

3.4 screenshot


Image

Code: Select all
wmaster0  no wireless extensions.

wlan0     IEEE 802.11g  ESSID:"FuckOffNoseyCunts"
          Mode:Ad-Hoc  Frequency:2.422 GHz  Cell: D6:8B:68:4F:D3:8E
          Retry min limit:7   RTS thr:off   Fragment thr=2346 B
          Encryption key:6E69-7665-6B77-6869-7465-3132-33
          Link Quality:0  Signal level:0  Noise level:0
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0


Even tho I set up the network in exactly the same way, no essid's are detected, and unable to connect to my network.
User avatar
freeallbadgers
Growing Hen
 
Posts: 181
Joined: Sun Mar 11, 2007 8:12
Location: Glasgow, UK.

Postby rikd » Thu Aug 09, 2007 21:53

looks like in 3.3 you're using the rt2500 legacy driver (ra0)
but in 3.4 you're using the new rt2500pci driver (wlan0) which is now included in the kernel..

They're in /lib/modules/2.6.22-sabayon/kernel/drivers/net/wireless/mac80211/rt2xx

You could try installing the older drivers. Beware - I don't know what this will do to the overall stability of your system, so proceed with caution.

emerge in the legacy drivers
net-wireless/rt2500-1.1.0_pre2007032315 or net-wireless/rt2500-1.1.0_pre2007071515

shutdown the current driver
# ifconfig wlan0 down
# rmmod rt2x00lib rt2x00pci rt2500pci

If you can't successfully rmmod the modules - maybe rename them and reboot to ensure they aren't loaded.

Now try bringing up the new modules
# modprobe rt2500
# ifconfig ra0 up

with a bit of luck that should get things going.
rikd
Simple Hen
 
Posts: 47
Joined: Mon Mar 19, 2007 22:56
Location: Limerick, Ireland

Postby freeallbadgers » Thu Aug 09, 2007 23:42

Its gonna be hard to emerge drivers without a internet connection :? well wifi connection I mean
User avatar
freeallbadgers
Growing Hen
 
Posts: 181
Joined: Sun Mar 11, 2007 8:12
Location: Glasgow, UK.

Postby federoco » Fri Aug 10, 2007 0:47

I wil try, and i´ll post the results.

But may be the labor will be too much for my linux knowledge .

:shock:
federoco
Baby Hen
 
Posts: 6
Joined: Fri Jun 01, 2007 12:29

Postby cappa72 » Fri Aug 17, 2007 12:30

As I experienced the rt2500 will not work when its interface name is wlan0.
It shall be ra0.
I have got the same problem.
I tried to comply the rt2500-cvs-2007010822 driver, but returned with errors (when I am home I will attach the files.) This driver works well on other distributions right after the installation.
I recognised that the version numbers of kernel-headers (2.6.19..) and the actual kernel (2.6.22-sabayon) are not the same. Could the failure caused by this?
(gcc as well as glibc are installed).
Should I eliminate the present driver (rt2500pci that is in the kernel) and install the legacy one?

Thank you in advance.
Cappa the newbie.
cappa72
Baby Hen
 
Posts: 4
Joined: Tue Mar 27, 2007 10:51
Location: HU

Postby cappa72 » Fri Aug 17, 2007 16:01

Emerging the legacy driver, the following errors got:

Code: Select all
100%[==================================================================>] 314.747       30.15K/s    ETA 00:00

16:57:00 (32.44 KB/s) - `/usr/portage/distfiles/rt2500-1.1.0_pre2007032315.tar.gz' saved [314747/314747]

 * checking ebuild checksums ;-) ...                                      [ ok ]
 * checking auxfile checksums ;-) ...                                     [ ok ]
 * checking miscfile checksums ;-) ...                                    [ ok ]
 * checking rt2500-1.1.0_pre2007032315.tar.gz ;-) ...                     [ ok ]
 * Determining the location of the kernel source code
 * Found kernel source directory:
 *     /usr/src/linux
 * Found kernel object directory:
 *     /lib/modules/2.6.22-sabayon/build
 * Found sources for kernel version:
 *     2.6.22-sabayon
 * Checking for suitable kernel configuration options...
 *   CONFIG_NET_RADIO:   is not set when it should be.
 * Please check to make sure these options are set correctly.
 * Failure to do so may cause unexpected problems.
 * Once you have satisfied these options, please try merging
 * this package again.

!!! ERROR: net-wireless/rt2500-1.1.0_pre2007032315 failed.
Call stack:
  ebuild.sh, line 1637:   Called dyn_setup
  ebuild.sh, line 704:   Called qa_call 'pkg_setup'
  ebuild.sh, line 44:   Called pkg_setup
  rt2500-1.1.0_pre2007032315.ebuild, line 26:   Called linux-mod_pkg_setup
  linux-mod.eclass, line 464:   Called linux-info_pkg_setup
  linux-info.eclass, line 572:   Called check_extra_config
  linux-info.eclass, line 471:   Called die

!!! Incorrect kernel configuration options
!!! If you need support, post the topmost build error, and the call stack if relevant.
!!! A complete build log is located at '/var/tmp/portage/net-wireless/rt2500-1.1.0_pre2007032315/temp/build.log'.

!!! This ebuild is from an overlay: '/usr/portage/local/layman/sabayon'


Is there any suggestion how to comply the legacy driver?

Thank you and BR,
Cappa
cappa72
Baby Hen
 
Posts: 4
Joined: Tue Mar 27, 2007 10:51
Location: HU

Postby rikd » Fri Aug 17, 2007 20:03

I just did a build using rt2500-cvs-2007081713 on unmodified 3.4a and it built perfectly.

modprobe seems to work - but I don't have an rt2500pci device to try out.

Can you try getting the cvs tarball above?
rikd
Simple Hen
 
Posts: 47
Joined: Mon Mar 19, 2007 22:56
Location: Limerick, Ireland

Postby rikd » Fri Aug 17, 2007 20:07

Oh - and meant to add...

yes you'll need to disable the internal modules

Add the following to /etc/modprobe.d/blacklist
Code: Select all
blacklist rt2500usb
blacklist rt2x00lib
blacklist rt2x00pci
blacklist rt2x00usb
blacklist rt73usb
rikd
Simple Hen
 
Posts: 47
Joined: Mon Mar 19, 2007 22:56
Location: Limerick, Ireland

Re: Ralink rt2500 in 3.4a doesnt seem to work.

Postby freeallbadgers » Mon Aug 20, 2007 17:00

“I just finished compiling glibc and now it says there is a new update available? Arrgh! It never ends!!”
User avatar
freeallbadgers
Growing Hen
 
Posts: 181
Joined: Sun Mar 11, 2007 8:12
Location: Glasgow, UK.

Previous

Return to Networking and Wireless

Who is online

Users browsing this forum: No registered users and 2 guests