Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 27/11/2008, à 18:28

Grégory Bulnes

problème de wifi atheros 5007

Bonjour, j'ai essayé de suivre les instruction donnés sur le forum pour configurer ma carte wifi (atheros 5007) mais ca na marche pas. Je l'avais fait par le passer et ca avait fonctionné, mais la j'ai formaté mon ordi et je suis bloqué. Alors tout d'abord voici les informations demandées dans chaque discution :

gbulnesc@gbulnesc-laptop:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.04
DISTRIB_CODENAME=hardy
DISTRIB_DESCRIPTION="Ubuntu 8.04.1"
gbulnesc@gbulnesc-laptop:~$ lsusb
Bus 005 Device 001: ID 0000:0000  
Bus 004 Device 001: ID 0000:0000  
Bus 003 Device 001: ID 0000:0000  
Bus 002 Device 003: ID 045e:0040 Microsoft Corp. Wheel Mouse Optical
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 001: ID 0000:0000  
gbulnesc@gbulnesc-laptop:~$ lspci
00:00.0 Host bridge: Intel Corporation Mobile 945GM/PM/GMS, 943/940GML and 945GT Express Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile 945GM/GMS, 943/940GML Express Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 945GM/GMS/GME, 943/940GML Express Integrated Graphics Controller (rev 03)
00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 02)
00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 02)
00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 02)
00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 02)
00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 02)
00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 02)
00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 02)
00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 02)
00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 02)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e2)
00:1f.0 ISA bridge: Intel Corporation 82801GBM (ICH7-M) LPC Interface Bridge (rev 02)
00:1f.2 IDE interface: Intel Corporation 82801GBM/GHM (ICH7 Family) SATA IDE Controller (rev 02)
02:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
05:01.0 CardBus bridge: Ricoh Co Ltd RL5c476 II (rev ba)
05:07.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
gbulnesc@gbulnesc-laptop:~$ sudo lshw -C network
sudo: unable to resolve host gbulnesc-laptop
[sudo] password for gbulnesc: 
  *-network UNCLAIMED     
       description: Ethernet controller
       product: AR242x 802.11abg Wireless PCI Express Adapter
       vendor: Atheros Communications Inc.
       physical id: 0
       bus info: pci@0000:02:00.0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix cap_list
       configuration: latency=0
  *-network
       description: Ethernet interface
       product: RTL-8139/8139C/8139C+
       vendor: Realtek Semiconductor Co., Ltd.
       physical id: 7
       bus info: pci@0000:05:07.0
       logical name: eth0
       version: 10
       serial: 00:1a:92:fb:13:e2
       size: 10MB/s
       capacity: 100MB/s
       width: 32 bits
       clock: 33MHz
       capabilities: pm bus_master cap_list ethernet physical tp mii 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=8139too driverversion=0.9.28 duplex=half ip=164.15.124.54 latency=64 link=yes maxlatency=64 mingnt=32 module=8139too multicast=yes port=MII speed=10MB/s

et enfin, voici ce que j'ai fait :

gbulnesc@gbulnesc-laptop:~$ sudo apt-get install build-essential
sudo: unable to resolve host gbulnesc-laptop
[sudo] password for gbulnesc: 
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
build-essential est déjà la plus récente version disponible.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 179 non mis à jour.
gbulnesc@gbulnesc-laptop:~$ wget http://snapshots.madwifi.org/special/madwifi-ng-r2756+ar5007.tar.gz
--18:21:01--  http://snapshots.madwifi.org/special/madwifi-ng-r2756+ar5007.tar.gz
           => `madwifi-ng-r2756+ar5007.tar.gz'
Résolution de snapshots.madwifi.org... 217.24.1.134
Connexion vers snapshots.madwifi.org|217.24.1.134|:80... connecté.
requête HTTP transmise, en attente de la réponse... 301 Moved Permanently
Emplacement: http://snapshots.madwifi-project.orgspecial/madwifi-ng-r2756+ar5007.tar.gz [suivant]
--18:21:02--  http://snapshots.madwifi-project.orgspecial/madwifi-ng-r2756+ar5007.tar.gz
           => `madwifi-ng-r2756+ar5007.tar.gz'
Résolution de snapshots.madwifi-project.orgspecial... échec: Nom ou service inconnu.
gbulnesc@gbulnesc-laptop:~$ 
gbulnesc@gbulnesc-laptop:~$ tar xfz madwifi-ng-r2756+ar5007.tar.gz
tar: madwifi-ng-r2756+ar5007.tar.gz : la fonction open a échoué: Aucun fichier ou dossier de ce type
tar: Erreur non récupérable : arrêt du traitement
tar: Child returned status 2
tar: Des erreurs ont provoqué l'arrêt du programme
gbulnesc@gbulnesc-laptop:~$ 
gbulnesc@gbulnesc-laptop:~$ cd madwifi-ng-r2756+ar5007
bash: cd: madwifi-ng-r2756+ar5007: Aucun fichier ou dossier de ce type
gbulnesc@gbulnesc-laptop:~$ 
gbulnesc@gbulnesc-laptop:~$ sudo make 
sudo: unable to resolve host gbulnesc-laptop
make: *** Pas de cibles spécifiées et aucun makefile n'a été trouvé. Arrêt.
gbulnesc@gbulnesc-laptop:~$ 
gbulnesc@gbulnesc-laptop:~$ sudo make install
sudo: unable to resolve host gbulnesc-laptop
make: *** Pas de règle pour fabriquer la cible « install ». Arrêt.
gbulnesc@gbulnesc-laptop:~$ 
gbulnesc@gbulnesc-laptop:~$ sudo modprobe ath_pci
sudo: unable to resolve host gbulnesc-laptop
gbulnesc@gbulnesc-laptop:~$ 
gbulnesc@gbulnesc-laptop:~$ sudo reboot

Merci d'avance pour votre aide,
bien à vous,
Grégory

#2 Le 28/11/2008, à 09:49

Grégory Bulnes

Re : problème de wifi atheros 5007

Ah oui, j'oubliais, j'ai installé la version 8.04 de hardy heron...

#3 Le 28/11/2008, à 09:59

Grégory Bulnes

Re : problème de wifi atheros 5007

Bon alors j'ai essayé de faire ce qui était écrit sur la page http://doc.ubuntu-fr.org/wifi_atheros
et voici le résultat :

gbulnesc@gbulnesc-laptop:~$ wget http://kolmoskone.homelinux.org/~kaja/kamaa/madwifi.sh -O madwifi.sh
--09:50:16--  http://kolmoskone.homelinux.org/~kaja/kamaa/madwifi.sh
           => `madwifi.sh'
Résolution de kolmoskone.homelinux.org... 81.175.201.149
Connexion vers kolmoskone.homelinux.org|81.175.201.149|:80... connecté.
requête HTTP transmise, en attente de la réponse... 200 OK
Longueur: 8.804 (8.6K) [text/x-sh]

100%[====================================>] 8.804         52.50K/s             

09:50:16 (52.42 KB/s) - « madwifi.sh » sauvegardé [8804/8804]

gbulnesc@gbulnesc-laptop:~$ chmod +x madwifi.sh
gbulnesc@gbulnesc-laptop:~$ sudo ./madwifi.sh
sudo: unable to resolve host gbulnesc-laptop
[sudo] password for gbulnesc:
Found at least one Atheros device.
Checking build dependencies...
Aucun paquet ne correspond à subversion.
Installing subversion...Sélection du paquet libapr1 précédemment désélectionné.
(Lecture de la base de données... 128485 fichiers et répertoires déjà installés.)
Dépaquetage de libapr1 (à partir de .../libapr1_1.2.11-1_i386.deb) ...
Sélection du paquet libaprutil1 précédemment désélectionné.
Dépaquetage de libaprutil1 (à partir de .../libaprutil1_1.2.12+dfsg-3_i386.deb) ...
Sélection du paquet libsvn1 précédemment désélectionné.
Dépaquetage de libsvn1 (à partir de .../libsvn1_1.4.6dfsg1-2ubuntu1_i386.deb) ...
Sélection du paquet subversion précédemment désélectionné.
Dépaquetage de subversion (à partir de .../subversion_1.4.6dfsg1-2ubuntu1_i386.deb) ...
Paramétrage de libapr1 (1.2.11-1) ...

Paramétrage de libaprutil1 (1.2.12+dfsg-3) ...

Paramétrage de libsvn1 (1.4.6dfsg1-2ubuntu1) ...

Paramétrage de subversion (1.4.6dfsg1-2ubuntu1) ...
Processing triggers for libc6 ...
ldconfig deferred processing now taking place
OK
...build dependencies OK
Fetching sources from SVN...OK
Removing previous MadWifi installations...OK
Building MadWifi...OK
Installing MadWifi...OK
Loading kernel module...OK
Adding ath_pci to /etc/modules...OK
It seems that the driver did not detect compatible hardware.
Please try to connect to an AP and post the output of
sudo ./madwifi.sh --info to the forum.
gbulnesc@gbulnesc-laptop:~$ Checking build dependencies...
bash: Checking : commande introuvable
gbulnesc@gbulnesc-laptop:~$ ...build dependencies OK
bash: ...build : commande introuvable
gbulnesc@gbulnesc-laptop:~$ Fetching sources from SVN...OK
bash: Fetching : commande introuvable
gbulnesc@gbulnesc-laptop:~$ Running pre-install scripts...OK
bash: Running : commande introuvable
gbulnesc@gbulnesc-laptop:~$ Building MadWifi...OK
bash: Building : commande introuvable
gbulnesc@gbulnesc-laptop:~$ Installing MadWifi...OK
bash: Installing : commande introuvable
gbulnesc@gbulnesc-laptop:~$ Loading kernel module...OK
bash: Loading : commande introuvable
gbulnesc@gbulnesc-laptop:~$ No compatible chip found for the driver installed.
bash: No : commande introuvable
gbulnesc@gbulnesc-laptop:~$ If WLAN works anyway, please post the output of
bash: If : commande introuvable
gbulnesc@gbulnesc-laptop:~$ sudo ./madwifi --info to the forum.
sudo: unable to resolve host gbulnesc-laptop
sudo: ./madwifi: command not found

J'ai alors entré la commande qu'il m'a dit et ca donne :

gbulnesc@gbulnesc-laptop:~$ sudo ./madwifi.sh --info
sudo: unable to resolve host gbulnesc-laptop
Found at least one Atheros device.
Linux gbulnesc-laptop 2.6.24-21-generic #1 SMP Tue Oct 21 23:43:45 UTC 2008 i686 GNU/Linux
Distro: Debian
02:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
	Subsystem: Askey Computer Corp. Unknown device 7128
	Flags: fast devsel, IRQ 17
	Memory at ff2f0000 (64-bit, non-prefetchable) [size=64K]

ath_pci               248376  0 
wlan                  235504  1 ath_pci
ath_hal               252512  1 ath_pci
[   28.398201] ath_hal: module license 'Proprietary' taints kernel.
[   28.444323] ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
[   28.825435] ath_pci: 0.9.4
[49699.906555] ath_pci: driver unloaded
[49700.220432] ath_hal: driver unloaded
[49748.136867] ath_pci: HAL doesn't support MAC revision 0xffffffff
wifi0: 0 ath0: 0
gbulnesc@gbulnesc-laptop:~$

#4 Le 28/11/2008, à 15:00

willy78

Re : problème de wifi atheros 5007

pas de bol c'est pas la bonne doc!
là:
http://doc.ubuntu-fr.org/atheros_ar5007 … es_madwifi


Quelques tutos pour le wifi sous Ubuntu:
http://wlety.free.fr/forum

Hors ligne