LinHES Forums
http://forums.linhes.org/

RaLink rt2500 in R5F27
http://forums.linhes.org/viewtopic.php?f=2&t=16447
Page 1 of 1

Author:  silentaccord [ Tue Sep 11, 2007 5:16 pm ]
Post subject:  RaLink rt2500 in R5F27

I just upgraded to R5F27 and I can't get an rt2500 wireless adapter working. With R5D1, I just followed the the "Using WPA" steps (substituting "ra0" for "eth-wifi") at: http://rt2x00.serialmonkey.com/wiki/index.php?title=Debian_rt2500_Howto#Using_WPA

In R5F27, the adapter shows up as wlan0 instead of ra0 so I used that but when I got to the "iwpriv wlan0 set AuthMode=WPAPSK" step, it said "Invalid command : set". Since I couldn't run the iwpriv commands, I tried temporarily disabling encryption on the access point but it still didn't work. Does anyone know how to use the rt2500 with R5F27?

Author:  mpapet [ Fri Sep 14, 2007 10:08 am ]
Post subject:  Different Suggestion

Instead of using wireless, I can actually recommend those powerline ethernet adapters.

I use a cheapie OEM pair and it is much easier than dealing with wireless.

Author:  adoute [ Fri Sep 14, 2007 11:07 am ]
Post subject: 

Both of my kids KM frontends used to use Linksys wireless PCI cards under R5B7 (using the RT61 driver). I tried for a short while to get the driver working under R5F27, and didn't get anywhere. I figured that my time == money, so instead of continuing to try and get the RT61 driver working, I bought a Buffalo wireless gaming adapter - its basically a wireless bridge with a 4 port switch built in. Both of the kids KM boxes connect to it, and both can watch recorded shows / movies at the same time with no bandwidth issues.

Using hardwired network adapters certainly made the installation go much faster / smoother. I'm very happy I decided to give up on the RT61 driver.

Allan

Author:  rusty- [ Tue Sep 18, 2007 10:17 pm ]
Post subject: 

I got my linksys wmp54g (which uses the rt2500 drivers) to work after reading these two posts:
http://mysettopbox.tv/phpBB2/viewtopic.php?t=13256.
http://mysettopbox.tv/phpBB2/viewtopic.php?t=10804

I changed my /etc/network/interfaces to the following and my wifi card comes up consistently when i reboot.

Code:
# /etc/network/interfaces -- configuration file for ifup(8), ifdown(8)

# The loopback interface
# automatically added when upgrading
auto lo
iface lo inet loopback

#auto eth0
#iface eth0 inet dhcp

auto wifi1
iface wifi1 inet dhcp
        wireless-mode managed
        wireless-essid "put_yours_here"
        wireless-key "put_yours_here"
        wireless-channel "put_yours_here"
        pre-up modprobe -r rt2500pci
        pre-up modprobe -r rt2500
        pre-up modprobe rt2500 ifname=wifi1


I don't know if this is the most elegant solution, but it works for me. Hope it helps.

Author:  silentaccord [ Wed Sep 19, 2007 6:29 pm ]
Post subject: 

Thanks for all the suggestions. This particular machine is a seldom used frontend so it's not a high priority and I don't want throw any money at it. I had been pleasantly surprised at how easy the wireless setup was when I first tried R5D1 and I was a little disappointed when it didn't work with R5F27. I'm going to try the changes to /etc/network/interfaces but it may be more than a week before I have a chance to do this. I'll report back to let others know how it goes.

Author:  silentaccord [ Sat Sep 29, 2007 7:12 pm ]
Post subject: 

I combined rusty-'s /etc/network/interfaces additions with the ones I had been using for WPA encryption in R5D1:
Code:
auto ra0
iface ra0 inet dhcp
pre-up modprobe -r rt2500pci
pre-up modprobe -r rt2500
pre-up modprobe rt2500 ifname=ra0
pre-up iwconfig ra0 essid "my_network_name"
pre-up iwpriv ra0 set AuthMode=WPAPSK
pre-up iwpriv ra0 set EncrypType=TKIP
pre-up iwpriv ra0 set WPAPSK="my_wpa_key"

It's working perfectly. Thanks again for tip.

Author:  Girkers [ Sun Mar 23, 2008 7:58 pm ]
Post subject: 

silentaccord,

I have tried to follow the instructions in this topic, but I can't get the wireless to work. I had the exact same problem as you did in the first post, I have downloaded the firmware for the card, but I still can't get it to recognise the interface ra0.

Any help would be appreciated

Author:  silentaccord [ Tue Mar 25, 2008 5:30 am ]
Post subject: 

The lines I added to /etc/network/interfaces (see my previous post) were all that was required to get mine working. I didn't have to do anything with firmware. If you want to test it interactively first, you can try running the following commands:
Code:
# modprobe -r rt2500pci
# modprobe -r rt2500
# modprobe rt2500 ifname=ra0
# ifconfig ra0 up
# iwconfig ra0 channel 6
# iwconfig ra0 essid network_name
# iwpriv ra0 set AuthMode=WPAPSK
# iwpriv ra0 set EncrypType=TKIP
# iwpriv ra0 set WPAPSK=network_key
# pump -i ra0

These are for a WPA encrypted network on channel 6. You might have to adjust them to suit your needs.

Author:  Girkers [ Tue Mar 25, 2008 5:03 pm ]
Post subject: 

Thanks I will let you know how it goes.

Author:  Girkers [ Fri Mar 28, 2008 5:01 am ]
Post subject: 

I tried it step by step and got the following error:

Code:
>ifconfig ra0 up
ra0: ERROR while getting interface flags: No such device


All previous commands work without any form of response.

For reference the card I am using is:

Code:
>lspci -v
Network controller: RaLink RT2561/RT61 rev B 802.11g
Subsystem: D-Link System Inc DWL-G520 Rev C


Do I need to D/L a newer driver or whatelse could anyone suggest.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/