Prosíme přihlašte se nebo zaregistrujte.

Přihlašte se svým uživatelským jménem a heslem.
Vaše pomoc je stále potřeba!

Autor Téma: ASUS X51H a nefunkční Wi-Fi Atheros AR5006EG  (Přečteno 10578 krát)

chr1s1k

  • Návštěvník
  • Příspěvků: 68
    • Osobní portfolio
ASUS X51H a nefunkční Wi-Fi Atheros AR5006EG
« kdy: 26 Ledna 2008, 21:38:11 »
Zdravím, jsem majitelem výše uvedeného NB s nainstalovaným Ubuntu 7.10 a WIFI adaptérem Atheros AR5006EG, který se ovšem ve WIN XP zobrazuje jako Atheros AR5007EG. Po nainstalování Ubuntu je tento adaptér nefunkční. Po zadan příkazu iwconfig dostanu výpis
Citace
chr1s@chr1s-laptop:~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.
. Podle návodu na adrese http://ndiswrapper.sourceforge.net/joomla/index.php?/component/option,com_openwiki/Itemid,33/id,installation/ jsem zkoušel wifi zprovoznit, ale jak to tak vypadá, tak se mi to nepodařilo. Po napsaní ndiswrapper -l dostanu
Citace
chr1s@chr1s-laptop:~/Plocha/Atheros$ ndiswrapper -l
net5211 : driver installed
        device (168C:001C) present (alternate driver: ath_pci)
a nakonec když chci zkontrolovat, zda se mi modul nahrál dmesg | grep ndiswrapper, dostanu výpis
Citace
chr1s@chr1s-laptop:~/Plocha/Atheros$ dmesg | grep ndiswrapper
[   14.736000] ndiswrapper version 1.51 loaded (smp=yes, preempt=no)
[   14.820000] ndiswrapper: driver net5211 (,06/21/2007,5.3.0.56) loaded
[   14.820000] ndiswrapper (ZwClose:2227): closing handle 0xdfbd1628 not implemented
[   14.824000] ndiswrapper (NdisWriteErrorLogEntry:191): log: C0001389, count: 4, return_address: f8cd0064
[   14.824000] ndiswrapper (NdisWriteErrorLogEntry:194): code: 0xdfe51400
[   14.824000] ndiswrapper (NdisWriteErrorLogEntry:194): code: 0x28
[   14.824000] ndiswrapper (NdisWriteErrorLogEntry:194): code: 0xf8b54000
[   14.824000] ndiswrapper (NdisWriteErrorLogEntry:194): code: 0xf8b54000
[   14.824000] ndiswrapper (mp_init:216): couldn't initialize device: C000009A
[   14.824000] ndiswrapper (pnp_start_device:439): Windows driver couldn't initialize the device (C0000001)
[   14.824000] ndiswrapper (mp_halt:259): device f7ed5500 is not initialized - not halting
[   14.824000] ndiswrapper: device eth%d removed
[   14.824000] ndiswrapper: probe of 0000:04:00.0 failed with error -22
[   14.824000] usbcore: registered new interface driver ndiswrapper
Btw: ve Správci nesvobodných ovladačů mám jeden driver: Atheros Hardware Access Layer (HAL) a standardně je povolen a používán.
Poradí někdo?
Ubuntu & Fedora lover

Marp

  • Moderátor
  • Závislák
  • ***
  • Příspěvků: 2456
  • Moje práce není probudit ovce, ale shromáždit vlky
    • Marek Marp Pszczolka
Re: ASUS X51H a nefunkční Wi-Fi Atheros AR5006EG
« Odpověď #1 kdy: 26 Ledna 2008, 22:46:33 »
Mám sice Asus X51R, ale taky s Atherosem. Mám ho povolený ve Správci nesvobodných ovladačů a nikde jsem nic nenastavoval a už vůbec ne pomocí ndiswrapperu. Jen jsem nastavil síť na ath0 a nastavil v bezdrátových sítích cestovní mód. A sám mi našel bezdrátové sítě a připojil jsem se...
Marek *Marp* Pszczolka
--------------------------------------------
Lenovo IdeaPad 5, CPU: 8jádrový AMD Ryzen 7, 16GB RAM, GPU: AMD ATI Renoir, 512GB SSD + Debian GNU/Linux Bookworm/Sid - Kernel: 5.18

gargy2002

  • Host
Re: ASUS X51H a nefunkční Wi-Fi Atheros AR5006EG
« Odpověď #2 kdy: 26 Ledna 2008, 23:27:27 »
Mam hodne silnej pocit, ze Atheros karty se rozjizdi pres madwifi, nikoliv pres ndiswrapper. Na wiki by snad mel byt navod a kdyz ne tam, tak na foru urcite...

chr1s1k

  • Návštěvník
  • Příspěvků: 68
    • Osobní portfolio
Re: ASUS X51H a nefunkční Wi-Fi Atheros AR5006EG
« Odpověď #3 kdy: 26 Ledna 2008, 23:57:59 »
Nj, jenže mě se to wifi rozhraní vůbec neukáže! Mám tam k dispozici pouze eht0 a loopback. Madwifi jsem nezkoušel. Podívám se tedy na wiki a zkusím to. zatím Díky
Ubuntu & Fedora lover

chr1s1k

  • Návštěvník
  • Příspěvků: 68
    • Osobní portfolio
Re: ASUS X51H a nefunkční Wi-Fi Atheros AR5006EG
« Odpověď #4 kdy: 27 Ledna 2008, 00:45:57 »
Mam hodne silnej pocit, ze Atheros karty se rozjizdi pres madwifi, nikoliv pres ndiswrapper. Na wiki by snad mel byt navod a kdyz ne tam, tak na foru urcite...
Tak jsem to zkusil podle návodu na Wiki http://wiki.ubuntu.cz/Atheros_AR5007EG a po příkazu sudo make install dostanu tento výpis:
Citace
chr1s@chr1s-laptop:~/Plocha/madwifi-ng-r2756-20071018$ sudo make install
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.22-14-generic/build SUBDIRS=/home/chr1s/Plocha/madwifi-ng-r2756-20071018 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
  CC [M]  /home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath/if_ath.o
  CC [M]  /home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath/if_ath_pci.o
  LD [M]  /home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath/ath_pci.o
  CC [M]  /home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/ah_os.o
  HOSTCC  /home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:26:19: error: stdio.h: No such file or directory
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:27:19: error: errno.h: No such file or directory
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:28:20: error: getopt.h: No such file or directory
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:29:20: error: string.h: No such file or directory
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:30:20: error: stdlib.h: No such file or directory
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:32:23: error: sys/fcntl.h: No such file or directory
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:33:22: error: sys/stat.h: No such file or directory
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c: In function 'uudecode_usage':
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:37: warning: implicit declaration of function 'printf'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:37: warning: incompatible implicit declaration of built-in function 'printf'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c: At top level:
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:40: error: expected ')' before '*' token
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:70: error: expected ')' before '*' token
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c: In function 'main':
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:121: error: 'FILE' undeclared (first use in this function)
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:121: error: (Each undeclared identifier is reported only once
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:121: error: for each function it appears in.)
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:121: error: 'src_stream' undeclared (first use in this function)
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:122: error: 'dst_stream' undeclared (first use in this function)
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:122: error: 'NULL' undeclared (first use in this function)
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:130: warning: implicit declaration of function 'getopt'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:134: error: 'optarg' undeclared (first use in this function)
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:138: warning: implicit declaration of function 'exit'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:138: warning: incompatible implicit declaration of built-in function 'exit'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:141: error: 'optind' undeclared (first use in this function)
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:142: error: 'stdin' undeclared (first use in this function)
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:144: warning: implicit declaration of function 'fopen'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:146: warning: implicit declaration of function 'fprintf'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:146: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:146: error: 'stderr' undeclared (first use in this function)
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:147: warning: implicit declaration of function 'strerror'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:147: error: 'errno' undeclared (first use in this function)
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:147: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:148: warning: incompatible implicit declaration of built-in function 'exit'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:152: warning: incompatible implicit declaration of built-in function 'exit'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:156: warning: implicit declaration of function 'get_line_from_file'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:156: warning: assignment makes pointer from integer without a cast
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:157: warning: implicit declaration of function 'strncmp'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:164: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:165: warning: incompatible implicit declaration of built-in function 'exit'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:168: warning: implicit declaration of function 'strtoul'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:170: warning: implicit declaration of function 'strchr'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:170: warning: incompatible implicit declaration of built-in function 'strchr'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:172: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:173: warning: incompatible implicit declaration of built-in function 'exit'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:178: warning: implicit declaration of function 'strcmp'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:179: error: 'stdout' undeclared (first use in this function)
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:182: error: 'O_WRONLY' undeclared (first use in this function)
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:182: error: 'O_CREAT' undeclared (first use in this function)
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:182: error: 'O_TRUNC' undeclared (first use in this function)
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:186: error: 'O_EXCL' undeclared (first use in this function)
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:188: warning: implicit declaration of function 'open'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:189: error: 'S_IRWXU' undeclared (first use in this function)
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:189: error: 'S_IRWXG' undeclared (first use in this function)
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:189: error: 'S_IRWXO' undeclared (first use in this function)
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:191: warning: implicit declaration of function 'fdopen'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:193: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:194: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:195: warning: incompatible implicit declaration of built-in function 'exit'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:199: warning: implicit declaration of function 'read_stduu'
/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode.c:201: warning: implicit declaration of function 'fclose'
make[3]: *** [/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal/uudecode] Error 1
make[2]: *** [/home/chr1s/Plocha/madwifi-ng-r2756-20071018/ath_hal] Error 2
make[1]: *** [_module_/home/chr1s/Plocha/madwifi-ng-r2756-20071018] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [modules] Error 2
A má být zaškrnuto ve používání ovladače ve Správci nesvobodných ovladačů?
Ubuntu & Fedora lover

Marp

  • Moderátor
  • Závislák
  • ***
  • Příspěvků: 2456
  • Moje práce není probudit ovce, ale shromáždit vlky
    • Marek Marp Pszczolka
Re: ASUS X51H a nefunkční Wi-Fi Atheros AR5006EG
« Odpověď #5 kdy: 27 Ledna 2008, 05:37:40 »
Ve Správci nesvobodných ovladačů by měl být ten Atheros zaškrtnutý.
Marek *Marp* Pszczolka
--------------------------------------------
Lenovo IdeaPad 5, CPU: 8jádrový AMD Ryzen 7, 16GB RAM, GPU: AMD ATI Renoir, 512GB SSD + Debian GNU/Linux Bookworm/Sid - Kernel: 5.18

chr1s1k

  • Návštěvník
  • Příspěvků: 68
    • Osobní portfolio
Re: ASUS X51H a nefunkční Wi-Fi Atheros AR5006EG
« Odpověď #6 kdy: 27 Ledna 2008, 11:31:24 »
Ve Správci nesvobodných ovladačů by měl být ten Atheros zaškrtnutý.
To jsem měl zaškrtlé a bohužel nic.
Ubuntu & Fedora lover

chr1s1k

  • Návštěvník
  • Příspěvků: 68
    • Osobní portfolio
Re: ASUS X51H a nefunkční Wi-Fi Atheros AR5006EG
« Odpověď #7 kdy: 27 Ledna 2008, 13:24:31 »
Tak už se zadařilo. Vše jsem musel provést ve složce /usr/src/linux-headers-2.6.22-14, ve které jsem provedl toto:
Citace
tar xfz madwifi-ng-r2756-20071018.tar.gz
cd madwifi-ng-r2756-20071018
make clean
make
make install
modeprobe  ath_pci
Poté jsem restartoval PC a už se mi ukázaly dostupné sítě a zařízení wlan0.
Ubuntu & Fedora lover

chr1s1k

  • Návštěvník
  • Příspěvků: 68
    • Osobní portfolio
Re: ASUS X51H a nefunkční Wi-Fi Atheros AR5006EG
« Odpověď #8 kdy: 27 Ledna 2008, 20:23:41 »
Tak už se zadařilo. Vše jsem musel provést ve složce /usr/src/linux-headers-2.6.22-14, ve které jsem provedl toto:
Citace
tar xfz madwifi-ng-r2756-20071018.tar.gz
cd madwifi-ng-r2756-20071018
make clean
make
make install
modeprobe  ath_pci
Poté jsem restartoval PC a už se mi ukázaly dostupné sítě a zařízení wlan0.

Tak bohužel po dalším restartu mé veškeré usilí bylo pryč :'(. A teď už mi to nejde dát zpátky dohromady :'(.
Ubuntu & Fedora lover

chr1s1k

  • Návštěvník
  • Příspěvků: 68
    • Osobní portfolio
Re: ASUS X51H a nefunkční Wi-Fi Atheros AR5006EG
« Odpověď #9 kdy: 29 Ledna 2008, 10:09:22 »
Tak už se zadařilo. Vše jsem musel provést ve složce /usr/src/linux-headers-2.6.22-14, ve které jsem provedl toto:
Citace
tar xfz madwifi-ng-r2756-20071018.tar.gz
cd madwifi-ng-r2756-20071018
make clean
make
make install
modeprobe  ath_pci
Poté jsem restartoval PC a už se mi ukázaly dostupné sítě a zařízení wlan0.

Tak bohužel po dalším restartu mé veškeré usilí bylo pryč :'(. A teď už mi to nejde dát zpátky dohromady :'(.

Současný problém je v tom, že když zadám příkaz modprobe ath_pci, tak obdržím tento výpis:
Kód: [Vybrat]
chr1s@chr1s-laptop:/usr/src/linux-headers-2.6.22-14/madwifi-ng-r2756-20071018$ modprobe ath_pci WARNING: Could not open '/
lib/modules/2.6.22-14-generic/madwifi/wlan.ko': No such file or directoryFATAL:
Could not open '/lib/modules/2.6.22-14-generic/madwifi/ath_pci.ko': No such file or directory
A při tom prvním úspěšném pokusu jsem tento výpis nedostal. Možná, že to bude ten hlavní problém.
Ubuntu & Fedora lover

chr1s1k

  • Návštěvník
  • Příspěvků: 68
    • Osobní portfolio
Re: ASUS X51H a nefunkční Wi-Fi Atheros AR5006EG
« Odpověď #10 kdy: 15 Února 2008, 00:41:25 »
Tak celý problém tkvěl v tom, že kompilátoru chyběly hlavičky souborů jako je například stdio.h nebo errno.h. Tudíž bylo potřeba stáhnout potřebný balíček (libc6-dev_2.3.6-0ubuntu20_i386.deb nebo libstdc++6-4.0-dev_4.0.3-1ubuntu5_i386), ve kterém dané soubory byly obsaženy. Poté už nic nebránilo kompilaci, instalaci a zavedení modulu ath_pci ;),
Ubuntu & Fedora lover

loik

  • Návštěvník
  • Příspěvků: 5
Re: ASUS X51H a nefunkční Wi-Fi Atheros AR5006EG
« Odpověď #11 kdy: 28 Února 2008, 04:09:01 »
Zdravím,
byl by ste tak hodný a mohl se k tomu ještě vrátit? Mám vše stejné jako vy...jen jsem stáhl ty balíčky (podotýkám, že jsem Linuxář od včerejšího odpoledne) a nejdou mi po poklepání nainstalovat. Nějak přes terminál?
Píše mi to "Error: dependency is not satisfiable: libc6"
Ten druhý balík jakbysmet :-)
dík za rady...popřípadě jakýkoliv váš postřeh při řešení vašeho problému s wifi...sem na tom stejně.

loik

  • Návštěvník
  • Příspěvků: 5
Re: ASUS X51H a nefunkční Wi-Fi Atheros AR5006EG
« Odpověď #12 kdy: 08 Března 2008, 00:47:55 »
Tak jsem wifi atheros ar5007eg (win), která se v Ubuntu hlásí jako ar5006eg...nakonec rozchodil.

Ve zkratce to tu shrnu, třeba to někoho inspiruje správným směrem:
Instalace Ubuntu - pokus o instalaci madwifi (i poněkolikáté stále neúspěšně, časté hlášení různých erorů, které jsem jako začátečník samozřejmě neidentifikoval) - spásný nápad přišel. Připojit se přechodně kabelem (trvalo mi několik hodin než mě to napadlo :-) , to bylo bez problémů (poměrně často nezobrazil Firefox některé stránky vč. tohoto Ubuntu fóra) - v této fázi jsem se pokusil počeštit Ubuntu, což se nedařilo až do chvíle než jsem si v onom Add/remove programs, preferences (volby) nastavil, že povoluji stahování různých věcí z internetu (to si pročtěte) pak už to šlo ráz na ráz - instaloval jsem češtinu, v zápětí se mi nabídly aktualizace celého systému cca 275 Mb - no a po jejich nainstalování (samozřejmostí jsou nějaké ty restarty) jsem opět zkusil, tentokrát úspěšně nainstalovat madwifi (na stránkách Ubuntu je přesně zpracovaný postup, který je vynikající avšak úplným začátečníkům doporučuju ještě článek o zásadách Terminálu)
Doufám, že to třeba nějakého podobného začátečníka zbaví některých elementárních chyb.

 

Provoz zaštiťuje spolek OpenAlt.