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 20/01/2008, à 21:51

pyrof

problème compilation madwifi

J'essaye depuis un moment d'installer les pilotes madwifi pour mon portable (carte atheros 5006). Je viens de re télécharger la dernière version de madwifi mais comme pour la précédent j'ai des erreures de compilation. Si quelqu'un pouvais m'aider ...


seb@seb-laptop:~/madwifi/madwifi-0.9.3.3$ make
Checking requirements... ok.
Checking kernel configuration... ok.
make -C /lib/modules/2.6.22-14-generic/build SUBDIRS=/home/seb/madwifi/madwifi-0.9.3.3 modules
make[1]: Entering directory `/usr/src/linux-headers-2.6.22-14-generic'
  CC [M]  /home/seb/madwifi/madwifi-0.9.3.3/ath/if_ath.o
  CC [M]  /home/seb/madwifi/madwifi-0.9.3.3/ath/if_ath_pci.o
  LD [M]  /home/seb/madwifi/madwifi-0.9.3.3/ath/ath_pci.o
  CC [M]  /home/seb/madwifi/madwifi-0.9.3.3/ath_hal/ah_os.o
  HOSTCC  /home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:26:19: error: stdio.h: No such file or directory
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:27:19: error: errno.h: No such file or directory
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:28:20: error: getopt.h: No such file or directory
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:29:20: error: string.h: No such file or directory
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:30:20: error: stdlib.h: No such file or directory
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:32:23: error: sys/fcntl.h: No such file or directory
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:33:22: error: sys/stat.h: No such file or directory
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c: In function 'uudecode_usage':
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:37: warning: implicit declaration of function 'printf'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:37: warning: incompatible implicit declaration of built-in function 'printf'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c: At top level:
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:40: error: expected ')' before '*' token
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:70: error: expected ')' before '*' token
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c: In function 'main':
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:121: error: 'FILE' undeclared (first use in this function)
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:121: error: (Each undeclared identifier is reported only once
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:121: error: for each function it appears in.)
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:121: error: 'src_stream' undeclared (first use in this function)
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:122: error: 'dst_stream' undeclared (first use in this function)
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:122: error: 'NULL' undeclared (first use in this function)
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:130: warning: implicit declaration of function 'getopt'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:134: error: 'optarg' undeclared (first use in this function)
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:138: warning: implicit declaration of function 'exit'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:138: warning: incompatible implicit declaration of built-in function 'exit'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:141: error: 'optind' undeclared (first use in this function)
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:142: error: 'stdin' undeclared (first use in this function)
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:144: warning: implicit declaration of function 'fopen'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:146: warning: implicit declaration of function 'fprintf'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:146: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:146: error: 'stderr' undeclared (first use in this function)
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:147: warning: implicit declaration of function 'strerror'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:147: error: 'errno' undeclared (first use in this function)
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:147: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:148: warning: incompatible implicit declaration of built-in function 'exit'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:152: warning: incompatible implicit declaration of built-in function 'exit'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:156: warning: implicit declaration of function 'get_line_from_file'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:156: warning: assignment makes pointer from integer without a cast
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:157: warning: implicit declaration of function 'strncmp'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:164: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:165: warning: incompatible implicit declaration of built-in function 'exit'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:168: warning: implicit declaration of function 'strtoul'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:170: warning: implicit declaration of function 'strchr'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:170: warning: incompatible implicit declaration of built-in function 'strchr'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:172: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:173: warning: incompatible implicit declaration of built-in function 'exit'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:178: warning: implicit declaration of function 'strcmp'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:179: error: 'stdout' undeclared (first use in this function)
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:182: error: 'O_WRONLY' undeclared (first use in this function)
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:182: error: 'O_CREAT' undeclared (first use in this function)
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:182: error: 'O_TRUNC' undeclared (first use in this function)
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:186: error: 'O_EXCL' undeclared (first use in this function)
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:188: warning: implicit declaration of function 'open'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:189: error: 'S_IRWXU' undeclared (first use in this function)
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:189: error: 'S_IRWXG' undeclared (first use in this function)
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:189: error: 'S_IRWXO' undeclared (first use in this function)
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:191: warning: implicit declaration of function 'fdopen'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:193: warning: incompatible implicit declaration of built-in function 'fprintf'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:194: warning: format '%s' expects type 'char *', but argument 4 has type 'int'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:195: warning: incompatible implicit declaration of built-in function 'exit'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:199: warning: implicit declaration of function 'read_stduu'
/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode.c:201: warning: implicit declaration of function 'fclose'
make[3]: *** [/home/seb/madwifi/madwifi-0.9.3.3/ath_hal/uudecode] Error 1
make[2]: *** [/home/seb/madwifi/madwifi-0.9.3.3/ath_hal] Error 2
make[1]: *** [_module_/home/seb/madwifi/madwifi-0.9.3.3] Error 2
make[1]: Leaving directory `/usr/src/linux-headers-2.6.22-14-generic'
make: *** [modules] Error 2
seb@seb-laptop:~/madwifi/madwifi-0.9.3.3$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=7.10
DISTRIB_CODENAME=gutsy
DISTRIB_DESCRIPTION="Ubuntu 7.10"
seb@seb-laptop:~/madwifi/madwifi-0.9.3.3$ lsusb
Bus 002 Device 002: ID 05e3:1205 Genesys Logic, Inc. Afilias Optical Mouse H3003
Bus 002 Device 001: ID 0000:0000  
Bus 001 Device 001: ID 0000:0000
seb@seb-laptop:~/madwifi/madwifi-0.9.3.3$ lspci
00:00.0 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.1 RAM memory: nVidia Corporation C51 Memory Controller 0 (rev a2)
00:00.2 RAM memory: nVidia Corporation C51 Memory Controller 1 (rev a2)
00:00.3 RAM memory: nVidia Corporation C51 Memory Controller 5 (rev a2)
00:00.4 RAM memory: nVidia Corporation C51 Memory Controller 4 (rev a2)
00:00.5 RAM memory: nVidia Corporation C51 Host Bridge (rev a2)
00:00.6 RAM memory: nVidia Corporation C51 Memory Controller 3 (rev a2)
00:00.7 RAM memory: nVidia Corporation C51 Memory Controller 2 (rev a2)
00:02.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:03.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:04.0 PCI bridge: nVidia Corporation C51 PCI Express Bridge (rev a1)
00:09.0 RAM memory: nVidia Corporation MCP51 Host Bridge (rev a2)
00:0a.0 ISA bridge: nVidia Corporation MCP51 LPC Bridge (rev a3)
00:0a.1 SMBus: nVidia Corporation MCP51 SMBus (rev a3)
00:0a.3 Co-processor: nVidia Corporation MCP51 PMU (rev a3)
00:0b.0 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0b.1 USB Controller: nVidia Corporation MCP51 USB Controller (rev a3)
00:0d.0 IDE interface: nVidia Corporation MCP51 IDE (rev f1)
00:0e.0 IDE interface: nVidia Corporation MCP51 Serial ATA Controller (rev f1)
00:10.0 PCI bridge: nVidia Corporation MCP51 PCI Bridge (rev a2)
00:10.1 Audio device: nVidia Corporation MCP51 High Definition Audio (rev a2)
00:14.0 Bridge: nVidia Corporation MCP51 Ethernet Controller (rev a3)
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
03:00.0 Ethernet controller: Atheros Communications, Inc. AR5006EG 802.11 b/g Wireless PCI Express Adapter (rev 01)
05:00.0 VGA compatible controller: nVidia Corporation G72M [GeForce Go 7400] (rev a1)
07:06.0 FireWire (IEEE 1394): VIA Technologies, Inc. IEEE 1394 Host Controller (rev c0)
seb@seb-laptop:~/madwifi/madwifi-0.9.3.3$ sudo lshw -C network
[sudo] password for seb:
  *-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:03:00.0
       version: 01
       width: 64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress msix bus_master cap_list
       configuration: latency=0
seb@seb-laptop:~/madwifi/madwifi-0.9.3.3$ lsmod
Module                  Size  Used by
tun                    12288  1 
ipv6                  273892  10 
binfmt_misc            12936  1 
ppdev                  10244  0 
powernow_k8            16960  1 
cpufreq_conservative     8072  0 
cpufreq_stats           7232  0 
cpufreq_userspace       5280  0 
cpufreq_ondemand        9612  1 
freq_table              5792  3 powernow_k8,cpufreq_stats,cpufreq_ondemand
cpufreq_powersave       2688  0 
sbs                    19592  0 
container               5504  0 
battery                11012  0 
dock                   10656  0 
button                  8976  0 
video                  18060  0 
ac                      6148  0 
af_packet              24840  2 
nls_iso8859_1           5120  1 
nls_cp437               6784  1 
vfat                   14080  1 
fat                    54300  1 vfat
usbhid                 29536  0 
hid                    28928  1 usbhid
sbp2                   24072  0 
parport_pc             37412  0 
lp                     12580  0 
parport                37448  3 ppdev,parport_pc,lp
snd_hda_intel         263712  4 
snd_pcm_oss            44672  0 
snd_mixer_oss          17664  1 snd_pcm_oss
snd_pcm                80388  3 snd_hda_intel,snd_pcm_oss
snd_seq_dummy           4740  0 
snd_seq_oss            33152  0 
snd_seq_midi            9600  0 
snd_rawmidi            25728  1 snd_seq_midi
snd_seq_midi_event      8448  2 snd_seq_oss,snd_seq_midi
ide_cd                 32672  0 
cdrom                  37536  1 ide_cd
snd_seq                53232  6 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_seq_midi_event
snd_timer              24324  3 snd_pcm,snd_seq
snd_seq_device          9228  5 snd_seq_dummy,snd_seq_oss,snd_seq_midi,snd_rawmidi,snd_seq
pcspkr                  4224  0 
agpgart                35016  0 
psmouse                39952  0 
serio_raw               8068  0 
snd                    54660  15 snd_hda_intel,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_seq_oss,snd_rawmidi,snd_seq,snd_timer,snd_seq_device
soundcore               8800  1 snd
snd_page_alloc         11400  2 snd_hda_intel,snd_pcm
k8temp                  6656  0 
i2c_nforce2             7040  0 
i2c_core               26112  1 i2c_nforce2
shpchp                 34580  0 
pci_hotplug            32704  1 shpchp
evdev                  11136  4 
ext3                  133896  2 
jbd                    60456  1 ext3
mbcache                 9732  1 ext3
sg                     36764  0 
sd_mod                 30336  6 
ohci_hcd               22916  0 
ehci_hcd               36492  0 
ohci1394               36528  0 
ieee1394               96312  2 sbp2,ohci1394
usbcore               138632  4 usbhid,ohci_hcd,ehci_hcd
forcedeth              51592  0 
amd74xx                15260  0 [permanent]
ide_core              116804  2 ide_cd,amd74xx
sata_nv                20612  5 
ata_generic             8452  0 
libata                125168  2 sata_nv,ata_generic
scsi_mod              147084  4 sbp2,sg,sd_mod,libata
thermal                14344  0 
processor              32072  2 powernow_k8,thermal
fan                     5764  0 
fuse                   47124  3 
apparmor               40728  0 
commoncap               8320  1 apparmor
seb@seb-laptop:~/madwifi/madwifi-0.9.3.3$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

tun0      no wireless extensions.
seb@seb-laptop:~/madwifi/madwifi-0.9.3.3$ ifconfig
eth0      Link encap:Ethernet  HWaddr 00:14:0B:0C:98:B7  
          inet addr:172.20.56.248  Bcast:172.20.59.255  Mask:255.255.252.0
          inet6 addr: fe80::214:bff:fe0c:98b7/64 Scope:Link
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:13313 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3974 errors:10 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:1000 
          RX bytes:7296092 (6.9 MB)  TX bytes:639658 (624.6 KB)
          Interrupt:18 Base address:0x8000 

lo        Link encap:Local Loopback  
          inet addr:127.0.0.1  Mask:255.0.0.0
          inet6 addr: ::1/128 Scope:Host
          UP LOOPBACK RUNNING  MTU:16436  Metric:1
          RX packets:48 errors:0 dropped:0 overruns:0 frame:0
          TX packets:48 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:0 
          RX bytes:2400 (2.3 KB)  TX bytes:2400 (2.3 KB)

tun0      Link encap:UNSPEC  HWaddr 00-00-00-00-00-00-00-00-00-00-00-00-00-00-00-00  
          inet addr:134.214.163.15  P-t-P:134.214.163.15  Mask:255.255.255.255
          UP POINTOPOINT RUNNING NOARP MULTICAST  MTU:1390  Metric:1
          RX packets:5139 errors:0 dropped:0 overruns:0 frame:0
          TX packets:3900 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 txqueuelen:500 
          RX bytes:6096444 (5.8 MB)  TX bytes:386251 (377.1 KB)
seb@seb-laptop:~/madwifi/madwifi-0.9.3.3$ iwlist scan
lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

tun0      Interface doesn't support scanning.
seb@seb-laptop:~/madwifi/madwifi-0.9.3.3$ uname -r -m 
2.6.22-14-generic i686
seb@seb-laptop:~/madwifi/madwifi-0.9.3.3$ cat  /etc/network/interface
cat: /etc/network/interface: No such file or directory

Merci d'avance

#2 Le 20/01/2008, à 21:53

helios91940

Re : problème compilation madwifi

le paquet build essential apt://build-essential est-il installé?

Dernière modification par helios91940 (Le 20/01/2008, à 21:54)


There is no system but GNU, and Linux is one of its kernels.

Adhérez à l'APRIL!
http://www.april.org/adherer

Hors ligne

#3 Le 20/01/2008, à 21:54

willy78

Re : problème compilation madwifi

installe ça

sudo apt-get install build-essential

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

Hors ligne

#4 Le 20/01/2008, à 22:45

pyrof

Re : problème compilation madwifi

Merci d'avoir répondu si rapidement !
L'installation de buil-essential à  réussit, la compilation et l'execution de madwifi se sont bien passés.

J'ai ensuite lancé modprobe ath_pci sans problème

Mais lorsque je veux parametrer le reseau de l'interface "ath0:avahi" avec networkmanager il me dit que l'interface n'existe pas.

J'ai tenté de me conncter a une imprimante avec wifi-radar mais voici ce qui apparait dans la console :

seb@seb-laptop:~/madwifi/madwifi-0.9.3.3$ sudo wifi-radar
dhclient3 --version 2>&1
Error for wireless request "Set Mode" (8B06) :
    SET failed on device ath0 ; Invalid argument.
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/ath0/00:c0:a8:cc:38:e2
Sending on   LPF/ath0/00:c0:a8:cc:38:e2
Sending on   Socket/fallback
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 6
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 14
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 4
seb@seb-laptop:~/madwifi/madwifi-0.9.3.3$ iwconfig
lo        no wireless extensions.

eth0      no wireless extensions.

tun0      no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:"print server 12C11A"  Nickname:"test"
          Mode:Managed  Frequency:2.437 GHz  Access Point: Not-Associated   
          Bit Rate:0 kb/s   Tx-Power:16 dBm   Sensitivity=1/1  
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=0/70  Signal level=-85 dBm  Noise level=-85 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0
seb@seb-laptop:~/madwifi/madwifi-0.9.3.3$ iwlist ath0 scan
ath0      Scan completed :
          Cell 01 - Address: 02:0B:61:37:0E:F6
                    ESSID:"print server 12C11A"
                    Mode:Ad-Hoc
                    Frequency:2.462 GHz (Channel 11)
                    Quality=27/70  Signal level=-68 dBm  Noise level=-95 dBm
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s
                    Extra:bcn_int=100

En fait le résultat est exactement le même que celui que j'avais lorsque j'utilisait la version mal compilée de madwifi...

#5 Le 20/01/2008, à 23:09

willy78

Re : problème compilation madwifi

tu as penser a faire cette commande:

sudo make install

depuis le repertoire des sources de madwifi


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

Hors ligne

#6 Le 21/01/2008, à 20:14

pyrof

Re : problème compilation madwifi

Oui et il n'y a pas eu d'erreure non plus pendant la resolution de cette commande...

#7 Le 21/01/2008, à 21:05

willy78

Re : problème compilation madwifi

Tu capte un reseau dans N-M?
le scan montre un reseau ESSID:"print server 12C11A"
Mais ça ressemble pas au tiens!


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

Hors ligne

#8 Le 21/01/2008, à 21:58

pyrof

Re : problème compilation madwifi

Network manager ou en tout cas l'interface graphique qui aparait lorsque je clique droit sur le "network monitor" me dit pour "ath0:avahi" statut : erreur et si je clique sur configurer il me met un message d'erreur me disant que l'interface n'existe pas...

#9 Le 21/01/2008, à 22:08

willy78

Re : problème compilation madwifi

non c'est pas networkmanager
networkmanager (N-M) c'est les
2 petites tv en haut a droite a coté de l'heure
fais cette commande fais cette commande d'abord:

echo -e 'auto lo\niface lo inet loopback\n' | sudo tee /etc/network/interfaces

et clique gauche et ne va plus dans
système > Administration > reseau
et si tu clique droit sur N-M ne va pas non plus dans configuration manuel

le network monitor c'est juste pour voir l'activiter du reseau ça sert a rien!


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

Hors ligne

#10 Le 21/01/2008, à 22:19

pyrof

Re : problème compilation madwifi

seb@seb-laptop:~$ echo -e 'auto lo\niface lo inet loopback\n' | sudo tee /etc/network/interfaces
auto lo
iface lo inet loopback

je fais un clic gauche sur les deux petites tv et un  message d'erreur me demande de contecter mon administrateur pour résoudre le problème : ne peut pas trouver d'info sur l'interface "ath0":avahi dans /proc/net/dev

#11 Le 21/01/2008, à 22:30

willy78

Re : problème compilation madwifi

Waouh c'est le premiere fois que je voit ça ! cool
reboot et recommence sur N-M


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

Hors ligne

#12 Le 21/01/2008, à 22:40

pyrof

Re : problème compilation madwifi

après redémarrage, NMme dit :
SIOCGIFFLAGS error: No such device

J'ai fait iwconfig et il n'y avait plus wifi0 ni ath0 donc j'ai refait modprobe ath_pci
wifi0 et ath0 sont réapparuts dans le iwconfig par contre NM me répond la même chose que avant le reboot.

#13 Le 21/01/2008, à 22:42

willy78

Re : problème compilation madwifi

renvoie iwlist scan maintenant que tu as chargé ath_pci
pour N-M c'est louche
tu devrais installer wicd


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

Hors ligne

#14 Le 21/01/2008, à 22:58

pyrof

Re : problème compilation madwifi

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

eth0      Interface doesn't support scanning.

tun0      Interface doesn't support scanning.

wifi0     Interface doesn't support scanning.

ath0      Scan completed :
          Cell 01 - Address: 02:18:DE:00:01:8A
                    ESSID:"aurelie"
                    Mode:Ad-Hoc
                    Frequency:2.457 GHz (Channel 10)
                    Quality=14/70  Signal level=-81 dBm  Noise level=-95 dBm
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:bcn_int=100
                    Extra:wme_ie=dd070050f202000100
          Cell 02 - Address: 00:1B:2F:0E:18:22
                    ESSID:"GALA"
                    Mode:Master
                    Frequency:2.462 GHz (Channel 11)
                    Quality=11/70  Signal level=-84 dBm  Noise level=-95 dBm
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:bcn_int=100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : WEP-40
                        Pairwise Ciphers (2) : WEP-40 TKIP
                        Authentication Suites (1) : PSK
                       Preauthentication Supported
                    IE: WPA Version 1
                        Group Cipher : WEP-40
                        Pairwise Ciphers (2) : WEP-40 TKIP
                        Authentication Suites (1) : PSK
                    Extra:ath_ie=dd0900037f0101000eff7f

Je suis actuellement dans une résidence étudiante cequi explique les différents réseaux captés.

J'ai essayé d'installer wicd mais pendant l'installation il me dit que NM ne peut trouver certains fichiers... j'ai  tenté de relancer l'installation, il me dit qu'il est déjà installé, j'ai tapé wicd il me dit "command not found".  Les TV sont toujours là et donnent le même resultat. Je desespère mais merci a toi de prendre du temps pour t'occuper de moi !

#15 Le 21/01/2008, à 23:05

willy78

Re : problème compilation madwifi

pour N-M ça va être le merdier!
bon sinon
il faut mettre ath_pci dans les modules a charger au démarrage!

echo 'ath_pci' | sudo tee -a /etc/modules

ensuite c'est qui ESSID:"aurelie" (je déconne)
le tiens c'est celui là :
ESSID:"GALA"?


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

Hors ligne

#16 Le 22/01/2008, à 18:13

pyrof

Re : problème compilation madwifi

Merci pour ta commnde qui installe automatiquement ath0.

Après reboot wicd marche (mais il faut le lancer par le menu applications car je ne connais pas la bonne commande). Je me connecte au réseau fillaire qui me permet de me connecter à  internet via vpn (vpnc), il scanne les réseaux et retourne le même resultat que iwlist scan soit en ce moment  :

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

eth0      Interface doesn't support scanning.

wifi0     Interface doesn't support scanning.

ath0      Scan completed :
          Cell 01 - Address: 02:13:02:01:D2:70
                    ESSID:"INSA-INVITE"
                    Mode:Ad-Hoc
                    Frequency:2.462 GHz (Channel 11)
                    Quality=34/70  Signal level=-61 dBm  Noise level=-95 dBm
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:bcn_int=100
                    Extra:wme_ie=dd070050f202000100
          Cell 02 - Address: 00:1B:2F:0E:18:22
                    ESSID:"GALA"
                    Mode:Master
                    Frequency:2.462 GHz (Channel 11)
                    Quality=19/70  Signal level=-76 dBm  Noise level=-95 dBm
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 6 Mb/s
                              12 Mb/s; 24 Mb/s; 36 Mb/s; 9 Mb/s; 18 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:bcn_int=100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : WEP-40
                        Pairwise Ciphers (2) : WEP-40 TKIP
                        Authentication Suites (1) : PSK
                       Preauthentication Supported
                    IE: WPA Version 1
                        Group Cipher : WEP-40
                        Pairwise Ciphers (2) : WEP-40 TKIP
                        Authentication Suites (1) : PSK
                    Extra:ath_ie=dd0900037f0101000eff7f

tun0      Interface doesn't support scanning.

Je souhaiterais dans un premier me connecter à  "INSA INVITE" lorsqu'il fonctionne pour faire les test de marche du wifi. Au final mon but est d'arriver à  me connecter sur la freebox que j'ai chez moi mais je ne peux pas facilement faire toutes les manips de chez moi vu que je n'y ait pas internet.

quand j'essaye de me connecter à  "INSA INVITE" avec wicd il passe un long moment sur  acquisition d'ine adresse ip et me dit finalement que je ne suis pas connecté... En mode commande il me met toujours :

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

eth0      no wireless extensions.

wifi0     no wireless extensions.

ath0      IEEE 802.11g  ESSID:"INSA-INVITE"  Nickname:""
          Mode:Managed  Frequency:2.442 GHz  Access Point: Not-Associated   
          Bit Rate:0 kb/s   Tx-Power:16 dBm   Sensitivity=1/1  
          Retry:off   RTS thr:off   Fragment thr:off
          Power Management:off
          Link Quality=0/70  Signal level=-94 dBm  Noise level=-94 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

tun0      no wireless extensions.

seb@seb-laptop:~$ sudo dhclient ath0
There is already a pid file /var/run/dhclient.pid with pid 6735
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.5
Copyright 2004-2006 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wifi0: unknown hardware address type 801
wifi0: unknown hardware address type 801
Listening on LPF/ath0/00:c0:a8:cc:38:e2
Sending on   LPF/ath0/00:c0:a8:cc:38:e2
Sending on   Socket/fallback
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on ath0 to 255.255.255.255 port 67 interval 5
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

Après cela je ne suis plus connecté à  internet ... je dois me reconnecter via wicd au réseau filaire avant. C'est bizare non ? Pourquoi je doit dire a wicd de me connecter par ethernet à  chaque redemarage?
En tout cas ne n'est pas trop grave, le plus important serait d'arriver ame connecter a ce wifi !