djsliders
Hello a tous.
Voila je me connectais avant en WPA a mon ecole... avec le prog wpa_supplicant
Donc je faisais /usr/sbin/wpa_supplicant -c .. -i eth1 -d wext
et sa marchais nikel.. sauf que depuis qques jours sa me fais plus ce qu'il faut.. j ai totalement autre chose et je ne sais pas du tout pk!
Si quelqu un pourrait m'aider a comprendre.
Voila ce que j ai :
[root@portable-p djsliders]# /usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf.rpmsave -i eth1 -d wext
Initializing interface 'eth1' conf '/etc/wpa_supplicant/wpa_supplicant.conf.rpmsave' driver 'default' ctrl_interface 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf.rpmsave' -> '/etc/wpa_supplicant/wpa_supplicant.conf.rpmsave'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf.rpmsave'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group=10 (from group name 'wheel')
Priority group 0
id=0 ssid='epfl'
Initializing interface (2) 'eth1'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=20 WE(source)=16 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf
Own MAC address: 00:18:de:a4:f8:bc
wpa_driver_hostap_set_wpa: enabled=1
wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
wpa_driver_hostap_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
wpa_driver_hostap_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
wpa_driver_hostap_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
wpa_driver_hostap_set_countermeasures: enabled=0
wpa_driver_hostap_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Added interface eth1
Wireless event: cmd=0x8b06 len=8
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
CTRL-EVENT-TERMINATING - signal 2 received
Removing interface eth1
State: SCANNING -> DISCONNECTED
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
wpa_driver_hostap_set_wpa: enabled=0
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
wpa_driver_hostap_set_drop_unencrypted: enabled=0
wpa_driver_hostap_set_countermeasures: enabled=0
No keys have been configured - skip key clearing
Cancelling scan request
[root@portable-p djsliders]# /usr/sbin/wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf.rpmsave -i eth1 -d wext
Initializing interface 'eth1' conf '/etc/wpa_supplicant/wpa_supplicant.conf.rpmsave' driver 'default' ctrl_interface 'N/A'
Configuration file '/etc/wpa_supplicant/wpa_supplicant.conf.rpmsave' -> '/etc/wpa_supplicant/wpa_supplicant.conf.rpmsave'
Reading configuration file '/etc/wpa_supplicant/wpa_supplicant.conf.rpmsave'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group=10 (from group name 'wheel')
Priority group 0
id=0 ssid='epfl'
Initializing interface (2) 'eth1'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=20 WE(source)=16 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf
Own MAC address: 00:18:de:a4:f8:bc
wpa_driver_hostap_set_wpa: enabled=1
wpa_driver_hostap_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
wpa_driver_hostap_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
wpa_driver_hostap_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
wpa_driver_hostap_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
ioctl[PRISM2_IOCTL_HOSTAPD]: Operation not supported
Failed to set encryption.
wpa_driver_hostap_set_countermeasures: enabled=0
wpa_driver_hostap_set_drop_unencrypted: enabled=1
Setting scan request: 0 sec 100000 usec
Added interface eth1
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 222 bytes of scan results (1 BSSes)
Merci bcp de votre aide.
A bientot
kwizart
Il y a eut une mise à jours récente de wpa-supplicant ?
/etc/wpa_supplicant/wpa_supplicant.conf.rpmsave vérifie que ton fichier n'ai pas été remplacé par une mise à jour ou que le format du fichier .conf n'ait pas évolué...
Quel chipset utilises tu pour te connecter?
djsliders
Non tout m a l air correct.. j ai pas fait de mise a jour ou je n ai rien lu sur le changement de format.
J utilise ipw3945.
Merci de ton aide 😉
kwizart
va dans le repertoire /etc/wpa-supplicant et sauvegarde tout. Puis recrée un fichier de conf comme il est expliqué dans le tutoriel... en supprimant en particulier ce '/etc/wpa_supplicant/wpa_supplicant.conf.rpmsave'! et appelles le '/etc/wpa_supplicant/wpa_supplicant.conf'
djsliders
Ok je vais essayer ce soir je te redis. Merci
djsliders
Non sa a pas l air de marcher.. 🙁
kwizart
Essaies de publier des informations parceque je vois vraiment pas pourquoi cela ne marcherai plus!
Est ce que ta connection fonctionne bien ?
iwconfig
ifconfig -a
dmesg |grep ipw ?
djsliders
oui tout fonctionne nikel je me connect chez moi en WEP.
Voila mes config : /sbin/iwconfig
eth1 IEEE 802.11g ESSID:"djsliders" Nickname:"portable-p.HOME"
Mode:Ad-Hoc Frequency:2.417 GHz Cell: 62:0F:F6:58:6E:B7
Bit Rate:1 Mb/s Tx-Power:15 dBm
Retry limit:15 RTS thr:off Fragment thr:off
Power Management:off
Link Quality=60/100 Signal level=-35 dBm Noise level=-41 dBm
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:619 Missed beacon:0
[djsliders@portable-p ~]$ /sbin/ifconfig -a
eth0 Link encap:Ethernet HWaddr 00:15:C5:59:DE:79
BROADCAST 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:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)
Interruption:185
eth1 Link encap:Ethernet HWaddr 00:18:DE:A4:F8:BC
inet adr:192.168.0.16 Bcast:192.168.0.255 Masque:255.255.255.0
adr inet6: fe80::218:deff:fea4:f8bc/64 Scope:Lien
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:12 errors:0 dropped:635 overruns:0 frame:0
TX packets:13 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:1000
RX bytes:1473089 (1.4 MiB) TX bytes:379908 (371.0 KiB)
Interruption:177 Adresse de base:0xe000 Mémoire:dcfff000-dcffffff
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
RX packets:1866 errors:0 dropped:0 overruns:0 frame:0
TX packets:1866 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 lg file transmission:0
RX bytes:4206108 (4.0 MiB) TX bytes:4206108 (4.0 MiB)
sit0 Link encap:IPv6-dans-IPv4
NOARP MTU:1480 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)
Le eth1 c est chez moi avec mon reseau!
et le dernier :
[djsliders@portable-p ~]$ dmesg | grep ipw
ipw3945: Intel(R) PRO/Wireless 3945 Network Connection driver for Linux, 1.1.3dmpr
ipw3945: Copyright(c) 2003-2006 Intel Corporation
ipw3945: Detected Intel PRO/Wireless 3945ABG Network Connection
ipw3945: Intel(R) PRO/Wireless 3945 Network Connection driver for Linux, 1.1.3dmpr
ipw3945: Copyright(c) 2003-2006 Intel Corporation
ipw3945: Detected Intel PRO/Wireless 3945ABG Network Connection
ipw3945: Detected geography ABG (13 802.11bg channels, 23 802.11a channels)
ipw3945: Microcode SW error detected. Restarting.
ipw3945: Error Reply type 0x000000FF cmd TX (0x1C) seq 0x0000 ser 0x00030000
ipw3945: Can't stop Rx DMA.
ipw3945: Detected geography ABG (13 802.11bg channels, 23 802.11a channels)
ipw3945: Microcode SW error detected. Restarting.
ipw3945: Error Reply type 0x000000FF cmd TX (0x1C) seq 0x0000 ser 0x00030000
ipw3945: Can't stop Rx DMA.
ipw3945: Detected geography ABG (13 802.11bg channels, 23 802.11a channels)
Voila merci d avance d essayer de m aider 😉 Salutations!
djsliders
Bon bhein cherche pas plus loin en fait c etait un probleme de syntaxe ds la commande :
pour le driver c est -D wext et pas -d wext...
et sa change tout lol
😉 dsl du derangement ++