Announcement

Collapse
No announcement yet.

[SOLVED] Atheros 5006X no wifi connection

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [SOLVED] Atheros 5006X no wifi connection

    Hi,
    Im trying to install 8.10 beta on my HP Pavilion DV9720US laptop. First problem that i got was the wifi.
    Ive checked my wireless card, here is my everest specification: http://zaproszenia.friko.pl/Report.htm
    Then ive checkd if madwifi can handle with my wireless chipset. From the madwifi site:
    "5413 ¶

    * 5413 -- part of the 6th Generation AR5006X chipsets
    o Support for a/b/g modes
    o Support for DFS/TPC
    o Support for sleep modes
    o Support AES (OCB and CCM), TKIP and WEP hardware encryption.
    o Support for draft IEEE 802.11e, h, and j standards
    o Support for Priority based QoS (WME)
    o Supports Atheros XR™
    "
    So my wifi should work properly.
    Ive uninstalled restricted drivers which include madwifi but doesnt work properly.
    Then i typed make install and this is what i've received:
    Checking requirements... ok.

    Checking kernel configuration... ok.

    make -C /lib/modules/2.6.24-19-generic/build SUBDIRS=/home/mati/madwifi-0.9.4 modules
    make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic'

    CC [M] /home/mati/madwifi-0.9.4/ath/if_ath.o

    CC [M] /home/mati/madwifi-0.9.4/ath/if_ath_pci.o

    LD [M] /home/mati/madwifi-0.9.4/ath/ath_pci.o

    CC [M] /home/mati/madwifi-0.9.4/ath_hal/ah_os.o
    HOSTCC
    /home/mati/madwifi-0.9.4/ath_hal/uudecode
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:26:19: error: stdio.h:
    No such file or directory
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:27:19: error: errno.h:
    No such file or directory
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:28:20: error: getopt.h:
    No such file or directory
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:29:20: error: string.h:
    No such file or directory
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:30:20: error: stdlib.h:
    No such file or directory
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:32:23: error: sys/fcntl.h:
    No such file or directory
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:33:22: error: sys/stat.h:
    No such file or directory
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c: In function 'uudecode_usage':

    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:37: warning: implicit declaration of function 'printf'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:37: warning: incompatible implicit declaration of built-in function 'printf'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c: At top level:
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:40: error: expected')' before '*' token
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:70: error: expected')' before '*' token
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c: In function 'main':
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:121: error: 'FILE' undeclared (first use in this function)
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:121: error: (Each undeclared identifier is reported only once
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:121: error: for each function it appears in.)
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:121: error: 'src_stream' undeclared (first use in this function)
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:122: error: 'dst_stream' undeclared (first use in this function)
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:122: error: 'NULL' undeclared (first use in this function)
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:130: warning: implicit declaration of function 'getopt'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:134: error: 'optarg' undeclared (first use in this function)
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:138: warning: implicit declaration of function 'exit'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:138: warning: incompatible implicit declaration of built-in function 'exit'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:141: error: 'optind' undeclared (first use in this function)
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:142: error: 'stdin'undeclared (first use in this function)
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:144: warning: implicit declaration of function 'fopen'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:146: warning: implicit declaration of function 'fprintf'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:146: warning: incompatible implicit declaration of built-in function 'fprintf'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:146: error: 'stderr' undeclared (first use in this function)
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:147: warning: implicit declaration of function 'strerror'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:147: error: 'errno'undeclared (first use in this function)
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:147: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:148: warning: incompatible implicit declaration of built-in function 'exit'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:152: warning: incompatible implicit declaration of built-in function 'exit'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:156: warning: implicit declaration of function 'get_line_from_file'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:156: warning: assignment makes pointer from integer without a cast
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:157: warning: implicit declaration of function 'strncmp'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:164: warning: incompatible implicit declaration of built-in function 'fprintf'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:165: warning: incompatible implicit declaration of built-in function 'exit'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:168: warning: implicit declaration of function 'strtoul'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:170: warning: implicit declaration of function 'strchr'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:170: warning: incompatible implicit declaration of built-in function 'strchr'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:172: warning: incompatible implicit declaration of built-in function 'fprintf'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:173: warning: incompatible implicit declaration of built-in function 'exit'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:178: warning: implicit declaration of function 'strcmp'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:179: error: 'stdout' undeclared (first use in this function)
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:182: error: 'O_WRONLY' undeclared (first use in this function)
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:182: error: 'O_CREAT' undeclared (first use in this function)
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:182: error: 'O_TRUNC' undeclared (first use in this function)
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:186: error: 'O_EXCL' undeclared (first use in this function)
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:188: warning: implicit declaration of function 'open'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:189: error: 'S_IRWXU' undeclared (first use in this function)
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:189: error: 'S_IRWXG' undeclared (first use in this function)
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:189: error: 'S_IRWXO' undeclared (first use in this function)
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:191: warning: implicit declaration of function 'fdopen'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:193: warning: incompatible implicit declaration of built-in function 'fprintf'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:194: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:195: warning: incompatible implicit declaration of built-in function 'exit'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:199: warning: implicit declaration of function 'read_stduu'
    /home/mati/madwifi-0.9.4/ath_hal/uudecode.c:201: warning: implicit declaration of function 'fclose'
    make[3]: *** [/home/mati/madwifi-0.9.4/ath_hal/uudecode] Error 1
    make[2]: *** [/home/mati/madwifi-0.9.4/ath_hal] Error 2
    make[1]: *** [_module_/home/mati/madwifi-0.9.4] Error 2
    make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'
    make: ***
    [modules] Error 2

    Can somebody tell me what should i do?
    Thanks in advance.

    #2
    Re: Atheros 5006X no wifi connection

    >> linux-headers-2.6.24-19-generic

    Are you sure you're using the beta and not an alpha? Intrepid is currently using kernel 2.6.27-7.

    From the missing header file errors, it looks like you're missing some basic dev packages - do you have build-essential installed?
    Specs:  Intel Core 2 Quad Q6600 (@3Ghz), G.SKILL 4GB DDR2 1066, ASUS Striker II Formula MB, Asus EN9800GTX+ Dark Knight, ABS Tagan BZ800 PS, Antec 900 Case.

    Comment


      #3
      Re: Atheros 5006X no wifi connection

      You are right. When i was downloading new version there was a huge banner "8.10 beta" but at the end i have downloaded 8.04.
      Do i have to install build-essential to install madwifi?

      I dont have now access to my kubuntu but
      Code:
      sudo apt-get install build-essential
      will solve my problems??

      ... after few hours i have sucseeded with build-essentials now when i type make install i receive:
      Code:
      sh scripts/find-madwifi-modules.sh 2.6.24-19-generic
      for i in ath/ ath_hal/ ath_rate/ net80211/; do \
              make -C $i install || exit 1; \
          done
      make[1]: Entering directory `/home/ubuntu/madwifi-0.9.4/ath'
      test -d //lib/modules/2.6.24-19-generic/net || mkdir -p //lib/modules/2.6.24-19-generic/net
      install ath_pci.ko //lib/modules/2.6.24-19-generic/net
      install: cannot stat `ath_pci.ko': No such file or directory
      make[1]: *** [install] Error 1
      make[1]: Leaving directory `/home/ubuntu/madwifi-0.9.4/ath'
      make: *** [install-modules] Error 1
      Whats the problem??

      Comment


        #4
        Re: Atheros 5006X no wifi connection

        Finally i've installed madwifi after typing make i have:
        Code:
        Checking requirements... ok.
        Checking kernel configuration... ok.
        make -C /lib/modules/2.6.24-19-generic/build SUBDIRS=/home/mati/madwifi-0.9.4 modules
        make[1]: Entering directory `/usr/src/linux-headers-2.6.24-19-generic'
         HOSTCC /home/mati/madwifi-0.9.4/ath_hal/uudecode
         UUDECODE /home/mati/madwifi-0.9.4/ath_hal/x86_64-elf.hal.o
         LD [M] /home/mati/madwifi-0.9.4/ath_hal/ath_hal.o
         CC [M] /home/mati/madwifi-0.9.4/ath_rate/amrr/amrr.o
         LD [M] /home/mati/madwifi-0.9.4/ath_rate/amrr/ath_rate_amrr.o
         CC [M] /home/mati/madwifi-0.9.4/ath_rate/minstrel/minstrel.o
         LD [M] /home/mati/madwifi-0.9.4/ath_rate/minstrel/ath_rate_minstrel.o
         CC [M] /home/mati/madwifi-0.9.4/ath_rate/onoe/onoe.o
         LD [M] /home/mati/madwifi-0.9.4/ath_rate/onoe/ath_rate_onoe.o
         CC [M] /home/mati/madwifi-0.9.4/ath_rate/sample/sample.o
         LD [M] /home/mati/madwifi-0.9.4/ath_rate/sample/ath_rate_sample.o
         CC [M] /home/mati/madwifi-0.9.4/net80211/if_media.o
         CC [M] /home/mati/madwifi-0.9.4/net80211/ieee80211.o
         CC [M] /home/mati/madwifi-0.9.4/net80211/ieee80211_beacon.o
         CC [M] /home/mati/madwifi-0.9.4/net80211/ieee80211_crypto.o
         CC [M] /home/mati/madwifi-0.9.4/net80211/ieee80211_crypto_none.o
         CC [M] /home/mati/madwifi-0.9.4/net80211/ieee80211_input.o
         CC [M] /home/mati/madwifi-0.9.4/net80211/ieee80211_node.o
         CC [M] /home/mati/madwifi-0.9.4/net80211/ieee80211_output.o
         CC [M] /home/mati/madwifi-0.9.4/net80211/ieee80211_power.o
         CC [M] /home/mati/madwifi-0.9.4/net80211/ieee80211_proto.o
         CC [M] /home/mati/madwifi-0.9.4/net80211/ieee80211_scan.o
         CC [M] /home/mati/madwifi-0.9.4/net80211/ieee80211_wireless.o
         CC [M] /home/mati/madwifi-0.9.4/net80211/ieee80211_linux.o
         CC [M] /home/mati/madwifi-0.9.4/net80211/ieee80211_monitor.o
         CC [M] /home/mati/madwifi-0.9.4/net80211/ieee80211_rate.o
         CC [M] /home/mati/madwifi-0.9.4/net80211/ieee80211_acl.o
         CC [M] /home/mati/madwifi-0.9.4/net80211/ieee80211_crypto_ccmp.o
         CC [M] /home/mati/madwifi-0.9.4/net80211/ieee80211_scan_ap.o
         CC [M] /home/mati/madwifi-0.9.4/net80211/ieee80211_scan_sta.o
         CC [M] /home/mati/madwifi-0.9.4/net80211/ieee80211_crypto_tkip.o
         CC [M] /home/mati/madwifi-0.9.4/net80211/ieee80211_crypto_wep.o
         CC [M] /home/mati/madwifi-0.9.4/net80211/ieee80211_xauth.o
         LD [M] /home/mati/madwifi-0.9.4/net80211/wlan.o
         LD [M] /home/mati/madwifi-0.9.4/net80211/wlan_wep.o
         LD [M] /home/mati/madwifi-0.9.4/net80211/wlan_tkip.o
         LD [M] /home/mati/madwifi-0.9.4/net80211/wlan_ccmp.o
         LD [M] /home/mati/madwifi-0.9.4/net80211/wlan_acl.o
         LD [M] /home/mati/madwifi-0.9.4/net80211/wlan_xauth.o
         LD [M] /home/mati/madwifi-0.9.4/net80211/wlan_scan_sta.o
         LD [M] /home/mati/madwifi-0.9.4/net80211/wlan_scan_ap.o
         Building modules, stage 2.
         MODPOST 14 modules
         CC   /home/mati/madwifi-0.9.4/ath/ath_pci.mod.o
         LD [M] /home/mati/madwifi-0.9.4/ath/ath_pci.ko
         CC   /home/mati/madwifi-0.9.4/ath_hal/ath_hal.mod.o
         LD [M] /home/mati/madwifi-0.9.4/ath_hal/ath_hal.ko
         CC   /home/mati/madwifi-0.9.4/ath_rate/amrr/ath_rate_amrr.mod.o
         LD [M] /home/mati/madwifi-0.9.4/ath_rate/amrr/ath_rate_amrr.ko
         CC   /home/mati/madwifi-0.9.4/ath_rate/minstrel/ath_rate_minstrel.mod.o
         LD [M] /home/mati/madwifi-0.9.4/ath_rate/minstrel/ath_rate_minstrel.ko
         CC   /home/mati/madwifi-0.9.4/ath_rate/onoe/ath_rate_onoe.mod.o
         LD [M] /home/mati/madwifi-0.9.4/ath_rate/onoe/ath_rate_onoe.ko
         CC   /home/mati/madwifi-0.9.4/ath_rate/sample/ath_rate_sample.mod.o
         LD [M] /home/mati/madwifi-0.9.4/ath_rate/sample/ath_rate_sample.ko
         CC   /home/mati/madwifi-0.9.4/net80211/wlan.mod.o
         LD [M] /home/mati/madwifi-0.9.4/net80211/wlan.ko
         CC   /home/mati/madwifi-0.9.4/net80211/wlan_acl.mod.o
         LD [M] /home/mati/madwifi-0.9.4/net80211/wlan_acl.ko
         CC   /home/mati/madwifi-0.9.4/net80211/wlan_ccmp.mod.o
         LD [M] /home/mati/madwifi-0.9.4/net80211/wlan_ccmp.ko
         CC   /home/mati/madwifi-0.9.4/net80211/wlan_scan_ap.mod.o
         LD [M] /home/mati/madwifi-0.9.4/net80211/wlan_scan_ap.ko
         CC   /home/mati/madwifi-0.9.4/net80211/wlan_scan_sta.mod.o
         LD [M] /home/mati/madwifi-0.9.4/net80211/wlan_scan_sta.ko
         CC   /home/mati/madwifi-0.9.4/net80211/wlan_tkip.mod.o
         LD [M] /home/mati/madwifi-0.9.4/net80211/wlan_tkip.ko
         CC   /home/mati/madwifi-0.9.4/net80211/wlan_wep.mod.o
         LD [M] /home/mati/madwifi-0.9.4/net80211/wlan_wep.ko
         CC   /home/mati/madwifi-0.9.4/net80211/wlan_xauth.mod.o
         LD [M] /home/mati/madwifi-0.9.4/net80211/wlan_xauth.ko
        make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-19-generic'
        make -C ./tools all || exit 1
        make[1]: Entering directory `/home/mati/madwifi-0.9.4/tools'
        gcc -o athstats -g -O2 -Wall -I. -I../hal -I.. -I../ath athstats.c
        gcc -o 80211stats -g -O2 -Wall -I. -I../hal -I.. 80211stats.c
        gcc -o athkey -g -O2 -Wall -I. -I../hal -I.. athkey.c
        gcc -o athchans -g -O2 -Wall -I. -I../hal -I.. athchans.c
        gcc -o athctrl -g -O2 -Wall -I. -I../hal -I.. athctrl.c
        gcc -o athdebug -g -O2 -Wall -I. -I../hal -I.. athdebug.c
        gcc -o 80211debug -g -O2 -Wall -I. -I../hal -I.. 80211debug.c
        gcc -o wlanconfig -g -O2 -Wall -I. -I../hal -I.. wlanconfig.c
        gcc -o ath_info -g -O2 -Wall ath_info.c
        make[1]: Leaving directory `/home/mati/madwifi-0.9.4/tools'
        i guess its ok.
        But after iwconfig i still see:
        Code:
        lo    no wireless extensions.
        
        eth0   no wireless extensions.
        Accorrding to http://madwifi.org/wiki/UserDocs/FirstTimeHowTo i should do modprobe ath_pci but i received:
        Code:
        FATAL: Module ath_pci not found.
        I have to admit that one command from madwifi didnt work during installation "./madwifi-unload" gave me nothin
        Code:
        bash: madwifi-unload: command not found
        Is this is the problem??
        Help me i think i'am near to the end of this war :-)

        Comment


          #5
          [SOLVED] Atheros 5006X no wifi connection

          SOLVED! For my Atheros AR5006X 5413 Chipset works madwifi hal driver.
          http://forum.ubuntu.pl/showthread.php?t=81892

          Comment

          Working...
          X