[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [etch/2.6.18] config madwifi/wpa_supplicant



fred <fredantispam@free.fr> a écrit :

> Christophe Alonso <Christophe.Alonso@etumb.u-strasbg.fr> a écrit :
>
>> Et avec les mêmes options wpa_supplicant.conf mis directement
>> dans /etc/network/interfaces ? Non ? (Je sais j'insiste mais bon).
> Même erreurs que précédemment.
>
> Une question, tout de même.
> Qui est sensé lancer wpa_supplicant ???
Hmmm, après lecture, il me semble que ce sont les scripts dans
/etc/network/if-pre-up.d/ qui s'en chargent...

Petit résumé de la situation, pour y voir plus clair (si je puis
m'exprimer ainsi) :

dmesg:
------
ieee80211: 802.11 data/management/control stack, git-1.1.13
ieee80211: Copyright (C) 2004-2005 Intel Corporation <jketreno@linux.intel.com>
ieee80211_crypt: registered algorithm 'NULL'
ieee80211_crypt: registered algorithm 'WEP'
ieee80211_crypt: registered algorithm 'CCMP'
ieee80211_crypt: registered algorithm 'TKIP'
wlan: 0.8.4.2 (0.9.3)
ath_hal: module license 'Proprietary' taints kernel.
ath_hal: 0.9.18.0 (AR5210, AR5211, AR5212, RF5111, RF5112, RF2413, RF5413)
ath_rate_sample: 1.2 (0.9.3)
ath_pci: 0.9.4.5 (0.9.3)
ACPI: PCI Interrupt 0000:04:08.0[A] -> Link [APC3] -> GSI 18 (level, low) -> IRQ 18
wifi0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
wifi0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: turboG rates: 6Mbps 12Mbps 18Mbps 24Mbps 36Mbps 48Mbps 54Mbps
wifi0: H/W encryption support: WEP AES AES_CCM TKIP
wifi0: mac 7.9 phy 4.5 radio 5.6
wifi0: Use hw queue 1 for WME_AC_BE traffic
wifi0: Use hw queue 0 for WME_AC_BK traffic
wifi0: Use hw queue 2 for WME_AC_VI traffic
wifi0: Use hw queue 3 for WME_AC_VO traffic
wifi0: Use hw queue 8 for CAB traffic
wifi0: Use hw queue 9 for beacons
wifi0: Atheros 5212: mem=0xd8020000, irq=18

lsmod:
------
Module                  Size  Used by
wlan_scan_sta          14592  0 
ath_pci                98208  0 
ath_rate_sample        16384  1 ath_pci
ath_hal               192720  3 ath_pci,ath_rate_sample
wlan_tkip              13568  0 
wlan                  203452  5 wlan_scan_sta,ath_pci,ath_rate_sample,wlan_tkip

/etc/network/interfaces:
------------------------
# D-Link DWL-G520 Wifi Connection -> Freebox
auto ath0
iface ath0 inet static
wireless-mode Managed
wireless-essid monssidamoiquejai
wireless-keymode restricted
wireless-key macleamoiquejai
address x.x.x.x
gateway x.x.x.x
netmask 255.255.255.0
  up /etc/init.d/snort start ath0

ifup ath0: (pas glop)
----------
Error for wireless request "Set Encode" (8B2A) :
    SET failed on device ath0 ; Invalid argument.
Error for wireless request "Set Encode" (8B2A) :
    SET failed on device ath0 ; Invalid argument.
Starting Network Intrusion Detection System: snort(ath0).

ifconfig ath0:
--------------
ath0      Lien encap:Ethernet  HWaddr 00:19:5B:35:D3:22  
          inet adr:82.239.204.38  Bcast:82.239.204.255  Masque:255.255.255.0
          UP BROADCAST RUNNING MULTICAST  MTU:1500  Metric:1
          RX packets:0 errors:0 dropped:0 overruns:0 frame:0
          TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
          collisions:0 lg file transmission:0 
          RX bytes:0 (0.0 b)  TX bytes:0 (0.0 b)

iwconfig ath0: ("Access Point: Not-Associated" pas glop)
--------------
ath0      IEEE 802.11g  ESSID:"monssidamoiquejai"  
          Mode:Managed  Frequency:2.457 GHz  Access Point: Not-Associated   
          Bit Rate:0 kb/s   Tx-Power:18 dBm   Sensitivity=0/3  
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/94  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

iwconfig ath0 après avoir lancé wpa_supplicant: (Access Point ok)
-----------------------------------------------
ath0      IEEE 802.11g  ESSID:"monssidamoiquejai"  
          Mode:Managed  Frequency:2.452 GHz  Access Point: 00:07:CB:6E:91:86   
          Bit Rate:0 kb/s   Tx-Power:18 dBm   Sensitivity=0/3  
          Retry:off   RTS thr:off   Fragment thr:off
          Encryption key:off
          Power Management:off
          Link Quality=0/94  Signal level=-95 dBm  Noise level=-95 dBm
          Rx invalid nwid:0  Rx invalid crypt:0  Rx invalid frag:0
          Tx excessive retries:0  Invalid misc:0   Missed beacon:0

iwlist ath0 scan:
-----------------
ath0      Scan completed :
          Cell 01 - Address: 00:07:CB:6E:91:86
                    ESSID:"monssidamoiquejai"
                    Mode:Master
                    Frequency:2.462 GHz (Channel 11)
                    Quality=37/94  Signal level=-58 dBm  Noise level=-95 dBm
                    Encryption key:on
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                              12 Mb/s; 48 Mb/s
                    Extra:bcn_int=100
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP 
                        Pairwise Ciphers (2) : CCMP TKIP 
                        Authentication Suites (1) : PSK  
                    IE: WPA Version 1
                        Group Cipher : TKIP 
                        Pairwise Ciphers (2) : CCMP TKIP 
                        Authentication Suites (1) : PSK  



Bref, je nage.

Merci pour toutes suggestions.

-- 
Fred.



Reply to: