Find the answer to your Linux question:
Results 1 to 5 of 5
Hello All, I am a newbb but learning a lot. I finally got CentOS 6 to see my wireless card. Problem is if I run Network Connections and go to ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jan 2013
    Posts
    38

    Wireless CentOS 6 Almost there


    Hello All,

    I am a newbb but learning a lot. I finally got CentOS 6 to see my wireless card. Problem is if I run Network Connections and go to wireless mode it is set to ad-hoc and I cant change it and if I go to change BSSID the apply buton becomes disabled.

    Then I tried system-config-network and my wireless doesn't show there, just eth0. If I try to add a device a wireless option isn't there. Here is what it shows for connection info IP is not a 192.168.1.xxx. Any help would be appreciated. Here are the commands I used to help see what I have if you need more please advise.

    Thanks

    Connection Information:
    interface 802.11 WiFi (wlan0)
    hardware interface 68:7F:74:F0:29:64
    speed unknown
    driver is rt2800pci
    security WPA/WPA2

    IPv4
    IP address 10.42.43.1
    Broadcast address 10.42.43.255
    subnet mask 255.255.255.0

    == BEGIN lspci -v
    07:05.0 Network controller: Ralink corp. RT2800 802.11n PCI
    Subsystem: Linksys Device 0067
    Flags: bus master, slow devsel, latency 32, IRQ 20
    Memory at fe9f0000 (32-bit, non-prefetchable) [size=64K]
    Capabilities: [40] Power Management version 3
    Kernel driver in use: rt2800pci
    Kernel modules: rt2800pci
    == END lspci -v



    == BEGIN cat /etc/redhat-release
    [root@centOS John]# cat /etc/redhat-release
    CentOS release 6.3 (Final)
    == END cat /etc/redhat-release

    Kernel
    == BEGIN uname -r
    3.7.3-1.el6.elrepo.x86_64
    == END uname -r

    ==BEGIN ifconfig -a
    eth0 Link encap:Ethernet HWaddr 00:25:22:52:8D:FE
    inet addr:192.168.1.49 Bcast:192.168.1.255 Mask:255.255.255.0
    inet6 addr: fe80::225:22ff:fe52:8dfe/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:7192 errors:0 dropped:0 overruns:0 frame:0
    TX packets:6210 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:5460786 (5.2 MiB) TX bytes:1355454 (1.2 MiB)

    lo Link encap:Local Loopback
    inet addr:127.0.0.1 Mask:255.0.0.0
    inet6 addr: ::1/128 Scope:Host
    UP LOOPBACK RUNNING MTU:65536 Metric:1
    RX packets:14 errors:0 dropped:0 overruns:0 frame:0
    TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:0
    RX bytes:804 (804.0 b) TX bytes:804 (804.0 b)

    wlan0 Link encap:Ethernet HWaddr 68:7F:74:F0:29:64
    inet addr:10.42.43.1 Bcast:10.42.43.255 Mask:255.255.255.0
    inet6 addr: fe80::6a7f:74ff:fef0:2964/64 Scope:Link
    UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
    RX packets:0 errors:0 dropped:0 overruns:0 frame:0
    TX packets:59 errors:0 dropped:0 overruns:0 carrier:0
    collisions:0 txqueuelen:1000
    RX bytes:0 (0.0 b) TX bytes:9883 (9.6 KiB)
    == END ifconfig -a



    ==BEGIN nmcli dev
    DEVICE TYPE STATE
    eth0 802-3-ethernet connected
    wlan0 802-11-wireless connected
    ==END nmcli dev

    ==BEGIN route -n
    Kernel IP routing table
    Destination Gateway Genmask Flags Metric Ref Use Iface
    0.0.0.0 192.168.1.1 0.0.0.0 UG 0 0 0 eth0
    10.42.43.0 0.0.0.0 255.255.255.0 U 2 0 0 wlan0
    169.254.0.0 0.0.0.0 255.255.0.0 U 1002 0 0 eth0
    192.168.1.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
    ==END route -n

  2. #2
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Hi,

    Have you tried setting your mode using the iwconfig command? e.g.:
    Code:
    iwconfig wlan0 mode Managed
    You can add wireless settings to your network-scripts config file, like ifcfg-wlan0, e.g.:
    Code:
    TYPE=Wireless
    DEVICE=wlan0
    ESSID=youressid
    CHANNEL=6
    MODE=Managed
    KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    I personally find NetworkManager more trouble than it is worth, and remove it as soon as possible. It is handy on a laptop that you want to auto-switch at the appropriate times, I guess, but I find I don't need/want that.

  3. #3
    Just Joined!
    Join Date
    Jan 2013
    Posts
    38
    Quote Originally Posted by atreyu View Post
    Hi,

    Have you tried setting your mode using the iwconfig command? e.g.:
    Code:
    iwconfig wlan0 mode Managed
    You can add wireless settings to your network-scripts config file, like ifcfg-wlan0, e.g.:
    Code:
    TYPE=Wireless
    DEVICE=wlan0
    ESSID=youressid
    CHANNEL=6
    MODE=Managed
    KEY=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
    I personally find NetworkManager more trouble than it is worth, and remove it as soon as possible. It is handy on a laptop that you want to auto-switch at the appropriate times, I guess, but I find I don't need/want that.
    Thanks for your reply I've tried everything here is the latest reports

    Information for network problems.
    Code:
    == BEGIN uname -rmi ==
    3.7.3-1.el6.elrepo.x86_64 x86_64 x86_64
    == END   uname -rmi ==
    
    == BEGIN rpm -qa \*-release\* ==
    elrepo-release-6-5.el6.elrepo.noarch
    rpmforge-release-0.5.2-2.el6.rf.x86_64
    centos-release-6-3.el6.centos.9.x86_64
    == END   rpm -qa \*-release\* ==
    
    == BEGIN cat /etc/redhat-release ==
    CentOS release 6.3 (Final)
    == END   cat /etc/redhat-release ==
    
    == BEGIN getenforce ==
    Disabled
    == END   getenforce ==
    
    == BEGIN free -m ==
                 total       used       free     shared    buffers     cached
    Mem:          3960        496       3463          0         22        227
    -/+ buffers/cache:        247       3712
    Swap:        15996          0      15996
    == END   free -m ==
    
    == BEGIN lspci -nn ==
    00:00.0 Host bridge [0600]: Advanced Micro Devices [AMD] nee ATI RD890 Northbridge only single slot PCI-e GFX Hydra part [1002:5a11] (rev 02)
    00:04.0 PCI bridge [0604]: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (PCI express gpp port D) [1002:5a18]
    00:05.0 PCI bridge [0604]: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (PCI express gpp port E) [1002:5a19]
    00:06.0 PCI bridge [0604]: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (PCI express gpp port F) [1002:5a1a]
    00:09.0 PCI bridge [0604]: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (PCI express gpp port H) [1002:5a1c]
    00:0a.0 PCI bridge [0604]: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (external gfx1 port A) [1002:5a1d]
    00:0b.0 PCI bridge [0604]: Advanced Micro Devices [AMD] nee ATI RD890 PCI to PCI bridge (NB-SB link) [1002:5a1f]
    00:11.0 SATA controller [0106]: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 SATA Controller [IDE mode] [1002:4390] (rev 40)
    00:12.0 USB controller [0c03]: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
    00:12.2 USB controller [0c03]: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
    00:13.0 USB controller [0c03]: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
    00:13.2 USB controller [0c03]: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
    00:14.0 SMBus [0c05]: Advanced Micro Devices [AMD] nee ATI SBx00 SMBus Controller [1002:4385] (rev 41)
    00:14.1 IDE interface [0101]: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 IDE Controller [1002:439c] (rev 40)
    00:14.2 Audio device [0403]: Advanced Micro Devices [AMD] nee ATI SBx00 Azalia (Intel HDA) [1002:4383] (rev 40)
    00:14.3 ISA bridge [0601]: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 LPC host controller [1002:439d] (rev 40)
    00:14.4 PCI bridge [0604]: Advanced Micro Devices [AMD] nee ATI SBx00 PCI to PCI Bridge [1002:4384] (rev 40)
    00:14.5 USB controller [0c03]: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI2 Controller [1002:4399]
    00:16.0 USB controller [0c03]: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB OHCI0 Controller [1002:4397]
    00:16.2 USB controller [0c03]: Advanced Micro Devices [AMD] nee ATI SB7x0/SB8x0/SB9x0 USB EHCI Controller [1002:4396]
    00:18.0 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor HyperTransport Configuration [1022:1200]
    00:18.1 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor Address Map [1022:1201]
    00:18.2 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor DRAM Controller [1022:1202]
    00:18.3 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor Miscellaneous Control [1022:1203]
    00:18.4 Host bridge [0600]: Advanced Micro Devices [AMD] Family 10h Processor Link Control [1022:1204]
    01:00.0 IDE interface [0101]: Marvell Technology Group Ltd. Device [1b4b:914d] (rev 10)
    02:00.0 FireWire (IEEE 1394) [0c00]: VIA Technologies, Inc. VT6315 Series Firewire Controller [1106:3403]
    02:00.1 IDE interface [0101]: VIA Technologies, Inc. VT6415 PATA IDE Host Controller [1106:0415] (rev a0)
    03:00.0 USB controller [0c03]: NEC Corporation uPD720200 USB 3.0 Host Controller [1033:0194] (rev 03)
    04:00.0 USB controller [0c03]: NEC Corporation uPD720200 USB 3.0 Host Controller [1033:0194] (rev 03)
    05:00.0 Ethernet controller [0200]: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller [10ec:8168] (rev 06)
    06:00.0 VGA compatible controller [0300]: Advanced Micro Devices [AMD] nee ATI Cypress [Radeon HD 5800 Series] [1002:6899]
    06:00.1 Audio device [0403]: Advanced Micro Devices [AMD] nee ATI Cypress HDMI Audio [Radeon HD 5800 Series] [1002:aa50]
    07:05.0 Network controller [0280]: Ralink corp. RT2800 802.11n PCI [1814:0601]
    == END   lspci -nn ==
    
    == BEGIN lsusb ==
    Bus 004 Device 002: ID 046d:c531 Logitech, Inc. 
    Bus 005 Device 002: ID 046d:c505 Logitech, Inc. Cordless Mouse+Keyboard Receiver
    Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
    Bus 008 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 009 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    Bus 010 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
    Bus 011 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub
    == END   lsusb ==
    
    == BEGIN rpm -qa kmod\* kmdl\* ==
    kmod-ndiswrapper-1.57-1.el6.elrepo.x86_64
    == END   rpm -qa kmod\* kmdl\* ==
    
    == BEGIN ifconfig -a ==
    eth0      Link encap:Ethernet  HWaddr 00:25:22:52:8D:FE  
              inet addr:192.168.1.68  Bcast:192.168.1.255  Mask:255.255.255.0
              inet6 addr: fe80::225:22ff:fe52:8dfe/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
              RX packets:3699 errors:0 dropped:0 overruns:0 frame:0
              TX packets:362 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:428979 (418.9 KiB)  TX bytes:45112 (44.0 KiB)
    
    lo        Link encap:Local Loopback  
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:65536  Metric:1
              RX packets:14 errors:0 dropped:0 overruns:0 frame:0
              TX packets:14 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0 
              RX bytes:804 (804.0 b)  TX bytes:804 (804.0 b)
    
    wlan0     Link encap:Ethernet  HWaddr 68:7F:74:F0:29:64  
              inet6 addr: fe80::6a7f:74ff:fef0:2964/64 Scope:Link
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:245 errors:0 dropped:0 overruns:0 frame:0
              TX packets:42 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000 
              RX bytes:30890 (30.1 KiB)  TX bytes:10304 (10.0 KiB)
    
    == END   ifconfig -a ==
    
    == BEGIN brctl show ==
    bridge name	bridge id		STP enabled	interfaces
    == END   brctl show ==
    
    == BEGIN route -n ==
    Kernel IP routing table
    Destination     Gateway         Genmask         Flags Metric Ref    Use Iface
    0.0.0.0         192.168.1.1     0.0.0.0         UG    0      0        0 eth0
    192.168.1.0     0.0.0.0         255.255.255.0   U     1      0        0 eth0
    == END   route -n ==
    
    == BEGIN cat /etc/resolv.conf ==
    # Generated by NetworkManager
    search localdomain
    nameserver 192.168.1.1
    nameserver 8.8.8.8
    nameserver 8.8.4.4
    == END   cat /etc/resolv.conf ==
    
    == BEGIN grep net /etc/nsswitch.conf ==
    #networks:   nisplus [NOTFOUND=return] files
    #netmasks:   nisplus [NOTFOUND=return] files     
    netmasks:   files
    networks:   files
    netgroup:   nisplus
    == END   grep net /etc/nsswitch.conf ==
    
    == BEGIN chkconfig --list | grep -Ei 'network|wpa' ==
    NetworkManager 	0:off	1:off	2:on	3:on	4:on	5:on	6:off
    matahari-network	0:off	1:off	2:off	3:off	4:off	5:off	6:off
    network        	0:off	1:off	2:off	3:off	4:off	5:off	6:off
    wpa_supplicant 	0:off	1:off	2:off	3:off	4:off	5:off	6:off
    == END   chkconfig --list | grep -Ei 'network|wpa' ==

    =============================
    rt2800pci 0000:07:05.0 wlan0
    mac address 68:7F:74:F0:29:64

    == BEGIN iwlist wlan0 scan | grep ESSID
    ESSID:"Secure_10"
    == END iwlist wlan0 scaCENTOS IWn | grep ESSID

    == BEGIN iwlist scan
    eth0 Interface doesn't support scanning.

    lo Interface doesn't support scanning.

    wlan0 Scan completed :
    Cell 01 - Address: 00:22:3F:8E:04:0F
    Channel:9
    Frequency:2.452 GHz (Channel 9)
    Quality=69/70 Signal level=-41 dBm
    Encryption key:on
    ESSID:"Secure_10"
    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
    9 Mb/s; 12 Mb/s; 18 Mb/s
    Bit Rates:24 Mb/s; 36 Mb/s; 48 Mb/s; 54 Mb/s
    Mode:Master
    Extra:tsf=0000000017a31ddf
    Extra: Last beacon: 5ms ago
    IE: Unknown: 00095365637572655F3130
    IE: Unknown: 010882848B960C121824
    IE: Unknown: 030109
    IE: WPA Version 1
    Group Cipher : TKIP
    Pairwise Ciphers (1) : TKIP
    Authentication Suites (1) : PSK
    IE: Unknown: 2A0100
    IE: Unknown: 32043048606C
    IE: Unknown: DD180050F2020101820003A4000027A4000042435E0062322F 00
    IE: Unknown: DD0900037F01010000FF7F
    IE: Unknown: DD0A00037F04010000000000
    IE: Unknown: DD820050F204104A0001101044000102105700010010410001 00103B00010310470010565AA94967C14C0EAA8FF349E6F593 111021000D4E6574676561722C20496E632E10230007574E52 3230303010240007574E523230303010420004353637381054 000800060050F204000110110007574E523230303010080002 0084103C000103
    == END iwlist scan

    == BEGIN nm-tool

    NetworkManager Tool

    State: connected

    - Device: eth0 [System eth0] --------------------------------------------------
    Type: Wired
    Driver: r8169
    State: connected
    Default: yes
    HW Address: 00:25:22:52:8D:FE

    Capabilities:
    Carrier Detect: yes
    Speed: 100 Mb/s

    Wired Properties
    Carrier: on

    IPv4 Settings:
    Address: 192.168.1.68
    Prefix: 24 (255.255.255.0)
    Gateway: 192.168.1.1

    DNS: 192.168.1.1
    DNS: 8.8.8.8
    DNS: 8.8.4.4


    - Device: wlan0 ----------------------------------------------------------------
    Type: 802.11 WiFi
    Driver: rt2800pci
    State: disconnected
    Default: no
    HW Address: 68:7F:74:F0:29:64

    Capabilities:

    Wireless Properties
    WEP Encryption: yes
    WPA Encryption: yes
    WPA2 Encryption: yes

    Wireless Access Points
    Secure_10: Infra, 00:22:3F:8E:04:0F, Freq 2452 MHz, Rate 54 Mb/s, Strength 78 WPA
    == END nm-tool

    == BEGIN service network status
    Configured devices:
    lo Auto_Secure_10 Wireless_connection_1 eth0 wlan0
    Currently active devices: #active but disconnected
    lo eth0 wlan0
    == END service network status

    == BEGIN ifcfg-Auto_Secure_10

    HWADDR=68:7F:74:F0:29:64
    MACADDR=68:7F:74:F0:29:64
    ESSID="Secure_10"
    MODE=Managed
    KEY_MGMT=WPA-PSK
    TYPE=Wireless
    BOOTPROTO=dhcp
    DEFROUTE=yes
    PEERDNS=yes
    PEERROUTES=yes
    IPV4_FAILURE_FATAL=yes
    IPV6INIT=no
    NAME="Auto Secure_10"
    UUID=e1c015bb-50a2-48b6-8e49-f6917db6933c
    ONBOOT=yes

    == END ifcfg-Auto_Secure_10



    I feel it's something stupid I'm missing
    Please Help
    Thanks

  4. $spacer_open
    $spacer_close
  5. #4
    Just Joined!
    Join Date
    Jan 2013
    Posts
    38
    Figured it out made some changes to my files and rebooted the router a-ok
    I will post my steps when I get everything organized

    Next challenge setting up windows 7 on a oracle vm VirtualBox

    Thanks for your help and any help for VM

  6. #5
    Trusted Penguin
    Join Date
    May 2011
    Posts
    4,353
    Excellent, glad you got it sorted.

    After you post your solution, feel free to mark this thread as SOLVED (using the Thread Tools link at the top of the page) for the benefit of others here.

Posting Permissions

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