Twitter iPhone pliant OnePlus 11 PS5 Disney+ Orange Livebox Windows 11

Config WAP Linux Debian (64bits) / Linksys WAP54G

2 réponses
Avatar
Thierry
Bonsoir,
Soucis avec la config concernant le cryptage en WAP-PSK entre ma debian
(pcmcia Netgear WG511) et mon AP linksys WAP54G.

Config :

# /etc/default/wpasupplicant
# WARNING! Make sure you have a configuration file!
ENABLED=1
# Useful flags:
# -D <driver> Wireless drive, typically optional.
# -i <ifname> Interface
# -c <config file> Configuration file
# -d Debugging (-dd for more)
# -w Wait for interface to come up
# See the manual page wpa_supplicant(1) for more options and information.
#OPTIONS="-w"
# EXAMPLES:
OPTIONS="-i eth1 -c /etc/wpa_supplicant.conf"
# OPTIONS="-i ath0 -D madwifi -c /etc/wpa_supplicant.conf"


#auto eth1
#iface eth1 inet static
#pre-up /etc/init.d/wpasupplicant start
#address 192.168.x.x
#netmask 255.255.255.0
#network 192.168.0.0
#broadcast 192.168.0.255
#gateway 192.168.x.x
#wireless-mode Managed
#wireless-essid degages_ducon
#wireless-key mon_mot_de_passe
#pre-up /etc/init.d/wpasupplicant stop

-> commanter car j'utilise eth0 pour acceder au net :)

ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0

eapol_version=1
ap_scan=1
fast_reauth=1

### Associate with any open access point
### Scans/ESSID changes can be done with wpa_cli
network={
ssid="degages_ducon"
scan_ssid=1
proto=WPA
key_mgmt=WPA-PSK
pairwise=TKIP
psk="lucettes"
priority=1
}

Erreur message:

sudo ifup eth1
Starting wpa_supplicant: ioctl[SIOCSIWPMKSA]: No such device
ioctl[SIOCSIWMODE]: No such device
Could not configure driver to use managed mode
ioctl[SIOCGIFFLAGS]: No such device
Could not set interface 'eth1' UP
ioctl[SIOCGIWRANGE]: No such device
ioctl[SIOCGIFINDEX]: No such device
ioctl[PRISM2_IOCTL_HOSTAPD]: No such device
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: No such device
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: No such device
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: No such device
Failed to set encryption.
ioctl[PRISM2_IOCTL_HOSTAPD]: No such device
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: No such device
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: No such device
Failed to disable WPA in the driver.
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: No such device
ioctl[PRISM2_IOCTL_PRISM2_PARAM]: No such device
ioctl[SIOCSIWAP]: No such device
ioctl[SIOCGIFFLAGS]: No such device
Failed to bring up eth1.


lsmod :

lp 13888 0
ipv6 289280 15
sbp2 26820 0
usbhid 40800 0
snd_via82xx 31616 0
snd_mpu401_uart 9408 1 snd_via82xx
snd_rawmidi 30112 1 snd_mpu401_uart
snd_seq_device 10128 1 snd_rawmidi
via82cxxx_audio 31304 0
uart401 13272 1 via82cxxx_audio
snd_via82xx_modem 18308 0
snd_ac97_codec 110020 2 snd_via82xx,snd_via82xx_modem
snd_ac97_bus 3008 1 snd_ac97_codec
sound 95144 2 via82cxxx_audio,uart401
ehci_hcd 34632 0
uhci_hcd 35296 0
shpchp 97704 0
pci_hotplug 32016 1 shpchp
snd_pcm 107656 3 snd_via82xx,snd_via82xx_modem,snd_ac97_codec
snd_timer 28104 1 snd_pcm
snd 72384 8 snd_via82xx,snd_mpu401_uart,snd_rawmidi,snd_seq_device,snd_via82xx_modem,snd_ac97_codec,snd_pcm,snd_timer
snd_page_alloc 13264 3 snd_via82xx,snd_via82xx_modem,snd_pcm
soundcore 12256 3 via82cxxx_audio,sound,snd
ac97_codec 22040 1 via82cxxx_audio
parport_pc 39856 1
parport 42764 2 lp,parport_pc
yenta_socket 28044 2
rsrc_nonstatic 13376 1 yenta_socket
wbsd 19920 0
mmc_core 28224 1 wbsd

Impossible de lancer hostap* en module ...

/lib/modules/2.6.14/kernel/drivers/net/wireless/hostap$ ls
hostap_cs.ko hostap.ko hostap_pci.ko hostap_plx.ko
tst@pompilia:/lib/modules/2.6.14/kernel/drivers/net/wireless/hostap$ sudo insmod hostap_plx.ko
insmod: error inserting 'hostap_plx.ko': -1 Unknown symbol in module
tst@pompilia:/lib/modules/2.6.14/kernel/drivers/net/wireless/hostap$ sudo insmod hostap_pci.ko
insmod: error inserting 'hostap_pci.ko': -1 Unknown symbol in module
tst@pompilia:/lib/modules/2.6.14/kernel/drivers/net/wireless/hostap$ sudo insmod hostap.ko
insmod: error inserting 'hostap.ko': -1 Unknown symbol in module
tst@pompilia:/lib/modules/2.6.14/kernel/drivers/net/wireless/hostap$ sudo insmod hostap_cs.ko
insmod: error inserting 'hostap_cs.ko': -1 Unknown symbol in module
tst@pompilia:/lib/modules/2.6.14/kernel/drivers/net/wireless/hostap$

Noyau 2.6.14 :

CONFIG_PRISM54=m
CONFIG_HOSTAP=m
# CONFIG_HOSTAP_FIRMWARE is not set
CONFIG_HOSTAP_PLX=m
CONFIG_HOSTAP_PCI=m
CONFIG_HOSTAP_CS=m
CONFIG_NET_WIRELESS=y

CONFIG_IEEE80211=m
# CONFIG_IEEE80211_DEBUG is not set
CONFIG_IEEE80211_CRYPT_WEP=m
CONFIG_IEEE80211_CRYPT_CCMP=m
CONFIG_IEEE80211_CRYPT_TKIP=m


Par contre, le WPA entre deux stations Windows XP et ce meme routeur
fonctionne correctement.

Merci pour vos infos.

2 réponses

Avatar
Cedric Blancher
Le Sun, 15 Jan 2006 21:40:17 +0000, Thierry a écrit :
Soucis avec la config concernant le cryptage en WAP-PSK entre ma debian
(pcmcia Netgear WG511) et mon AP linksys WAP54G.


Déjà, ce n'est pas du WAP, mais du WPA.

[...]
OPTIONS="-i eth1 -c /etc/wpa_supplicant.conf"


Pas de -D pour déclarer le driver, donc ce sera l'interface hostap qui
sera chargée par défaut, et comme ta carte n'utilise pas ce driver, ça
va pas passer.

Or la WG511 utilise le driver Prism54 (http://prism54.org/). Et pour
autant que je sache, ce driver ne supporte pas le WPA (c'est en cours).

[...]
psk="lucettes"


J'espère que ta vraie PSK est un peu plus compliquée que ça...




--
QU'EST CE QU'ILS VIENNENT NOUS FAIRENT CHIER AVEC LEURS CONCURENCE
il n'y a pas de concurence pour les communications loal. Pour wandoo
quelle concurence peu gene FT. Aucune, ou alors qu'on m'explique.
-+-CY in : Guide du Neuneu d'Usenet - Faut pas me la faire -+-

Avatar
Thierry
On Mon, 16 Jan 2006 06:11:46 +0000, Cedric Blancher wrote:

Le Sun, 15 Jan 2006 21:40:17 +0000, Thierry a écrit :
[texte cité caché]


Déjà, ce n'est pas du WAP, mais du WPA.


aie ... oui ;)


[...]
[texte cité caché]


Pas de -D pour déclarer le driver, donc ce sera l'interface hostap qui
sera chargée par défaut, et comme ta carte n'utilise pas ce driver, ça
va pas passer.

Or la WG511 utilise le driver Prism54 (http://prism54.org/). Et pour
autant que je sache, ce driver ne supporte pas le WPA (c'est en cours).



Possibilite de le faire fonctionner au travers de ndiswrapper ... a
premiere vu, sauf qu'il me faudrait la version 64 bits du driver windows
XP 64 de cette carte, ce que je n'ai pas.

[...]
[texte cité caché]


J'espère que ta vraie PSK est un peu plus compliquée que ça...


Oui .... uniquement pour les testes.

Merci