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 31/10/2008, à 21:44

antokomba

nouvelle interface et plus de wifi

Bonsoir,
je suis passé hier à la 8.10 intrepid ibex et plus de wifi!
   

Les ligne de code à insérer.
ced@ced-laptop:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=8.10
DISTRIB_CODENAME=intrepid
DISTRIB_DESCRIPTION="Ubuntu 8.10"
ced@ced-laptop:~$ lsusb
Bus 003 Device 002: ID 5986:0100 Acer, Inc OrbiCam
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
ced@ced-laptop:~$ lspci
00:00.0 Host bridge: ATI Technologies Inc RS480 Host Bridge (rev 10)
00:01.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:04.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:05.0 PCI bridge: ATI Technologies Inc RS480 PCI Bridge
00:12.0 IDE interface: ATI Technologies Inc IXP SB400 Serial ATA Controller (rev 80)
00:13.0 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80)
00:13.1 USB Controller: ATI Technologies Inc IXP SB400 USB Host Controller (rev 80)
00:13.2 USB Controller: ATI Technologies Inc IXP SB400 USB2 Host Controller (rev 80)
00:14.0 SMBus: ATI Technologies Inc IXP SB400 SMBus Controller (rev 83)
00:14.1 IDE interface: ATI Technologies Inc IXP SB400 IDE Controller (rev 80)
00:14.2 Audio device: ATI Technologies Inc IXP SB4x0 High Definition Audio Controller (rev 01)
00:14.3 ISA bridge: ATI Technologies Inc IXP SB400 PCI-ISA Bridge (rev 80)
00:14.4 PCI bridge: ATI Technologies Inc IXP SB400 PCI-PCI Bridge (rev 80)
00:18.0 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] HyperTransport Technology Configuration
00:18.1 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Address Map
00:18.2 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] DRAM Controller
00:18.3 Host bridge: Advanced Micro Devices [AMD] K8 [Athlon64/Opteron] Miscellaneous Control
01:05.0 VGA compatible controller: ATI Technologies Inc RS482 [Radeon Xpress 200M]
02:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
06:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
06:04.0 CardBus bridge: ENE Technology Inc CB-712/4 Cardbus Controller (rev 10)
06:04.1 FLASH memory: ENE Technology Inc ENE PCI Memory Stick Card Reader Controller (rev 01)
06:04.2 SD Host controller: ENE Technology Inc ENE PCI Secure Digital Card Reader Controller (rev 01)
06:04.3 FLASH memory: ENE Technology Inc FLASH memory: ENE Technology Inc: (rev 01)
06:04.4 FLASH memory: ENE Technology Inc SD/MMC Card Reader Controller (rev 01)
ced@ced-laptop:~$ sudo lshw -C network
[sudo] password for ced: 
  *-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: 1
       bus info: pci@0000:06:01.0
       logical name: eth0
       version: 10
       serial: 00:1b:38:29:85:5e
       size: 100MB/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=full ip=82.238.77.39 latency=64 link=yes maxlatency=64 mingnt=32 module=8139too multicast=yes port=MII speed=100MB/s
  *-network DISABLED
       description: Ethernet interface
       physical id: 2
       logical name: pan0
       serial: 96:82:91:fa:5d:18
       capabilities: ethernet physical
       configuration: broadcast=yes driver=bridge driverversion=2.3 firmware=N/A link=yes multicast=yes
ced@ced-laptop:~$ lsmod
Module                  Size  Used by
af_packet              25728  2 
ipv6                  263972  10 
sco                    18308  2 
bridge                 56980  0 
stp                    10628  1 bridge
bnep                   20480  2 
rfcomm                 44432  0 
l2cap                  30464  6 bnep,rfcomm
bluetooth              61924  6 sco,bnep,rfcomm,l2cap
ppdev                  15620  0 
powernow_k8            22148  1 
cpufreq_stats          13188  0 
cpufreq_ondemand       14988  1 
freq_table             12672  3 powernow_k8,cpufreq_stats,cpufreq_ondemand
cpufreq_powersave       9856  0 
cpufreq_conservative    14600  0 
cpufreq_userspace      11396  0 
pci_slot               12552  0 
sbs                    19464  0 
sbshc                  13440  1 sbs
iptable_filter         10752  0 
ip_tables              19600  1 iptable_filter
x_tables               22916  1 ip_tables
parport_pc             39204  0 
lp                     17156  0 
parport                42604  3 ppdev,parport_pc,lp
joydev                 18368  0 
pcmcia                 43052  0 
snd_hda_intel         381488  3 
snd_pcm_oss            46848  0 
snd_mixer_oss          22784  1 snd_pcm_oss
snd_pcm                83204  2 snd_hda_intel,snd_pcm_oss
snd_seq_dummy          10884  0 
snd_seq_oss            38528  0 
uvcvideo               62728  0 
snd_seq_midi           14336  0 
compat_ioctl32          9344  1 uvcvideo
acer_wmi               18880  0 
ath_pci                99096  0 
snd_rawmidi            29824  1 snd_seq_midi
wlan                  211952  1 ath_pci
led_class              12164  1 acer_wmi
ath_hal               198864  1 ath_pci
serio_raw              13444  0 
videodev               41344  1 uvcvideo
v4l1_compat            22404  2 uvcvideo,videodev
snd_seq_midi_event     15232  2 snd_seq_oss,snd_seq_midi
evdev                  17696  13 
pcspkr                 10624  0 
fglrx                1813960  29 
psmouse                45200  0 
snd_seq                57776  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
ac                     12292  0 
video                  25104  0 
output                 11008  1 video
sdhci_pci              15360  0 
battery                18436  0 
yenta_socket           31756  1 
rsrc_nonstatic         19072  1 yenta_socket
snd_timer              29960  2 snd_pcm,snd_seq
snd_seq_device         15116  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
container              11520  0 
sdhci                  23940  1 sdhci_pci
i2c_piix4              16144  0 
i2c_core               31892  1 i2c_piix4
snd                    63268  15 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
mmc_core               58268  1 sdhci
pcmcia_core            43412  3 pcmcia,yenta_socket,rsrc_nonstatic
wmi                    14504  1 acer_wmi
button                 14224  0 
k8temp                 12416  0 
soundcore              15328  1 snd
snd_page_alloc         16136  2 snd_hda_intel,snd_pcm
ati_agp                14988  0 
agpgart                42184  2 fglrx,ati_agp
shpchp                 37908  0 
pci_hotplug            35236  1 shpchp
ext3                  133256  1 
jbd                    55444  1 ext3
mbcache                16004  1 ext3
sd_mod                 42264  3 
crc_t10dif              9984  1 sd_mod
sr_mod                 22212  0 
cdrom                  43168  1 sr_mod
sg                     39732  0 
pata_atiixp            12800  0 
sata_sil               15752  2 
pata_acpi              12160  0 
8139too                31616  0 
8139cp                 27520  0 
mii                    13440  2 8139too,8139cp
ata_generic            12932  0 
ehci_hcd               43276  0 
ohci_hcd               31888  0 
libata                177312  4 pata_atiixp,sata_sil,pata_acpi,ata_generic
usbcore               148848  4 uvcvideo,ehci_hcd,ohci_hcd
scsi_mod              155212  4 sd_mod,sr_mod,sg,libata
dock                   16656  1 libata
thermal                23708  0 
processor              42156  2 powernow_k8,thermal
fan                    12548  0 
fbcon                  47648  0 
tileblit               10880  1 fbcon
font                   16512  1 fbcon
bitblit                13824  1 fbcon
softcursor              9984  1 bitblit
fuse                   60828  3 
ced@ced-laptop:~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

pan0      no wireless extensions.

ced@ced-laptop:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1b:38:29:85:5e  
          inet adr:82.238.77.39  Bcast:82.238.77.255  Masque:255.255.255.0
          adr inet6: fe80::21b:38ff:fe29:855e/64 Scope:Lien
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          Packets reçus:2519 erreurs:0 :0 overruns:0 frame:0
          TX packets:2558 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          Octets reçus:886172 (886.1 KB) Octets transmis:328445 (328.4 KB)
          Interruption:21 Adresse de base:0xa000 

lo        Link encap:Boucle locale  
          inet adr:127.0.0.1  Masque:255.0.0.0
          adr inet6: ::1/128 Scope:Hôte
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          Packets reçus:246 erreurs:0 :0 overruns:0 frame:0
          TX packets:246 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          Octets reçus:15416 (15.4 KB) Octets transmis:15416 (15.4 KB)

ced@ced-laptop:~$ iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

pan0      Interface doesn't support scanning.

ced@ced-laptop:~$ uname -r -m
2.6.27-7-generic i686
ced@ced-laptop:~$ cat  /etc/network/interfaces
auto lo
iface lo inet loopback

ced@ced-laptop:~$ nm-tool

NetworkManager Tool

State: connected

- Device: eth0 ----------------------------------------------------------------
  Type:              Wired
  Driver:            8139too
  State:             connected
  Default:           yes
  HW Address:        00:1B:38:29:85:5E

  Capabilities:
    Supported:       yes
    Carrier Detect:  yes
    Speed:           100 Mb/s

  Wired Settings

  IPv4 Settings:
    Address:         82.238.77.39
    Prefix:          24 (255.255.255.0)
    Gateway:         82.238.77.254

    DNS:             212.27.40.241
    DNS:             212.27.40.240

chipset atheros ar242x
pilote madwifi installés

#2 Le 31/10/2008, à 21:55

Rude Wolf

Re : nouvelle interface et plus de wifi

Je souligne juste:

ced@ced-laptop:~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

pan0      no wireless extensions.

Et cela

pilote madwifi installés

signifie: installé avant la mise à niveau?

Diagnostic a priori: essaie de visiter la page de documentation sur le wifi concernant la reconnaissance matérielle et l'installation de pilotes pour le wifi.

PS: je ne m'y connais pas en atheros, ni en madwifi...

Dernière modification par Rude Wolf (Le 31/10/2008, à 22:00)

Hors ligne

#3 Le 31/10/2008, à 22:01

antokomba

Re : nouvelle interface et plus de wifi

oui mais je sais pas ce que ça veut dire...:/
si tu pouvais préciser;)

Merci!

#4 Le 31/10/2008, à 22:29

Rude Wolf

Re : nouvelle interface et plus de wifi

Le système ne reconnait pas d'interface réseau sans fil, d'après le résultat de ta commande iwconfig ( plus d'info avec man iwconfig ).

  Donc essaye la méthode expliquée ici: http://doc.ubuntu-fr.org/wifi , ou encore là: http://doc.ubuntu-fr.org/wifi_atheros , en partant du postulat que la carte n'est (pas encore) reconnue par ton système. Il te faudra probablement réitérer la méthode qui t'as permis d'installer ton pilote via madwifi ( http://forum.ubuntu-fr.org/viewtopic.php?id=224717 ).

Bon courage!

Dernière modification par Rude Wolf (Le 31/10/2008, à 22:30)

Hors ligne

#5 Le 01/11/2008, à 00:35

antokomba

Re : nouvelle interface et plus de wifi

Après avoir tenté toutes le manip en dessous, rien ne marche.
après la tentative selon le tuto de la doc sur atheros:

 ced@ced-laptop:~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

pan0      no wireless extensions.

ced@ced-laptop:~$ sudo ./madwifi.sh --info
Found at least one Atheros device.
Linux ced-laptop 2.6.27-7-generic #1 SMP Thu Oct 30 04:18:38 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: AMBIT Microsystem Corp. Device 0428
	Flags: fast devsel, IRQ 16
	Memory at 8c000000 (64-bit, non-prefetchable) [size=64K]
	Kernel modules: ath_pci, ath5k

ath_pci               217656  0 
wlan                  239984  1 ath_pci
ath_hal               259552  1 ath_pci
[   15.091147] ath_hal: module license 'Proprietary' taints kernel.
[   15.710357] ath_pci 0000:02:00.0: PCI INT A -> GSI 16 (level, low) -> IRQ 16
[   15.710368] ath_pci 0000:02:00.0: setting latency timer to 64
[   15.710385] ath_pci: HAL doesn't support MAC revision 0xe2
[   15.710400] ath_pci 0000:02:00.0: PCI INT A disabled
wifi0: 0 ath0: 0

des erreures duarnt la tentative d'install selon le topic de rener:

 ced@ced-laptop:~$ cd madwifi-hal-0.10.5.6-r3698-20080604
ced@ced-laptop:~/madwifi-hal-0.10.5.6-r3698-20080604$ make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.27-7-generic/build SUBDIRS=/home/ced/madwifi-hal-0.10.5.6-r3698-20080604 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
  CC [M]  /home/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/ah_os.o
cc1: warnings being treated as errors
/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/ah_os.c: In function 'ath_hal_lookup_register_name':
/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/ah_os.c:451: error: format not a string literal and no format arguments
make[3]: *** [/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/ah_os.o] Error 1
make[2]: *** [/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal] Error 2
make[1]: *** [_module_/home/ced/madwifi-hal-0.10.5.6-r3698-20080604] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
make: *** [modules] Erreur 2
ced@ced-laptop:~/madwifi-hal-0.10.5.6-r3698-20080604$ make install
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.27-7-generic/build SUBDIRS=/home/ced/madwifi-hal-0.10.5.6-r3698-20080604 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
  CC [M]  /home/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/ah_os.o
cc1: warnings being treated as errors
/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/ah_os.c: In function 'ath_hal_lookup_register_name':
/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/ah_os.c:451: error: format not a string literal and no format arguments
make[3]: *** [/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/ah_os.o] Error 1
make[2]: *** [/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal] Error 2
make[1]: *** [_module_/home/ced/madwifi-hal-0.10.5.6-r3698-20080604] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
make: *** [modules] Erreur 2

donc voilà ça avance pas, merci quand même de tes conseils.

d'autres idées, je suis preneur:D

#6 Le 01/11/2008, à 00:43

Rude Wolf

Re : nouvelle interface et plus de wifi

Je vois deux matériels réseaux dans ton lspci:
02:00.0 Ethernet controller: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01)
et
06:01.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)
Realtek désigne ta carte réseau filiaire?

Pour ta compilation: un sudo make, plutôt que make, à tout hasard? et en tout état de cause sudo make install, plutôt que make install. Et mieux vaut avoir installé build-essentials d'abord (sudo apt-get install ...).

Dernière modification par Rude Wolf (Le 01/11/2008, à 00:54)

Hors ligne

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

antokomba

Re : nouvelle interface et plus de wifi

Pour le sudo make c'est pareil, toujours des erreures.
Pour ce qui est du filaire je ne sais pas, peut être que tu peux me dire comment faire la distinction?
en tout cas pour le wifi sous Hardy ça fonctionnait avec les pilotes pour atheros

#8 Le 01/11/2008, à 00:53

antokomba

Re : nouvelle interface et plus de wifi

voilà un ifconfig si ca peut aider...

ced@ced-laptop:~$ sudo airmon-ng stop ath0


Interface	Chipset		Driver


ced@ced-laptop:~$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

pan0      no wireless extensions.

ced@ced-laptop:~$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:1b:38:29:85:5e  
          UP BROADCAST MULTICAST  MTU:1500  Metric:1
          Packets reçus:0 erreurs:0 :0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:1000 
          Octets reçus:0 (0.0 B) Octets transmis:0 (0.0 B)
          Interruption:21 Adresse de base:0xa000 

lo        Link encap:Boucle locale  
          inet adr:127.0.0.1  Masque:255.0.0.0
          adr inet6: ::1/128 Scope:Hôte
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          Packets reçus:246 erreurs:0 :0 overruns:0 frame:0
          TX packets:246 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          Octets reçus:15416 (15.4 KB) Octets transmis:15416 (15.4 KB)

#9 Le 01/11/2008, à 01:01

Rude Wolf

Re : nouvelle interface et plus de wifi

Qu'as-tu essayé de compiler?

wget http://snapshots.madwifi.org/special/madwifi-nr-r3366+ar5007.tar.gz

( source: http://forum.ubuntu-fr.org/viewtopic.php?id=224717 )

me donne une archive ne contenant qu'un README:

You most likely downloaded this tarball since you are looking for a version
of MadWifi which supports the AR5007 chipset family, which is for example
used in the EeePC.

However, since you've downloaded this tarball, you've followed outdated
instructions. The code that this tarball once contained is now obsolete.
Please follow these instructions to enable your AR5007-based WLAN device:
http://madwifi.org/ticket/1192

If you have any questions about it, please contact our regular support
channels:
http://madwifi.org/wiki/Support

Thanks.

PS:Extensive tutorial for madwifi is found here: http://madwifi.org/wiki/UserDocs/FirstTimeHowTo

Dernière modification par Rude Wolf (Le 01/11/2008, à 01:05)

Hors ligne

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

antokomba

Re : nouvelle interface et plus de wifi

les 2 versions, celle qu'avec le readme et la plus récente qui est d'ailleurs celle grace à qui mon wifi marchait.
mais quand j'essaye de compller le second, le bon
wget http://snapshots.madwifi.org/special/madwifi-hal-0.10.5.6-r3698-20080604.tar.gz

ça foire avec les erreures dans le code

  ced@ced-laptop:~$ cd madwifi-hal-0.10.5.6-r3698-20080604
ced@ced-laptop:~/madwifi-hal-0.10.5.6-r3698-20080604$ make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.27-7-generic/build SUBDIRS=/home/ced/madwifi-hal-0.10.5.6-r3698-20080604 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
  CC [M]  /home/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/ah_os.o
cc1: warnings being treated as errors
/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/ah_os.c: In function 'ath_hal_lookup_register_name':
/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/ah_os.c:451: error: format not a string literal and no format arguments
make[3]: *** [/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/ah_os.o] Error 1
make[2]: *** [/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal] Error 2
make[1]: *** [_module_/home/ced/madwifi-hal-0.10.5.6-r3698-20080604] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
make: *** [modules] Erreur 2
ced@ced-laptop:~/madwifi-hal-0.10.5.6-r3698-20080604$ make install
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.27-7-generic/build SUBDIRS=/home/ced/madwifi-hal-0.10.5.6-r3698-20080604 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
  CC [M]  /home/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/ah_os.o
cc1: warnings being treated as errors
/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/ah_os.c: In function 'ath_hal_lookup_register_name':
/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/ah_os.c:451: error: format not a string literal and no format arguments
make[3]: *** [/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/ah_os.o] Error 1
make[2]: *** [/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal] Error 2
make[1]: *** [_module_/home/ced/madwifi-hal-0.10.5.6-r3698-20080604] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
make: *** [modules] Erreur 2

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

Rude Wolf

Re : nouvelle interface et plus de wifi

Hmm... chez moi, ça semble compiler

 make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.24-21-generic/build SUBDIRS=/home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.24-21-generic'
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath/if_ath.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath/if_ath_radar.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath/if_ath_hal_extensions.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath/if_ath_pci.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath/ath_pci.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/ah_os.o
  HOSTCC  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/uudecode
  UUDECODE /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/i386-elf.hal.o
# Replace as many hashed names as possible with meaningful
# ones in the symbol table of the binary kernel module for HAL.
objcopy \
		`cat /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/../scripts/hal_unmangle.objcopy` \
		/home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/i386-elf.hal.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/ath_hal.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath_rate/amrr/amrr.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath_rate/amrr/ath_rate_amrr.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath_rate/minstrel/minstrel.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath_rate/minstrel/ath_rate_minstrel.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath_rate/onoe/onoe.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath_rate/onoe/ath_rate_onoe.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath_rate/sample/sample.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath_rate/sample/ath_rate_sample.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/if_media.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/ieee80211_skb.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/ieee80211.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/ieee80211_beacon.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/ieee80211_crypto.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/ieee80211_crypto_none.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/ieee80211_input.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/ieee80211_node.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/ieee80211_output.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/ieee80211_power.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/ieee80211_proto.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/ieee80211_scan.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/ieee80211_wireless.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/ieee80211_linux.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/ieee80211_monitor.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/ieee80211_rate.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/ieee80211_acl.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/ieee80211_crypto_ccmp.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/ieee80211_scan_ap.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/ieee80211_scan_sta.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/ieee80211_crypto_tkip.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/ieee80211_crypto_wep.o
  CC [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/ieee80211_xauth.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/wlan.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/wlan_wep.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/wlan_tkip.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/wlan_ccmp.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/wlan_acl.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/wlan_xauth.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/wlan_scan_sta.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/wlan_scan_ap.o
  Building modules, stage 2.
  MODPOST 14 modules
  CC      /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath/ath_pci.mod.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath/ath_pci.ko
  CC      /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/ath_hal.mod.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal/ath_hal.ko
  CC      /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath_rate/amrr/ath_rate_amrr.mod.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath_rate/amrr/ath_rate_amrr.ko
  CC      /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath_rate/minstrel/ath_rate_minstrel.mod.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath_rate/minstrel/ath_rate_minstrel.ko
  CC      /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath_rate/onoe/ath_rate_onoe.mod.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath_rate/onoe/ath_rate_onoe.ko
  CC      /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath_rate/sample/ath_rate_sample.mod.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/ath_rate/sample/ath_rate_sample.ko
  CC      /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/wlan.mod.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/wlan.ko
  CC      /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/wlan_acl.mod.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/wlan_acl.ko
  CC      /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/wlan_ccmp.mod.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/wlan_ccmp.ko
  CC      /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/wlan_scan_ap.mod.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/wlan_scan_ap.ko
  CC      /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/wlan_scan_sta.mod.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/wlan_scan_sta.ko
  CC      /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/wlan_tkip.mod.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/wlan_tkip.ko
  CC      /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/wlan_wep.mod.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/wlan_wep.ko
  CC      /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/wlan_xauth.mod.o
  LD [M]  /home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/net80211/wlan_xauth.ko
make[1]: Leaving directory `/usr/src/linux-headers-2.6.24-21-generic'
make -C ./tools  all || exit 1
make[1]: Entering directory `/home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/tools'
for d in ath_info; do \
		make -C $d || exit 1; \
	done
make[2]: Entering directory `/home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/tools/ath_info'
gcc -g -O2 -W -Wall -c ath_info.c
gcc  -o ath_info ath_info.o
make[2]: Leaving directory `/home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/tools/ath_info'
gcc -o athstats -g -O2 -Wall -I. -I../hal -I.. -I../ath_hal -I../ath  athstats.c
gcc -o 80211stats -g -O2 -Wall -I. -I../hal -I.. -I../ath_hal  80211stats.c
gcc -o athkey -g -O2 -Wall -I. -I../hal -I.. -I../ath_hal  athkey.c
gcc -o athchans -g -O2 -Wall -I. -I../hal -I.. -I../ath_hal  athchans.c
gcc -o athctrl -g -O2 -Wall -I. -I../hal -I.. -I../ath_hal  athctrl.c
gcc -o athdebug -g -O2 -Wall -I. -I../hal -I.. -I../ath_hal  athdebug.c
gcc -o 80211debug -g -O2 -Wall -I. -I../hal -I.. -I../ath_hal  80211debug.c
gcc -o wlanconfig -g -O2 -Wall -I. -I../hal -I.. -I../ath_hal  wlanconfig.c
gcc -o wpakey -g -O2 -Wall -I. -I../hal -I.. -I../ath_hal  wpakey.c
make[1]: Leaving directory `/home/rudewolf/Archives/madwifi-hal-0.10.5.6-r3698-20080604/tools'

Hors ligne

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

Rude Wolf

Re : nouvelle interface et plus de wifi

Je lis dans less INSTALL :

Most people can just type:

  $ make

in the top-level MadWifi source directory to build all the modules for
the currently running system.

You MUST do a "make clean" before compiling for a different version of
Linux, e.g. building for 2.6 after building for 2.4.

Quelle version de gcc utilises-tu? gcc --version
Dans Requirements

- gcc of same version that was used to compile the kernel.  At least
  make sure that the first two version numbers or the compiler are the
  same (e.g. it's OK to use gcc 3.4.6 to compile MadWifi if the kernel
  was compiled by gcc 3.4.2).  Ignoring this rule will cause "Invalid
  module format" errors during module load.

Dernière modification par Rude Wolf (Le 01/11/2008, à 01:55)

Hors ligne

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

antokomba

Re : nouvelle interface et plus de wifi

j'ai fait make clean mais tjs des erreures et pas de wifi

ced@ced-laptop:~/madwifi-hal-0.10.5.6-r3698-20080604$ make clean
for i in ath/ ath_hal/ ath_rate/ net80211/; do \
		make -C $i clean; \
	done
make[1]: Entering directory `/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/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/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath'
make[1]: Entering directory `/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/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/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath_hal'
make[1]: Entering directory `/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath_rate'
for i in amrr/ onoe/ sample/ minstrel/; do \
		make -C $i clean; \
	done
make[2]: Entering directory `/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/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/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath_rate/amrr'
make[2]: Entering directory `/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/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/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath_rate/onoe'
make[2]: Entering directory `/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/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/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath_rate/sample'
make[2]: Entering directory `/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/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/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath_rate/minstrel'
make[1]: Leaving directory `/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/ath_rate'
make[1]: Entering directory `/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/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/ced/madwifi-hal-0.10.5.6-r3698-20080604/net80211'
make -C ./tools  clean
make[1]: Entering directory `/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/tools'
rm -f athstats 80211stats athkey athchans athctrl athdebug 80211debug wlanconfig wpakey core a.out
for d in ath_info; do \
		make -C $d clean; \
	done
make[2]: Entering directory `/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/tools/ath_info'
rm -f *.o ath_info
make[2]: Leaving directory `/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/tools/ath_info'
make[1]: Leaving directory `/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/tools'
rm -rf .tmp_versions
rm: cannot remove `.tmp_versions/ath_pci.mod': Permission denied
make: *** [clean] Erreur 1
ced@ced-laptop:~/madwifi-hal-0.10.5.6-r3698-20080604$ make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.27-7-generic/build SUBDIRS=/home/ced/madwifi-hal-0.10.5.6-r3698-20080604 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.27-7-generic'
rm: cannot remove `/home/ced/madwifi-hal-0.10.5.6-r3698-20080604/.tmp_versions/ath_pci.mod': Permission denied
make[1]: *** [crmodverdir] Error 1
make[1]: Leaving directory `/usr/src/linux-headers-2.6.27-7-generic'
make: *** [modules] Erreur 2

mon gcc est 4.3.2, peux-tu me dire à quoi ca correspond stp?

#14 Le 01/11/2008, à 15:09

antokomba

Re : nouvelle interface et plus de wifi

résolut grâce à ce topic
http://forum.ubuntu-fr.org/viewtopic.php?pid=2171039#p2171039