Find the answer to your Linux question:
Results 1 to 2 of 2
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    CentOS-6 I hope my wireless install steps helps you

    Hello All.
    I finally got my wireless going on my AMD box with CentOS 6.3 and I though I would share the steps I took to get it working. I made notes as I went along through trial and error and clean installs more than once, and I think these steps are pretty accurate as to what I did. Forgive me if I missed anything. Sometimes you get something to work and you forgot how you did it :lol

    I am a newb and I don't even understand all this stuff but I hope this helps someone. Please let me know what you think

    Anyway here we go: All commands done as su in terminal

    To Setup Wireless You will need

    A detected wireless device
    dhcp and wireless-tools installed
    The ifcfg-wlan0 OR ifcfg-ra0 file described below

    once on one of my attempts my wireless was named wlan0 by the system and once it was named ra0 by the system, don't know why.

    ================================================== ==
    You can start by using different commands to gather information
    ================================================== ==

    == BEGIN cat /etc/redhat-release ==
    CentOS release 6.3 (Final)
    == END cat /etc/redhat-release ==

    listing all ethernet devices detected by the kernel:

    == BEGIN lspci|grep -i eth
    05:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 06)
    == END lspci|grep -i eth

    Then, to see if you have any wireless devices that have already had their kernel drivers loaded:

    == BEGIN iwconfig

    lo no wireless extensions.

    eth0 no wireless extensions.

    == END iwconfig

    == BEGIN for BUSID in $(/sbin/lspci | awk '{ IGNORECASE=1 } /net/ { print $1 }'); do /sbin/lspci -s $BUSID -m; /sbin/lspci -s $BUSID -n; done

    05:00.0 "Ethernet controller" "Realtek Semiconductor Co., Ltd." "RTL8111/8168B PCI Express Gigabit Ethernet controller" -r06 "ASRock Incorporation" "Motherboard (one of many)"
    05:00.0 0200: 10ec:8168 (rev 06)
    07:05.0 "Network controller" "Ralink corp." "RT2800 802.11n PCI" "Linksys" "Device 0067"
    07:05.0 0280: 1814:0601

    == END for BUSID in $(/sbin/lspci | awk '{ IGNORECASE=1 } /net/ { print
    $1 }'); do /sbin/lspci -s $BUSID -m; /sbin/lspci -s $BUSID -n; done

    == BEGIN lspci -nn | grep Network
    07:05.0 Network controller [0280]: Ralink corp. RT2800 802.11n PCI [1814:0601]
    == END lspci -nn | grep Network

    ================================================== =========================

    Get dependencies
    == BEGIN yum -y install dhcp wireless-tools

    Check your network
    == BEGIN ifconfig -a

    #If wlan0 or ra0 is not showing then there is a problem with your drivers and you cannot proceed.

    #How I got my drivers

    goto link
    Index of /linux/elrepo/el6/x86_64/RPMS

    click on these drivers below and install with package mgr
    then reboot

    NOTE: My wireless is Ralink corp. RT2800 802.11n PCI

    Driver works with RT2800 802.11n PCI [1814:0601]

    ================================================== ===========================

    [root@CentOS6 John]# iwconfig
    lo no wireless extensions.

    eth0 no wireless extensions.

    ra0 Ralink STA ESSID:"" Nickname:"RT2860STA"
    Mode:Auto Frequency=2.412 GHz Access Point: Not-Associated
    Bit Rate:1 Mb/s
    RTS thr:off Fragment thr:off
    Encryption key:off
    Link Quality=10/100 Signal level:0 dBm Noise level:0 dBm
    Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0

    /etc/sysconfig/network-scripts directory

    We will write a configuration file called ifcfg-ra0 (or the name it is detected as, remember, we're doing this manually) in /etc/sysconfig/network-scripts/

    # this works for my wireless
    NAME="Auto Secure_10" # I named this ra0 didnt matter still works

    # WORKING WIRELESS I disconnected my hardwire ETH0

    == BEGIN nmcli dev
    eth0 802-3-ethernet unavailable
    ra0 802-11-wireless connected
    == END nmcli dev

    Any feed back is welcome

  2. #2
    Linux Guru Rubberman's Avatar
    Join Date
    Apr 2009
    I can be found either 40 miles west of Chicago, in Chicago, or in a galaxy far, far away.
    I have found that the installation instructions for various network adapters in are generally very good, and quite up-to-date.
    Sometimes, real fast is almost as good as real time.
    Just remember, Semper Gumbi - always be flexible!

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts