Contenu | Rechercher | Menus

Annonce

Si vous rencontrez des soucis à rester connecté sur le forum (ou si vous avez perdu votre mot de passe) déconnectez-vous et reconnectez-vous depuis cette page, en cochant la case "Me connecter automatiquement lors de mes prochaines visites". Attention, le forum rencontre actuellement quelques difficultés. En cas d'erreur 502, il ne faut pas re-valider l'envoi d'un message ou l'ouverture d'une discussion, au risque de créer un doublon.

La section divers se réorganise ! De nouvelles sous-sections à venir. (plus d'infos + donner son avis)

#26 Le 11/01/2008, à 11:25

ledocteur

Re : wifi avec la methode de Willy78 donnée le 02/01/08

Bonjour,
voila les resultats demandés
jean@jean-laptop:~$ sudo lshw -C network
[sudo] password for jean:
  *-network UNCLAIMED     
       description: Ethernet controller
       product: AR5006EG 802.11 b/g 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: L2 100 Mbit Ethernet Adapter
       vendor: Attansic Technology Corp.
       physical id: 0
       bus info: pci@0000:06:00.0
       logical name: eth0
       version: a0
       serial: 00:1d:60:cd:66:21
       size: 100MB/s
       capacity: 100MB/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=ATL2 driverversion=1.0.40.2 duplex=full firmware=L2 ip=192.168.1.70 latency=0 link=yes module=atl2 multicast=yes port=twisted pair speed=100MB/s
jean@jean-laptop:~$ iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

jean@jean-laptop:~$ modinfo ath_pci
filename:       /lib/modules/2.6.22-14-generic/madwifi/ath_pci.ko
license:        Dual BSD/GPL
version:        0.9.3.2
description:    Support for Atheros 802.11 wireless LAN cards.
author:         Errno Consulting, Sam Leffler
srcversion:     F1ED01FDEFF40A3C458CC49
alias:          pci:v0000168Cd00009013sv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000001Dsv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000001Csv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000001Bsv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000001Asv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000019sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000018sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000017sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000016sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000015sv*sd*bc*sc*i*
alias:          pci:v0000168Cd0000101Asv*sd*bc*sc*i*
alias:          pci:v0000168Cd00001014sv*sd*bc*sc*i*
alias:          pci:v000010B7d00000013sv*sd*bc*sc*i*
alias:          pci:v0000A727d00000013sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000013sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000012sv*sd*bc*sc*i*
alias:          pci:v0000168Cd00000007sv*sd*bc*sc*i*
depends:        ath_hal,wlan
vermagic:       2.6.22-14-generic SMP mod_unload 586
parm:           countrycode:Override default country code (int)
parm:           outdoor:Enable/disable outdoor use (int)
parm:           xchanmode:Enable/disable extended channel mode (int)
parm:           rfkill:Enable/disable RFKILL capability (int)
parm:           autocreate:Create ath device in [sta|ap|wds|adhoc|ahdemo|monitor] mode. defaults to sta, use 'none' to disable (charp)
parm:           ratectl:Rate control algorithm [amrr|onoe|sample], defaults to 'sample' (charp)
parm:           ath_debug:Load-time debug output enable (int)
jean@jean-laptop:~$

Hors ligne

#27 Le 11/01/2008, à 12:51

ledocteur

Re : wifi avec la methode de Willy78 donnée le 02/01/08

quand je tape:
jean@jean-laptop:~$ cd madwifi-ng-*
bash: cd: madwifi-ng-0933.ar2425.20071130.i386.patch: N'est pas un répertoire
est-ce que la reponses est bonne?

Hors ligne

#28 Le 11/01/2008, à 12:52

willy78

Re : wifi avec la methode de Willy78 donnée le 02/01/08

fais voir

sudo modprobe ath_pci
iwlist scan 
sudo lshw -C network

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

Hors ligne

#29 Le 11/01/2008, à 13:03

ledocteur

Re : wifi avec la methode de Willy78 donnée le 02/01/08

Bonjour willy et merci,
voila la reponse:
ean@jean-laptop:~$ sudo modprobe ath_pci
jean@jean-laptop:~$ iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

jean@jean-laptop:~$ sudo lshw -C network
  *-network UNCLAIMED     
       description: Ethernet controller
       product: AR5006EG 802.11 b/g 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: L2 100 Mbit Ethernet Adapter
       vendor: Attansic Technology Corp.
       physical id: 0
       bus info: pci@0000:06:00.0
       logical name: eth0
       version: a0
       serial: 00:1d:60:cd:66:21
       size: 100MB/s
       capacity: 100MB/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=ATL2 driverversion=1.0.40.2 duplex=full firmware=L2 ip=192.168.1.70 latency=0 link=yes module=atl2 multicast=yes port=twisted pair speed=100MB/s
jean@jean-laptop:~$

Hors ligne

#30 Le 11/01/2008, à 13:07

willy78

Re : wifi avec la methode de Willy78 donnée le 02/01/08

donne le retour de

ls

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

Hors ligne

#31 Le 11/01/2008, à 13:10

ledocteur

Re : wifi avec la methode de Willy78 donnée le 02/01/08

ca arrive voila,
jean@jean-laptop:~$ ls
amsn_received
ar5007eg-32-0.2
ar5007eg-32-0.2.tar.gz
ar5007eg-32-0.2.tar.gz.1
bash
bcmvl5
bcmwl5
Bureau
Documents
Examples
Images
madwifi-ng-0933.ar2425.20071130.i386.patch
madwifi-ng-current.tar.gz
madwifi-ng-current.tar.gz.1
madwifi-ng-r2756-20071018
madwifi-ng-r2756-20071018.tar.gz
madwifi-ng-r2756-20071018.tar.gz.1
madwifi-ng-r2756-20071018.tar.gz.2
madwifi-ng-r2756-20071018.tar.gz.3
madwifi-ng-r2756-20071018.tar.gz.4
madwifi-ng-r2756-20071018.tar.gz.5
madwifi-ng-r2756-20071018.tar.gz.6
madwifi-ng-r3123-20080111
Modèles
Musique
nautilus-debug-log.txt
ndiswrapper-1.5.tar.gz
ndiswrapper-1.5.tar.gz.1
ndiswrapper-common_1.50-1ubuntu1_all.deb
ndiswrapper-utils-1.9_1.50-1ubuntu1_i386(2).deb
ndiswrapper-utils-1.9_1.50-1ubuntu1_i386.deb
patch
Public
Vidéos
jean@jean-laptop:~$

Hors ligne

#32 Le 11/01/2008, à 13:15

willy78

Re : wifi avec la methode de Willy78 donnée le 02/01/08

ok

sudo rmmod ath_pci
cd 
cd madwifi-ng-r3123-20080111
 wget http://madwifi.org/attachment/ticket/1679/madwifi-ng-0933.ar2425.20071130.i386.patch?format=raw -O madwifi-ng-0933.ar2425.20071130.i386.patch
patch -p0 < madwifi-ng-0933.ar2425.20071130.i386.patch
make 
sudo make install
sudo modprobe ath_pci

et donne le retour de

sudo lshw -C network
iwlist scan

Dernière modification par willy78 (Le 11/01/2008, à 13:16)


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

Hors ligne

#33 Le 11/01/2008, à 13:21

ledocteur

Re : wifi avec la methode de Willy78 donnée le 02/01/08

est-ce normal?
Skip this patch? [y] y

Hors ligne

#34 Le 11/01/2008, à 13:22

ledocteur

Re : wifi avec la methode de Willy78 donnée le 02/01/08

la reponse?
Skip this patch? [y] y
Skipping patch.
6 out of 6 hunks ignored
can't find file to patch at input line 93
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff -Naur old-hal/public/i386-elf.hal.o.uu hal/public/i386-elf.hal.o.uu
|--- old-hal/public/i386-elf.hal.o.uu   2007-12-03 16:17:16.000000000 -0800
|+++ hal/public/i386-elf.hal.o.uu       2007-12-03 16:15:17.000000000 -0800
--------------------------
File to patch:

Hors ligne

#35 Le 11/01/2008, à 13:26

willy78

Re : wifi avec la methode de Willy78 donnée le 02/01/08

peut-etre que le patch n'est lpus utile dans cette version de madwifi
donc si tu n'as pas fermer le terminale et que tu te trouve toujours dans le dossier madwifi-ng-r3123-20080111

make 
sudo make install
sudo modprobe ath_pci

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

Hors ligne

#36 Le 11/01/2008, à 13:27

willy78

Re : wifi avec la methode de Willy78 donnée le 02/01/08

je dois partir et je n'est pas de pc sur mes lieux de boulot A++


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

Hors ligne

#37 Le 11/01/2008, à 13:27

ledocteur

Re : wifi avec la methode de Willy78 donnée le 02/01/08

il me demande toujours:file to patch:

Hors ligne

#38 Le 11/01/2008, à 13:28

ledocteur

Re : wifi avec la methode de Willy78 donnée le 02/01/08

A+ merci

Hors ligne

#39 Le 11/01/2008, à 13:43

ledocteur

Re : wifi avec la methode de Willy78 donnée le 02/01/08

voila ce que j'ai fait:
jean@jean-laptop:~$ sudo modprobe ath_pci
jean@jean-laptop:~$ iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

jean@jean-laptop:~$ sudo lshw -C network
  *-network UNCLAIMED     
       description: Ethernet controller
       product: AR5006EG 802.11 b/g 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: L2 100 Mbit Ethernet Adapter
       vendor: Attansic Technology Corp.
       physical id: 0
       bus info: pci@0000:06:00.0
       logical name: eth0
       version: a0
       serial: 00:1d:60:cd:66:21
       size: 100MB/s
       capacity: 100MB/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=ATL2 driverversion=1.0.40.2 duplex=full firmware=L2 ip=192.168.1.70 latency=0 link=yes module=atl2 multicast=yes port=twisted pair speed=100MB/s
jean@jean-laptop:~$ ls
amsn_received
ar5007eg-32-0.2
ar5007eg-32-0.2.tar.gz
ar5007eg-32-0.2.tar.gz.1
bash
bcmvl5
bcmwl5
Bureau
Documents
Examples
Images
madwifi-ng-0933.ar2425.20071130.i386.patch
madwifi-ng-current.tar.gz
madwifi-ng-current.tar.gz.1
madwifi-ng-r2756-20071018
madwifi-ng-r2756-20071018.tar.gz
madwifi-ng-r2756-20071018.tar.gz.1
madwifi-ng-r2756-20071018.tar.gz.2
madwifi-ng-r2756-20071018.tar.gz.3
madwifi-ng-r2756-20071018.tar.gz.4
madwifi-ng-r2756-20071018.tar.gz.5
madwifi-ng-r2756-20071018.tar.gz.6
madwifi-ng-r3123-20080111
Modèles
Musique
nautilus-debug-log.txt
ndiswrapper-1.5.tar.gz
ndiswrapper-1.5.tar.gz.1
ndiswrapper-common_1.50-1ubuntu1_all.deb
ndiswrapper-utils-1.9_1.50-1ubuntu1_i386(2).deb
ndiswrapper-utils-1.9_1.50-1ubuntu1_i386.deb
patch
Public
Vidéos
jean@jean-laptop:~$ sudo rmmod ath_pci
jean@jean-laptop:~$ cd
jean@jean-laptop:~$ cd madwifi-ng-r3123-20080111
jean@jean-laptop:~/madwifi-ng-r3123-20080111$  wget http://madwifi.org/attachment/ticket/1679/madwifi-ng-0933.ar2425.20071130.i386.patch?format=raw -O madwifi-ng-0933.ar2425.20071130.i386.patch
--13:37:59--  http://madwifi.org/attachment/ticket/1679/madwifi-ng-0933.ar2425.20071130.i386.patch?format=raw
           => `madwifi-ng-0933.ar2425.20071130.i386.patch'
Résolution de madwifi.org... 217.24.1.134
Connexion vers madwifi.org|217.24.1.134|:80... connecté.
requête HTTP transmise, en attente de la réponse... 200 OK
Longueur: 695 617 (679K) [text/x-diff]

100%[====================================>] 695 617      272.82K/s             

13:38:02 (272.37 KB/s) - « madwifi-ng-0933.ar2425.20071130.i386.patch » sauvegardé [695617/695617]

jean@jean-laptop:~/madwifi-ng-r3123-20080111$ make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.22-14-generic/build SUBDIRS=/home/jean/madwifi-ng-r3123-20080111 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
  CC [M]  /home/jean/madwifi-ng-r3123-20080111/ath/if_ath.o
  CC [M]  /home/jean/madwifi-ng-r3123-20080111/ath/if_ath_pci.o
  LD [M]  /home/jean/madwifi-ng-r3123-20080111/ath/ath_pci.o
  CC [M]  /home/jean/madwifi-ng-r3123-20080111/ath_hal/ah_os.o
  HOSTCC  /home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:26:19: error: stdio.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:27:19: error: errno.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:28:20: error: getopt.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:29:20: error: string.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:30:20: error: stdlib.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:32:23: error: sys/fcntl.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:33:22: error: sys/stat.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c: In function 'uudecode_usage':
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:37: warning: implicit declaration of function 'printf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:37: warning: incompatible implicit declaration of built-in function 'printf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c: At top level:
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:40: error: expected ')' before '*' token
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:70: error: expected ')' before '*' token
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c: In function 'main':
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:121: error: 'FILE' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:121: error: (Each undeclared identifier is reported only once
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:121: error: for each function it appears in.)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:121: error: 'src_stream' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:122: error: 'dst_stream' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:122: error: 'NULL' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:130: warning: implicit declaration of function 'getopt'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:134: error: 'optarg' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:138: warning: implicit declaration of function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:138: warning: incompatible implicit declaration of built-in function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:141: error: 'optind' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:142: error: 'stdin' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:144: warning: implicit declaration of function 'fopen'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:146: warning: implicit declaration of function 'fprintf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:146: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:146: error: 'stderr' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:147: warning: implicit declaration of function 'strerror'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:147: error: 'errno' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:147: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:148: warning: incompatible implicit declaration of built-in function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:152: warning: incompatible implicit declaration of built-in function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:156: warning: implicit declaration of function 'get_line_from_file'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:156: warning: assignment makes pointer from integer without a cast
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:157: warning: implicit declaration of function 'strncmp'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:164: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:165: warning: incompatible implicit declaration of built-in function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:168: warning: implicit declaration of function 'strtoul'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:170: warning: implicit declaration of function 'strchr'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:170: warning: incompatible implicit declaration of built-in function 'strchr'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:172: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:173: warning: incompatible implicit declaration of built-in function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:178: warning: implicit declaration of function 'strcmp'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:179: error: 'stdout' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:182: error: 'O_WRONLY' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:182: error: 'O_CREAT' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:182: error: 'O_TRUNC' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:186: error: 'O_EXCL' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:188: warning: implicit declaration of function 'open'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:189: error: 'S_IRWXU' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:189: error: 'S_IRWXG' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:189: error: 'S_IRWXO' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:191: warning: implicit declaration of function 'fdopen'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:193: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:194: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:195: warning: incompatible implicit declaration of built-in function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:199: warning: implicit declaration of function 'read_stduu'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:201: warning: implicit declaration of function 'fclose'
make[3]: *** [/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode] Error 1
make[2]: *** [/home/jean/madwifi-ng-r3123-20080111/ath_hal] Error 2
make[1]: *** [_module_/home/jean/madwifi-ng-r3123-20080111] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [modules] Erreur 2
jean@jean-laptop:~/madwifi-ng-r3123-20080111$ sudo make install
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.22-14-generic/build SUBDIRS=/home/jean/madwifi-ng-r3123-20080111 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
  HOSTCC  /home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:26:19: error: stdio.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:27:19: error: errno.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:28:20: error: getopt.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:29:20: error: string.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:30:20: error: stdlib.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:32:23: error: sys/fcntl.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:33:22: error: sys/stat.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c: In function 'uudecode_usage':
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:37: warning: implicit declaration of function 'printf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:37: warning: incompatible implicit declaration of built-in function 'printf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c: At top level:
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:40: error: expected ')' before '*' token
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:70: error: expected ')' before '*' token
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c: In function 'main':
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:121: error: 'FILE' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:121: error: (Each undeclared identifier is reported only once
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:121: error: for each function it appears in.)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:121: error: 'src_stream' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:122: error: 'dst_stream' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:122: error: 'NULL' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:130: warning: implicit declaration of function 'getopt'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:134: error: 'optarg' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:138: warning: implicit declaration of function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:138: warning: incompatible implicit declaration of built-in function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:141: error: 'optind' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:142: error: 'stdin' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:144: warning: implicit declaration of function 'fopen'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:146: warning: implicit declaration of function 'fprintf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:146: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:146: error: 'stderr' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:147: warning: implicit declaration of function 'strerror'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:147: error: 'errno' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:147: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:148: warning: incompatible implicit declaration of built-in function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:152: warning: incompatible implicit declaration of built-in function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:156: warning: implicit declaration of function 'get_line_from_file'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:156: warning: assignment makes pointer from integer without a cast
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:157: warning: implicit declaration of function 'strncmp'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:164: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:165: warning: incompatible implicit declaration of built-in function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:168: warning: implicit declaration of function 'strtoul'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:170: warning: implicit declaration of function 'strchr'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:170: warning: incompatible implicit declaration of built-in function 'strchr'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:172: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:173: warning: incompatible implicit declaration of built-in function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:178: warning: implicit declaration of function 'strcmp'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:179: error: 'stdout' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:182: error: 'O_WRONLY' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:182: error: 'O_CREAT' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:182: error: 'O_TRUNC' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:186: error: 'O_EXCL' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:188: warning: implicit declaration of function 'open'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:189: error: 'S_IRWXU' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:189: error: 'S_IRWXG' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:189: error: 'S_IRWXO' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:191: warning: implicit declaration of function 'fdopen'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:193: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:194: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:195: warning: incompatible implicit declaration of built-in function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:199: warning: implicit declaration of function 'read_stduu'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:201: warning: implicit declaration of function 'fclose'
make[3]: *** [/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode] Error 1
make[2]: *** [/home/jean/madwifi-ng-r3123-20080111/ath_hal] Error 2
make[1]: *** [_module_/home/jean/madwifi-ng-r3123-20080111] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [modules] Erreur 2
jean@jean-laptop:~/madwifi-ng-r3123-20080111$ sudo modprobe ath_pci
jean@jean-laptop:~/madwifi-ng-r3123-20080111$ sudo lshw -C network
  *-network UNCLAIMED     
       description: Ethernet controller
       product: AR5006EG 802.11 b/g 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: L2 100 Mbit Ethernet Adapter
       vendor: Attansic Technology Corp.
       physical id: 0
       bus info: pci@0000:06:00.0
       logical name: eth0
       version: a0
       serial: 00:1d:60:cd:66:21
       size: 100MB/s
       capacity: 100MB/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=ATL2 driverversion=1.0.40.2 duplex=full firmware=L2 ip=192.168.1.70 latency=0 link=yes module=atl2 multicast=yes port=twisted pair speed=100MB/s
jean@jean-laptop:~/madwifi-ng-r3123-20080111$ iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

jean@jean-laptop:~/madwifi-ng-r3123-20080111$ sudo lshw -C network
  *-network UNCLAIMED     
       description: Ethernet controller
       product: AR5006EG 802.11 b/g 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: L2 100 Mbit Ethernet Adapter
       vendor: Attansic Technology Corp.
       physical id: 0
       bus info: pci@0000:06:00.0
       logical name: eth0
       version: a0
       serial: 00:1d:60:cd:66:21
       size: 100MB/s
       capacity: 100MB/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=ATL2 driverversion=1.0.40.2 duplex=full firmware=L2 ip=192.168.1.70 latency=0 link=yes module=atl2 multicast=yes port=twisted pair speed=100MB/s
jean@jean-laptop:~/madwifi-ng-r3123-20080111$

Hors ligne

#40 Le 11/01/2008, à 13:47

safinaz

Re : wifi avec la methode de Willy78 donnée le 02/01/08

tu n'as pas patché

sudo rmmod ath_pci
cd 
cd madwifi-ng-r3123-20080111
make clean
patch -p0 < madwifi-ng-0933.ar2425.20071130.i386.patch
make 
sudo make install
sudo modprobe ath_pci

et donne le retour de

sudo lshw -C network
iwlist scan

#41 Le 11/01/2008, à 14:41

ledocteur

Re : wifi avec la methode de Willy78 donnée le 02/01/08

Bonjour,
je te donne le retour:
jean@jean-laptop:~$ sudo lshw -C network
[sudo] password for jean:
  *-network UNCLAIMED     
       description: Ethernet controller
       product: AR5006EG 802.11 b/g 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: L2 100 Mbit Ethernet Adapter
       vendor: Attansic Technology Corp.
       physical id: 0
       bus info: pci@0000:06:00.0
       logical name: eth0
       version: a0
       serial: 00:1d:60:cd:66:21
       size: 100MB/s
       capacity: 100MB/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=ATL2 driverversion=1.0.40.2 duplex=full firmware=L2 ip=192.168.1.70 latency=0 link=yes module=atl2 multicast=yes port=twisted pair speed=100MB/s
jean@jean-laptop:~$ iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

jean@jean-laptop:~$

Hors ligne

#42 Le 11/01/2008, à 18:53

willy78

Re : wifi avec la methode de Willy78 donnée le 02/01/08

Ce n'est rien on a juste oublié un petit truc essentiel pour pouvoir compiler ton module lol
ça:

sudo apt-get install build-essential

Ca installe le nécessaire pour pouvoir compiler, c'est idiot! wink
bon on recommence!

sudo rmmod ath_pci
cd 
cd madwifi-ng-r3123-20080111
make clean
patch -p0 < madwifi-ng-0933.ar2425.20071130.i386.patch
make 
sudo make install
sudo modprobe ath_pci

et donnes le retour de:

sudo lshw -C network
iwlist scan

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

Hors ligne

#43 Le 11/01/2008, à 19:38

ledocteur

Re : wifi avec la methode de Willy78 donnée le 02/01/08

jean@jean-laptop:~$ sudo rmmod ath_pci
[sudo] password for jean:
jean@jean-laptop:~$ cd
jean@jean-laptop:~$ cd madwifi-ng-r3123-20080111
jean@jean-laptop:~/madwifi-ng-r3123-20080111$ make clean
for i in ath/ ath_hal/ ath_rate/ net80211/; do \
                make -C $i clean; \
        done
make[1]: Entering directory `/home/jean/madwifi-ng-r3123-20080111/ath'
rm -f *~ *.o *.ko *.mod.c .*.cmd
rm -f .depend .version .*.o.flags .*.o.d
rm -rf .tmp_versions
make[1]: Leaving directory `/home/jean/madwifi-ng-r3123-20080111/ath'
make[1]: Entering directory `/home/jean/madwifi-ng-r3123-20080111/ath_hal'
rm -f *~ *.o *.ko *.mod.c uudecode .*.cmd
rm -f .depend .version .*.o.flags .*.o.d
rm -rf .tmp_versions
make[1]: Leaving directory `/home/jean/madwifi-ng-r3123-20080111/ath_hal'
make[1]: Entering directory `/home/jean/madwifi-ng-r3123-20080111/ath_rate'
for i in amrr/ onoe/ sample/ minstrel/; do \
                make -C $i clean; \
        done
make[2]: Entering directory `/home/jean/madwifi-ng-r3123-20080111/ath_rate/amrr'
rm -f *~ *.o *.ko *.mod.c
rm -f .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
make[2]: Leaving directory `/home/jean/madwifi-ng-r3123-20080111/ath_rate/amrr'
make[2]: Entering directory `/home/jean/madwifi-ng-r3123-20080111/ath_rate/onoe'
rm -f *~ *.o *.ko *.mod.c
rm -f .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
make[2]: Leaving directory `/home/jean/madwifi-ng-r3123-20080111/ath_rate/onoe'
make[2]: Entering directory `/home/jean/madwifi-ng-r3123-20080111/ath_rate/sample'
rm -f *~ *.o *.ko *.mod.c
rm -f .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
make[2]: Leaving directory `/home/jean/madwifi-ng-r3123-20080111/ath_rate/sample'
make[2]: Entering directory `/home/jean/madwifi-ng-r3123-20080111/ath_rate/minstrel'
rm -f *~ *.o *.ko *.mod.c
rm -f .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
make[2]: Leaving directory `/home/jean/madwifi-ng-r3123-20080111/ath_rate/minstrel'
make[1]: Leaving directory `/home/jean/madwifi-ng-r3123-20080111/ath_rate'
make[1]: Entering directory `/home/jean/madwifi-ng-r3123-20080111/net80211'
rm -f *~ *.o *.ko *.mod.c
rm -f .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
make[1]: Leaving directory `/home/jean/madwifi-ng-r3123-20080111/net80211'
make -C ./tools  clean
make[1]: Entering directory `/home/jean/madwifi-ng-r3123-20080111/tools'
rm -f athstats 80211stats athkey athchans athctrl athdebug 80211debug wlanconfig ath_info core a.out
make[1]: Leaving directory `/home/jean/madwifi-ng-r3123-20080111/tools'
rm -rf .tmp_versions
rm -f *.symvers svnversion.h
jean@jean-laptop:~/madwifi-ng-r3123-20080111$ patch -p0 < madwifi-ng-0933.ar2425.20071130.i386.patch
patching file hal/ah.h
Hunk #1 FAILED at 33.
1 out of 6 hunks FAILED -- saving rejects to file hal/ah.h.rej
patching file hal/public/i386-elf.hal.o.uu
patching file hal/public/i386-elf.inc
patching file hal/public/i386-elf.opt_ah.h
patching file hal/version.h
jean@jean-laptop:~/madwifi-ng-r3123-20080111$ make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.22-14-generic/build SUBDIRS=/home/jean/madwifi-ng-r3123-20080111 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
  CC [M]  /home/jean/madwifi-ng-r3123-20080111/ath/if_ath.o
  CC [M]  /home/jean/madwifi-ng-r3123-20080111/ath/if_ath_pci.o
  LD [M]  /home/jean/madwifi-ng-r3123-20080111/ath/ath_pci.o
  CC [M]  /home/jean/madwifi-ng-r3123-20080111/ath_hal/ah_os.o
  HOSTCC  /home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:26:19: error: stdio.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:27:19: error: errno.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:28:20: error: getopt.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:29:20: error: string.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:30:20: error: stdlib.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:32:23: error: sys/fcntl.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:33:22: error: sys/stat.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c: In function 'uudecode_usage':
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:37: warning: implicit declaration of function 'printf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:37: warning: incompatible implicit declaration of built-in function 'printf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c: At top level:
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:40: error: expected ')' before '*' token
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:70: error: expected ')' before '*' token
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c: In function 'main':
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:121: error: 'FILE' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:121: error: (Each undeclared identifier is reported only once
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:121: error: for each function it appears in.)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:121: error: 'src_stream' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:122: error: 'dst_stream' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:122: error: 'NULL' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:130: warning: implicit declaration of function 'getopt'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:134: error: 'optarg' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:138: warning: implicit declaration of function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:138: warning: incompatible implicit declaration of built-in function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:141: error: 'optind' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:142: error: 'stdin' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:144: warning: implicit declaration of function 'fopen'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:146: warning: implicit declaration of function 'fprintf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:146: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:146: error: 'stderr' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:147: warning: implicit declaration of function 'strerror'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:147: error: 'errno' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:147: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:148: warning: incompatible implicit declaration of built-in function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:152: warning: incompatible implicit declaration of built-in function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:156: warning: implicit declaration of function 'get_line_from_file'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:156: warning: assignment makes pointer from integer without a cast
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:157: warning: implicit declaration of function 'strncmp'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:164: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:165: warning: incompatible implicit declaration of built-in function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:168: warning: implicit declaration of function 'strtoul'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:170: warning: implicit declaration of function 'strchr'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:170: warning: incompatible implicit declaration of built-in function 'strchr'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:172: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:173: warning: incompatible implicit declaration of built-in function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:178: warning: implicit declaration of function 'strcmp'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:179: error: 'stdout' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:182: error: 'O_WRONLY' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:182: error: 'O_CREAT' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:182: error: 'O_TRUNC' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:186: error: 'O_EXCL' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:188: warning: implicit declaration of function 'open'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:189: error: 'S_IRWXU' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:189: error: 'S_IRWXG' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:189: error: 'S_IRWXO' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:191: warning: implicit declaration of function 'fdopen'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:193: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:194: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:195: warning: incompatible implicit declaration of built-in function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:199: warning: implicit declaration of function 'read_stduu'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:201: warning: implicit declaration of function 'fclose'
make[3]: *** [/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode] Error 1
make[2]: *** [/home/jean/madwifi-ng-r3123-20080111/ath_hal] Error 2
make[1]: *** [_module_/home/jean/madwifi-ng-r3123-20080111] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [modules] Erreur 2
jean@jean-laptop:~/madwifi-ng-r3123-20080111$ sudo make install
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.22-14-generic/build SUBDIRS=/home/jean/madwifi-ng-r3123-20080111 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
  HOSTCC  /home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:26:19: error: stdio.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:27:19: error: errno.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:28:20: error: getopt.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:29:20: error: string.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:30:20: error: stdlib.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:32:23: error: sys/fcntl.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:33:22: error: sys/stat.h: No such file or directory
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c: In function 'uudecode_usage':
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:37: warning: implicit declaration of function 'printf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:37: warning: incompatible implicit declaration of built-in function 'printf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c: At top level:
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:40: error: expected ')' before '*' token
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:70: error: expected ')' before '*' token
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c: In function 'main':
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:121: error: 'FILE' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:121: error: (Each undeclared identifier is reported only once
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:121: error: for each function it appears in.)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:121: error: 'src_stream' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:122: error: 'dst_stream' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:122: error: 'NULL' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:130: warning: implicit declaration of function 'getopt'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:134: error: 'optarg' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:138: warning: implicit declaration of function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:138: warning: incompatible implicit declaration of built-in function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:141: error: 'optind' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:142: error: 'stdin' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:144: warning: implicit declaration of function 'fopen'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:146: warning: implicit declaration of function 'fprintf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:146: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:146: error: 'stderr' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:147: warning: implicit declaration of function 'strerror'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:147: error: 'errno' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:147: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:148: warning: incompatible implicit declaration of built-in function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:152: warning: incompatible implicit declaration of built-in function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:156: warning: implicit declaration of function 'get_line_from_file'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:156: warning: assignment makes pointer from integer without a cast
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:157: warning: implicit declaration of function 'strncmp'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:164: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:165: warning: incompatible implicit declaration of built-in function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:168: warning: implicit declaration of function 'strtoul'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:170: warning: implicit declaration of function 'strchr'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:170: warning: incompatible implicit declaration of built-in function 'strchr'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:172: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:173: warning: incompatible implicit declaration of built-in function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:178: warning: implicit declaration of function 'strcmp'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:179: error: 'stdout' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:182: error: 'O_WRONLY' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:182: error: 'O_CREAT' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:182: error: 'O_TRUNC' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:186: error: 'O_EXCL' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:188: warning: implicit declaration of function 'open'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:189: error: 'S_IRWXU' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:189: error: 'S_IRWXG' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:189: error: 'S_IRWXO' undeclared (first use in this function)
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:191: warning: implicit declaration of function 'fdopen'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:193: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:194: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:195: warning: incompatible implicit declaration of built-in function 'exit'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:199: warning: implicit declaration of function 'read_stduu'
/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode.c:201: warning: implicit declaration of function 'fclose'
make[3]: *** [/home/jean/madwifi-ng-r3123-20080111/ath_hal/uudecode] Error 1
make[2]: *** [/home/jean/madwifi-ng-r3123-20080111/ath_hal] Error 2
make[1]: *** [_module_/home/jean/madwifi-ng-r3123-20080111] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [modules] Erreur 2
jean@jean-laptop:~/madwifi-ng-r3123-20080111$ sudo modprobe ath_pci
jean@jean-laptop:~/madwifi-ng-r3123-20080111$ sudo lshw -C network
  *-network UNCLAIMED     
       description: Ethernet controller
       product: AR5006EG 802.11 b/g 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: L2 100 Mbit Ethernet Adapter
       vendor: Attansic Technology Corp.
       physical id: 0
       bus info: pci@0000:06:00.0
       logical name: eth0
       version: a0
       serial: 00:1d:60:cd:66:21
       size: 100MB/s
       capacity: 100MB/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=ATL2 driverversion=1.0.40.2 duplex=full firmware=L2 ip=192.168.1.70 latency=0 link=yes module=atl2 multicast=yes port=twisted pair speed=100MB/s
jean@jean-laptop:~/madwifi-ng-r3123-20080111$ iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

jean@jean-laptop:~/madwifi-ng-r3123-20080111$

Hors ligne

#44 Le 11/01/2008, à 19:41

willy78

Re : wifi avec la methode de Willy78 donnée le 02/01/08

Tu as fais ça avant?

sudo apt-get install build-essential

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

Hors ligne

#45 Le 11/01/2008, à 19:42

ledocteur

Re : wifi avec la methode de Willy78 donnée le 02/01/08

non,je vais tout refaire,a tout de suite

Hors ligne

#46 Le 11/01/2008, à 19:45

safinaz

Re : wifi avec la methode de Willy78 donnée le 02/01/08

Ce n'est rien on a juste oublié un petit truc essentiel pour pouvoir compiler ton module lol
ça:

sudo apt-get install build-essential linux headers

Ca installe le nécessaire pour pouvoir compiler, c'est idiot! wink
bon on recommence!

sudo rmmod ath_pci
cd 
rm -rf madwifi-ng-r3123-20080111
wget http://snapshots.madwifi.org/madwifi-ng-current.tar.gz
tar -xvzf madwifi-ng-current.tar.gz
cd madwifi-ng*
wget http://madwifi.org/attachment/ticket/1679/madwifi-ng-0933.ar2425.20071130.i386.patch?format=raw -O madwifi-ng-0933.ar2425.20071130.i386.patch
patch -p0 < madwifi-ng-0933.ar2425.20071130.i386.patch
make clean
patch -p0 < madwifi-ng-0933.ar2425.20071130.i386.patch
make 
sudo make install
sudo modprobe ath_pci

et donnes le retour de:

sudo lshw -C network
iwlist scan

#47 Le 11/01/2008, à 19:47

ledocteur

Re : wifi avec la methode de Willy78 donnée le 02/01/08

ça plante:
jean@jean-laptop:~$ sudo apt-get install build-essential
[sudo] password for jean:
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Les paquets supplémentaires suivants seront installés :
  dpkg-dev g++ g++-4.1 libc6-dev libstdc++6-4.1-dev linux-libc-dev
Paquets suggérés :
  debian-keyring g++-multilib g++-4.1-multilib gcc-4.1-doc glibc-doc
  manpages-dev libstdc++6-4.1-doc
Les NOUVEAUX paquets suivants seront installés :
  build-essential dpkg-dev g++ g++-4.1 libc6-dev libstdc++6-4.1-dev
  linux-libc-dev
0 mis à jour, 7 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 7839ko dans les archives.
Après dépaquetage, 31,7Mo d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer [O/n] ? O
Réception de : 1 http://fr.archive.ubuntu.com gutsy/main linux-libc-dev 2.6.22-14.46 [652kB]
Réception de : 2 http://fr.archive.ubuntu.com gutsy/main libc6-dev 2.6.1-1ubuntu9 [3287kB]
Réception de : 3 http://fr.archive.ubuntu.com gutsy/main libstdc++6-4.1-dev 4.1.2-16ubuntu2 [1129kB]
Réception de : 4 http://fr.archive.ubuntu.com gutsy/main g++-4.1 4.1.2-16ubuntu2 [2600kB]
Réception de : 5 http://fr.archive.ubuntu.com gutsy/main g++ 4:4.1.2-9ubuntu2 [1440B]
Réception de : 6 http://fr.archive.ubuntu.com gutsy/main dpkg-dev 1.14.5ubuntu16 [162kB]
Réception de : 7 http://fr.archive.ubuntu.com gutsy/main build-essential 11.3ubuntu1 [7066B]
7839ko réceptionnés en 30s (261ko/s)                                           
Sélection du paquet linux-libc-dev précédemment désélectionné.
(Lecture de la base de données... 94472 fichiers et répertoires déjà installés.)
Dépaquetage de linux-libc-dev (à partir de .../linux-libc-dev_2.6.22-14.46_i386.deb) ...
Sélection du paquet libc6-dev précédemment désélectionné.
Dépaquetage de libc6-dev (à partir de .../libc6-dev_2.6.1-1ubuntu9_i386.deb) ...
Sélection du paquet libstdc++6-4.1-dev précédemment désélectionné.
Dépaquetage de libstdc++6-4.1-dev (à partir de .../libstdc++6-4.1-dev_4.1.2-16ubuntu2_i386.deb) ...
Sélection du paquet g++-4.1 précédemment désélectionné.
Dépaquetage de g++-4.1 (à partir de .../g++-4.1_4.1.2-16ubuntu2_i386.deb) ...
Sélection du paquet g++ précédemment désélectionné.
Dépaquetage de g++ (à partir de .../g++_4%3a4.1.2-9ubuntu2_i386.deb) ...
Sélection du paquet dpkg-dev précédemment désélectionné.
Dépaquetage de dpkg-dev (à partir de .../dpkg-dev_1.14.5ubuntu16_all.deb) ...
Sélection du paquet build-essential précédemment désélectionné.
Dépaquetage de build-essential (à partir de .../build-essential_11.3ubuntu1_i386.deb) ...
Paramétrage de linux-libc-dev (2.6.22-14.46) ...
Paramétrage de libc6-dev (2.6.1-1ubuntu9) ...
Paramétrage de dpkg-dev (1.14.5ubuntu16) ...
Paramétrage de libstdc++6-4.1-dev (4.1.2-16ubuntu2) ...
Paramétrage de g++-4.1 (4.1.2-16ubuntu2) ...
Paramétrage de g++ (4:4.1.2-9ubuntu2) ...

Paramétrage de build-essential (11.3ubuntu1) ...
jean@jean-laptop:~$ sudo rmmod ath_pci
jean@jean-laptop:~$ cd
jean@jean-laptop:~$ cd madwifi-ng-r3123-20080111
jean@jean-laptop:~/madwifi-ng-r3123-20080111$ make clean
for i in ath/ ath_hal/ ath_rate/ net80211/; do \
                make -C $i clean; \
        done
make[1]: Entering directory `/home/jean/madwifi-ng-r3123-20080111/ath'
rm -f *~ *.o *.ko *.mod.c .*.cmd
rm -f .depend .version .*.o.flags .*.o.d
rm -rf .tmp_versions
make[1]: Leaving directory `/home/jean/madwifi-ng-r3123-20080111/ath'
make[1]: Entering directory `/home/jean/madwifi-ng-r3123-20080111/ath_hal'
rm -f *~ *.o *.ko *.mod.c uudecode .*.cmd
rm -f .depend .version .*.o.flags .*.o.d
rm -rf .tmp_versions
make[1]: Leaving directory `/home/jean/madwifi-ng-r3123-20080111/ath_hal'
make[1]: Entering directory `/home/jean/madwifi-ng-r3123-20080111/ath_rate'
for i in amrr/ onoe/ sample/ minstrel/; do \
                make -C $i clean; \
        done
make[2]: Entering directory `/home/jean/madwifi-ng-r3123-20080111/ath_rate/amrr'
rm -f *~ *.o *.ko *.mod.c
rm -f .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
make[2]: Leaving directory `/home/jean/madwifi-ng-r3123-20080111/ath_rate/amrr'
make[2]: Entering directory `/home/jean/madwifi-ng-r3123-20080111/ath_rate/onoe'
rm -f *~ *.o *.ko *.mod.c
rm -f .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
make[2]: Leaving directory `/home/jean/madwifi-ng-r3123-20080111/ath_rate/onoe'
make[2]: Entering directory `/home/jean/madwifi-ng-r3123-20080111/ath_rate/sample'
rm -f *~ *.o *.ko *.mod.c
rm -f .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
make[2]: Leaving directory `/home/jean/madwifi-ng-r3123-20080111/ath_rate/sample'
make[2]: Entering directory `/home/jean/madwifi-ng-r3123-20080111/ath_rate/minstrel'
rm -f *~ *.o *.ko *.mod.c
rm -f .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
make[2]: Leaving directory `/home/jean/madwifi-ng-r3123-20080111/ath_rate/minstrel'
make[1]: Leaving directory `/home/jean/madwifi-ng-r3123-20080111/ath_rate'
make[1]: Entering directory `/home/jean/madwifi-ng-r3123-20080111/net80211'
rm -f *~ *.o *.ko *.mod.c
rm -f .depend .version .*.o.flags .*.o.d .*.o.cmd .*.ko.cmd
rm -rf .tmp_versions
make[1]: Leaving directory `/home/jean/madwifi-ng-r3123-20080111/net80211'
make -C ./tools  clean
make[1]: Entering directory `/home/jean/madwifi-ng-r3123-20080111/tools'
rm -f athstats 80211stats athkey athchans athctrl athdebug 80211debug wlanconfig ath_info core a.out
make[1]: Leaving directory `/home/jean/madwifi-ng-r3123-20080111/tools'
rm -rf .tmp_versions
rm -f *.symvers svnversion.h
jean@jean-laptop:~/madwifi-ng-r3123-20080111$ patch -p0 < madwifi-ng-0933.ar2425.20071130.i386.patch
patching file hal/ah.h
Hunk #1 FAILED at 33.
Hunk #2 FAILED at 416.
Hunk #3 FAILED at 441.
Hunk #4 FAILED at 488.
Hunk #5 FAILED at 674.
Hunk #6 FAILED at 711.
6 out of 6 hunks FAILED -- saving rejects to file hal/ah.h.rej
patching file hal/public/i386-elf.hal.o.uu
Reversed (or previously applied) patch detected!  Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
21 out of 21 hunks ignored -- saving rejects to file hal/public/i386-elf.hal.o.uu.rej
patching file hal/public/i386-elf.inc
Reversed (or previously applied) patch detected!  Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file hal/public/i386-elf.inc.rej
patching file hal/public/i386-elf.opt_ah.h
Reversed (or previously applied) patch detected!  Assume -R? [n] n
Apply anyway? [n] n
Skipping patch.
1 out of 1 hunk ignored -- saving rejects to file hal/public/i386-elf.opt_ah.h.rej
patching file hal/version.h
Reversed (or previously applied) patch detected!  Assume -R? [n] n
Apply anyway? [n]

Hors ligne

#48 Le 11/01/2008, à 19:51

willy78

Re : wifi avec la methode de Willy78 donnée le 02/01/08

continues

sudo rmmod ath_pci
cd 
cd madwifi-ng-r3123-20080111
make clean
patch -p0 < madwifi-ng-0933.ar2425.20071130.i386.patch
make 
sudo make install
sudo modprobe ath_pci

retour de

sudo lshw -C network
iwlist scan

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

Hors ligne

#49 Le 11/01/2008, à 20:00

ledocteur

Re : wifi avec la methode de Willy78 donnée le 02/01/08

ça a planté:
jean@jean-laptop:~/madwifi-ng-r3123-20080111$ sudo modprobe ath_pci
FATAL: Error inserting ath_pci (/lib/modules/2.6.22-14-generic/net/ath_pci.ko): Unknown symbol in module, or unknown parameter (see dmesg)
jean@jean-laptop:~/madwifi-ng-r3123-20080111$ sudo lshw -C network
  *-network UNCLAIMED     
       description: Ethernet controller
       product: AR5006EG 802.11 b/g 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: L2 100 Mbit Ethernet Adapter
       vendor: Attansic Technology Corp.
       physical id: 0
       bus info: pci@0000:06:00.0
       logical name: eth0
       version: a0
       serial: 00:1d:60:cd:66:21
       size: 100MB/s
       capacity: 100MB/s
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vpd bus_master cap_list ethernet physical tp 10bt 10bt-fd 100bt 100bt-fd autonegotiation
       configuration: autonegotiation=on broadcast=yes driver=ATL2 driverversion=1.0.40.2 duplex=full firmware=L2 ip=192.168.1.70 latency=0 link=yes module=atl2 multicast=yes port=twisted pair speed=100MB/s
jean@jean-laptop:~/madwifi-ng-r3123-20080111$ iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

jean@jean-laptop:~/madwifi-ng-r3123-20080111$

Hors ligne

#50 Le 11/01/2008, à 20:04

willy78

Re : wifi avec la methode de Willy78 donnée le 02/01/08

tu as fais ?

sudo make install

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

Hors ligne

  • Accueil
  • » Forum
  • » WiFi
  • » wifi avec la methode de Willy78 donnée le 02/01/08

Haut de page ↑