This discussion is archived
11 Replies Latest reply: Nov 2, 2012 3:45 AM by Dude! RSS

wireless not working on UEK2

Yassin Othman Newbie
Currently Being Moderated
Hello,

I have Oracle Linux 6.3 installed on my machine with two kernels :
1) 2.6.39-200.32.1.el6uek.x86_64
2) 2.6.32-279.9.1.el6.x86_64
wireless is woking fine on 2.6.32-279.9.1.el6.x86_64 kernel, but not woking at all on 2.6.39-200.32.1.el6uek.x86_64 kernel. I found that the driver module ath not installed on this kernel so, how to fix this issue where I use only UEK kernel for my wok and I would at the same time the internet access to be available on the same kernel.

Thank you in advance

Yassin
  • 1. Re: wireless not working on UEK2
    Dude! Guru
    Currently Being Moderated
    Wireless is usually not a requirement for an Enterprise system. The Elrepo project provides a lot of additional hardware drivers and related software for RHEL based systems, check http://elrepo.org/tiki/tiki-index.php.

    Perhaps the following will work for you:

    # yum install http://elrepo.org/elrepo-release-6-4.el6.elrepo.noarch.rpm
    # yum install http://elrepo.org/linux/elrepo/el6/x86_64/RPMS/compat-wireless-firmware-3.5-1.el6.elrepo.noarch.rpm
  • 2. Re: wireless not working on UEK2
    Yassin Othman Newbie
    Currently Being Moderated
    Sorry, It doesn't wok.
    But as I posted erliear it work fine on the other kernel, so is there any workarround solution to share or copy ath wirless driver to UEK2 kernel?

    Regards,
  • 3. Re: wireless not working on UEK2
    Dude! Guru
    Currently Being Moderated
    The wireless driver module is /lib/modules/2.6.32-279.9.1.el6.x86_64/weak-updates/compat-wireless/ath.ko. Drivers are usually build for a specific kernel version and cannot be copied or shared. I think ath9k, etc. includes the ath driver. You can check your output of the "lspci -v" command to see what driver is being used for your adapter.

    With the elrepo yum repository configuration in place, I suggest to try the following:

    # yum install kmod-compat-wireless

    If it still does not work, you can uninstall it all using:

    yum remove kmod-compat-wireless compat-wireless-firmware

    and check the vendor support page to see if they provide a driver download.
  • 4. Re: wireless not working on UEK2
    Yassin Othman Newbie
    Currently Being Moderated
    I doesn't work too.

    I had installed compact wireless module(compat-wireless-2012-01-12) on prior uek kernel, it was woking well, but, once I have tried it on new kernel uek2 it raises with the following error:
    [root@localhost compat-wireless-2012-01-12]# ./scripts/driver-select atheros
    Processing new driver-select request...
    Backing up makefile: Makefile.bk
    Backing up makefile: drivers/net/wireless/Makefile.bk
    Backup exists: Makefile.bk
    Backup exists: Makefile.bk
    Backup exists: Makefile.bk
    Backup exists: Makefile.bk
    Backing up makefile: net/wireless/Makefile.bk
    Backing up makefile: drivers/ssb/Makefile.bk
    Backing up makefile: drivers/bcma/Makefile.bk
    Backing up makefile: drivers/misc/eeprom/Makefile.bk
    Backup exists: Makefile.bk
    [root@localhost compat-wireless-2012-01-12]# make
    make -C /lib/modules/2.6.39-200.33.1.el6uek.x86_64/build M=/root/Downloads/compat-wireless-2012-01-12 modules
    make[1]: Entering directory `/usr/src/kernels/2.6.39-200.33.1.el6uek.x86_64'
    LD /root/Downloads/compat-wireless-2012-01-12/compat/built-in.o
    CC [M] /root/Downloads/compat-wireless-2012-01-12/compat/main.o
    In file included from /root/Downloads/compat-wireless-2012-01-12/include/linux/compat-2.6.h:37,
    from <command-line>:0:
    /root/Downloads/compat-wireless-2012-01-12/include/linux/compat-3.2.h:19: error: redefinition of ‘skb_frag_page’
    include/linux/skbuff.h:1659: note: previous definition of ‘skb_frag_page’ was here
    /root/Downloads/compat-wireless-2012-01-12/include/linux/compat-3.2.h:35: error: redefinition of ‘skb_frag_dma_map’
    include/linux/skbuff.h:1776: note: previous definition of ‘skb_frag_dma_map’ was here
    In file included from /root/Downloads/compat-wireless-2012-01-12/include/linux/compat-2.6.h:38,
    from <command-line>:0:
    /root/Downloads/compat-wireless-2012-01-12/include/linux/compat-3.3.h:34: error: redefinition of typedef ‘netdev_features_t’
    include/linux/netdevice.h:985: note: previous declaration of ‘netdev_features_t’ was here
    make[3]: *** [root/Downloads/compat-wireless-2012-01-12/compat/main.o] Error 1
    make[2]: *** [root/Downloads/compat-wireless-2012-01-12/compat] Error 2
    make[1]: *** [_module_/root/Downloads/compat-wireless-2012-01-12] Error 2
    make[1]: Leaving directory `/usr/src/kernels/2.6.39-200.33.1.el6uek.x86_64'
    make: *** [modules] Error 2

    Regards,

    Edited by: Yassin Othman on Oct 21, 2012 10:48 AM
  • 5. Re: wireless not working on UEK2
    Dude! Guru
    Currently Being Moderated
    The problem is not with Oracle Linux or UEK 2 kernel. Your hardware is not supported or the vendor software provided does not support Oracle Linux. What is the exact wireless adapter you are using. What are you trying to install? Why bother and not use Virtualbox? Install Windows or Ubuntu or whatever supports your system and run Oracle Linux in Virtualbox. Your wireless connection on the host system will be mapped to a standard ethernet device on the guest Linux OS.
  • 6. Re: wireless not working on UEK2
    Yassin Othman Newbie
    Currently Being Moderated
    07:00.0 Ethernet controller: Atheros Communications Inc. AR242x / AR542x Wireless Network Adapter (PCI-Express) (rev 01)
         Subsystem: Hewlett-Packard Company AR5BXB63 (Foxconn) 802.11bg Mini PCIe NIC
         Flags: bus master, fast devsel, latency 0, IRQ 10
         Memory at c2000000 (64-bit, non-prefetchable) [size=64K]
         Capabilities: [40] Power Management version 2
         Capabilities: [50] MSI: Enable- Count=1/1 Maskable- 64bit-
         Capabilities: [60] Express Legacy Endpoint, MSI 00
         Capabilities: [90] MSI-X: Enable- Count=1 Masked-
         Capabilities: [100] Advanced Error Reporting
         Capabilities: [140] Virtual Channel <?>
  • 7. Re: wireless not working on UEK2
    Dude! Guru
    Currently Being Moderated
    The kernel driver you need for this type of card is "ath5k" or http://madwifi-project.org/
  • 8. Re: wireless not working on UEK2
    Yassin Othman Newbie
    Currently Being Moderated
    I have tried to use madwifi, but, I get this error:

    [root@localhost madwifi-0.9.4]# make
    ./kernelversion.c:13:30: error: linux/utsrelease.h: No such file or directory
    Checking requirements... ok.
    Checking kernel configuration... /bin/sh: -c: line 0: syntax error near unexpected token `|'
    /bin/sh: -c: line 0: `echo char *uts_release = UTS_RELEASE; | grep -q -i '^[2-9]\.[4-9]\.' || { \'
    make: *** [configcheck] Error 1
  • 9. Re: wireless not working on UEK2
    Dude! Guru
    Currently Being Moderated
    Perhaps you have downloaded the wrong source code. The web site outlines a special snapshot for kernels later than 2.6.25. The following works here on a default installation of Oracle Linux 6.3 x86_64 without any problem:

    <pre>
    # wget http://snapshots.madwifi-project.org/madwifi-0.9.4-current.tar.gz
    # tar zxf madwifi-0.9.4-current.tar.gz
    # cd madwifi-0.9.4-r4180-20120803
    # make
    Checking requirements... ok.
    Checking kernel configuration... ok.
    ...
    # make install

    # ls /lib/modules/2.6.39-200.29.2.el6uek.x86_64/net
    ath_hal.ko ath_rate_amrr.ko ath_rate_onoe.ko wlan_acl.ko wlan.ko wlan_scan_sta.ko wlan_wep.ko
    ath_pci.ko ath_rate_minstrel.ko ath_rate_sample.ko wlan_ccmp.ko wlan_scan_ap.ko wlan_tkip.ko wlan_xauth.ko
    </pre>
  • 10. Re: wireless not working on UEK2
    Yassin Othman Newbie
    Currently Being Moderated
    this snapshot madwifi-0.9.4-current.tar.gz is not more available but am trying with http://snapshots.madwifi-project.org/madwifi-dfs-current.tar.gz snapshot which installed and now working properly.

    Thank you so much for your valued support.

    Yassin
  • 11. Re: wireless not working on UEK2
    Dude! Guru
    Currently Being Moderated
    this snapshot madwifi-0.9.4-current.tar.gz is not more available
    They must have been reading this post :-)

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points