RT2800 Wireless b/g/n PCI adapter setup

Issues related to configuring your network

RT2800 Wireless b/g/n PCI adapter setup

Postby archange » 2011/02/18 15:48:15

Hi, thank you for having me on the forums.

Can anyone help me configure the RT2800 Wireless b/g/n PCI adapter that I've just bought? I tried to follow the readme in the drivers provided by the manufacturer (Edimax), compiled the drivers (rt2860sta.ko) and the device actually comes up as "ra0", but when I try to configure it in /etc/sysconfig/network-scripts/ifcfg-ra0, I get a bunch of errors saying it cannot set the essid, channel and basically everything else...

I am using Centos 5.5 x86-64, kernel version 2.6.18-194.32.1.el5, on a fresh install - no current wireless drivers installed. I had to change my system drive anyway and I wanted to do this on a clean slate. The device itself is the last one in the output below.

Code: Select all
# lspci -m
00:00.0 "Host bridge" "Intel Corporation" "4 Series Chipset DRAM Controller" -r03 "Micro-Star International Co., Ltd." "Unknown device 7592"
00:02.0 "VGA compatible controller" "Intel Corporation" "4 Series Chipset Integrated Graphics Controller" -r03 "Micro-Star International Co., Ltd." "Unknown device 7592"
00:1b.0 "Audio device" "Intel Corporation" "N10/ICH 7 Family High Definition Audio Controller" -r01 "Micro-Star International Co., Ltd." "Unknown device 7592"
00:1c.0 "PCI bridge" "Intel Corporation" "N10/ICH 7 Family PCI Express Port 1" -r01 "" ""
00:1c.1 "PCI bridge" "Intel Corporation" "N10/ICH 7 Family PCI Express Port 2" -r01 "" ""
00:1d.0 "USB Controller" "Intel Corporation" "N10/ICH7 Family USB UHCI Controller #1" -r01 "Micro-Star International Co., Ltd." "Unknown device 7592"
00:1d.1 "USB Controller" "Intel Corporation" "N10/ICH 7 Family USB UHCI Controller #2" -r01 "Micro-Star International Co., Ltd." "Unknown device 7592"
00:1d.2 "USB Controller" "Intel Corporation" "N10/ICH 7 Family USB UHCI Controller #3" -r01 "Micro-Star International Co., Ltd." "Unknown device 7592"
00:1d.3 "USB Controller" "Intel Corporation" "N10/ICH 7 Family USB UHCI Controller #4" -r01 "Micro-Star International Co., Ltd." "Unknown device 7592"
00:1d.7 "USB Controller" "Intel Corporation" "N10/ICH 7 Family USB2 EHCI Controller" -r01 -p20 "Micro-Star International Co., Ltd." "Unknown device 7592"
00:1e.0 "PCI bridge" "Intel Corporation" "82801 PCI Bridge" -re1 -p01 "" ""
00:1f.0 "ISA bridge" "Intel Corporation" "82801GB/GR (ICH7 Family) LPC Interface Bridge" -r01 "Micro-Star International Co., Ltd." "Unknown device 7592"
00:1f.1 "IDE interface" "Intel Corporation" "82801G (ICH7 Family) IDE Controller" -r01 -p8a "Micro-Star International Co., Ltd." "Unknown device 7592"
00:1f.2 "IDE interface" "Intel Corporation" "N10/ICH7 Family SATA IDE Controller" -r01 -p8f "Micro-Star International Co., Ltd." "Unknown device 7592"
00:1f.3 "SMBus" "Intel Corporation" "N10/ICH 7 Family SMBus Controller" -r01 "Micro-Star International Co., Ltd." "Unknown device 7592"
02:00.0 "Ethernet controller" "Atheros Communications" "Atheros AR8132 / L1c Gigabit Ethernet Adapter" -rc0 "Micro-Star International Co., Ltd." "Unknown device 7592"
03:00.0 "Ethernet controller" "Realtek Semiconductor Co., Ltd." "RTL-8169 Gigabit Ethernet" -r10 "Realtek Semiconductor Co., Ltd." "RTL-8169 Gigabit Ethernet"
03:01.0 "Network controller" "RaLink" "RT2800 802.11n PCI" "Edimax Computer Co." "Unknown device 7728"


Full system details.
I wonder if I should have posted under "Hardware" instead...

Thank you for your valuable time.
archange
 
Posts: 9
Joined: 2011/02/18 15:21:05

Re: RT2800 Wireless b/g/n PCI adapter setup

Postby AlanBartlett » 2011/02/18 23:44:08

I wonder if I should have posted under "Hardware" instead...

No, here is good enough. :-)

I've taken a look at your full system details to find the Vendor:Device ID pairing (a.k.a. the device fingerprint), which is 1814:0601.

If you were to go to the Device IDs page at the ELRepo Project's website and search for that fingerprint, you will find it referenced under the rt2860sta.ko module heading --

pci 1432:7708 kmod-rt2860sta
pci 1432:7727 kmod-rt2860sta
pci 1432:7728 kmod-rt2860sta
pci 1432:7738 kmod-rt2860sta
pci 1432:7748 kmod-rt2860sta
pci 1432:7758 kmod-rt2860sta
pci 1432:7768 kmod-rt2860sta
[color=0000ff]pci 1814:0601 kmod-rt2860sta[/color]
pci 1814:0681 kmod-rt2860sta
pci 1814:0701 kmod-rt2860sta
pci 1814:0781 kmod-rt2860sta
pci 1A3B:1059 kmod-rt2860sta

The entry in the third column tells that the kernel independent, kABI tracking kmod-rt2860sta package should provide the correct driver for that device.

As you are running the 64-bit version of CentOS, the exact kmod-rt2860sta package you should download and transfer to the target system is --

http://elrepo.org/linux/elrepo/el5/x86_ ... x86_64.rpm

Once you have tidied up after your bout of kernel module self-compilation, just install the package, configure the system and (theoretically) all should be well.
User avatar
AlanBartlett
Forum Moderator
 
Posts: 8975
Joined: 2007/10/22 11:30:09
Location: ~/Earth/UK/England/Suffolk

RT2800 Wireless b/g/n PCI adapter setup

Postby NedSlider » 2011/02/19 07:17:59

AlanBartlett wrote:

As you are running the 64-bit version of CentOS, the exact kmod-rt2860sta package you should download and transfer to the target system is --

http://elrepo.org/linux/elrepo/el5/x86_ ... x86_64.rpm


You'll also want the accompanying firmware package too for that device:

http://elrepo.org/linux/elrepo/el5/x86_ ... noarch.rpm
NedSlider
 
Posts: 2848
Joined: 2005/10/28 13:11:50
Location: UK

Re: RT2800 Wireless b/g/n PCI adapter setup

Postby archange » 2011/04/15 15:36:21

AlanBartlett, NedSlider,

Thank you both for pointing out the packages.
Forgive my n00bness, but can you tell me which needs to be addressed first: the firmware or the driver?
Also, details for the procedure would be most welcome, since this is the first time that I encounter any driver challenges...
archange
 
Posts: 9
Joined: 2011/02/18 15:21:05

Re: RT2800 Wireless b/g/n PCI adapter setup

Postby pschaff » 2011/04/15 15:57:57

The safe bet is to do them at the same time. Create a temporary directory containing the packages. As root cd to the directory and
Code: Select all
rpm -Uvh *.rpm
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: RT2800 Wireless b/g/n PCI adapter setup

Postby archange » 2011/04/16 15:13:29

That's done, thanks.

Now, do I have to edit /etc/modprobe.conf and create the device alias, or is it better to run "setup" to add the new device?
archange
 
Posts: 9
Joined: 2011/02/18 15:21:05

Re: RT2800 Wireless b/g/n PCI adapter setup

Postby pschaff » 2011/04/17 14:18:13

I'd just reboot before messing with anything else. If the device is not recognized then start looking at what else needs to be done.
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: RT2800 Wireless b/g/n PCI adapter setup

Postby archange » 2011/04/19 00:22:47

I did a reboot. Device ra0 appears now in /etc/sysconfig/network-scripts
Output:


# Please read /usr/share/doc/initscripts-*/sysconfig.txt
# for the documentation of these parameters.
TYPE=Wireless
DEVICE=ra0
HWADDR=00:1F:1F:D8:67:FD
MASTER=no
BOOTPROTO=dhcp
NETMASK=
DHCP_HOSTNAME=
IPADDR=
BONDING_OPTS=
DOMAIN=
ONBOOT=no
USERCTL=no
IPV6INIT=no
PEERDNS=yes
ESSID=HS
CHANNEL=6
MODE=Master
SECURITYMODE=restricted
RATE=11M
BRIDGE=br0

The following errors appear when starting network:
Code: Select all
Bringing up interface ra0:  Error for wireless request "Set Mode" (8B06) :
    SET failed on device ra0 ; Network is down.
Error for wireless request "Set Frequency" (8B04) :
    SET failed on device ra0 ; Network is down.
Error for wireless request "Set Bit Rate" (8B20) :
    SET failed on device ra0 ; Network is down.
Error for wireless request "Set Encode" (8B2A) :
    SET failed on device ra0 ; Network is down.
Error for wireless request "Set Encode" (8B2A) :
    SET failed on device ra0 ; Network is down.
Error for wireless request "Set ESSID" (8B1A) :
    SET failed on device ra0 ; Network is down.

[Moderator edit: Added code tags to preserve formatting.]

Any ideas on how to proceed?
archange
 
Posts: 9
Joined: 2011/02/18 15:21:05

Re: RT2800 Wireless b/g/n PCI adapter setup

Postby pschaff » 2011/04/19 10:23:37

How are you going about configuring the device? Have you read the Wiki NetworkManager article?
pschaff
Retired Moderator
 
Posts: 18277
Joined: 2006/12/13 20:15:34
Location: Tidewater, Virginia, North America

Re: RT2800 Wireless b/g/n PCI adapter setup

Postby archange » 2011/04/27 20:18:18

I did read it.

I'm under the impression that Network Manager is best suited for Laptops that need lots of profiles, whereas my machine is a home server with fixed functions.
Currently, it also serves as my Internet Gateway through masquerade. I have a bridge configured (br0) and my internal lan (eth1) is part of it. So should be my wireless interface (ra0).

Since I haven't completely foregone the graphics interface during installation, I can set up the wifi adapter through the graphical manager, if I connect some peripherals to the server...

What I need is to set up the wireless interface as an AP (master), complete with security and make it part of the bridge. And not to mess up what I've configured so far in the process, because I depend on this little server already. :-)

And here's where I got stuck.
archange
 
Posts: 9
Joined: 2011/02/18 15:21:05

Next

Return to CentOS 5 - Networking Support

Who is online

Users browsing this forum: No registered users and 2 guests