View previous topic :: View next topic |
Author |
Message |
matteo.pata n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Mar 2007 Posts: 49 Location: Varese
|
Posted: Fri Jan 25, 2008 7:42 pm Post subject: configurare wpa_supplicant con chiave WEP |
|
|
Ciao raagazzi sono alle prime armi con wpa_supplicant devo collegare un access point con chiave wep al mio portatile allora per prima cosa ho cambiato il mio /etc/conf.d/net
Code: |
#modules=( "wpa_supplicant")
#wpa_supplicant_eth1="-Dipw"
#wpa_supplicant_eth1="-Dwext -c /etc/wpa_supplicant/wpa_supplicant.conf"
#config_eth1=("dhcp")
#dhcpcd_eth1="-t 20 "
#dhcp_eth1="nontp nonis"
#mode_eth1="auto
|
per adesso sono commentati perchè ho le altre impostazioni di wireless tool che vanno però volevo cambiare e mettere wpa_supplicant ma non riesco a farlo associare
/etc/wpa_supplicant/wpa_supplicant.conf
Code: |
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
ap_scan=1
#WIRELESS PISOLO CASA
network={
ssid="#######"
key_mgmt=NONE
auth_alg=SHARED
wep_key1="#######"
wep_tx_keyidx=0
}
|
Qualcuno mi può dire in cosa sbaglio e per favore qualcuno mi può postare qualche configurazione.
Ultima cosa volevo sapere se una volta configurato i file di configurazione il mio router si associa direttamente o se devo creare qualche script o modificare qualche file di configurazione per farlo associare in automatico ogni volta che riconosce la mia rete wireless.
Grazie a tutti aspetto le vostre risp.. ![Wink :wink:](images/smiles/icon_wink.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Tigerwalk Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/20400314344906c23bf0392.jpg)
Joined: 15 May 2007 Posts: 475 Location: Napoli
|
Posted: Fri Jan 25, 2008 8:16 pm Post subject: |
|
|
questo è il mio wpa_supplicant.conf
Code: | # This is a network block that connects to any unsecured access point.
# We give it a low priority so any defined blocks are preferred.
ctrl_interface=/var/run/wpa_supplicant
ctrl_interface_group=0
network={
ssid="Alice-xxxxxxxx"
key_mgmt=NONE
wep_key0="xxxxxxxxxxxxx"
priority=5
} |
e questo il comando da lanciare per avviare wpa_supplicant (almeno la prima volta)
Code: | wpa_supplicant -i eth2 -c/etc/wpa_supplicant/wpa_supplicant.conf -Dwext |
Dwext fa riferimento ad un particolare driver, non so se è lo stesso tuo.
EDIT: il mio /etc/conf.d/net
Code: | modules=( "wpa_supplicant" )
wpa_supplicant_wlan="-Dwext"
associate_timeout_wlan=60 |
_________________ Linux user N°447789
Carpe diem (quam minimum credula postero) -Orazio (I,11) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
matteo.pata n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 21 Mar 2007 Posts: 49 Location: Varese
|
Posted: Sun Jan 27, 2008 10:18 am Post subject: |
|
|
che scheda wireless hai?? io ho un intel ipw2200 e ho il driver ipw2200 in esecuzione.... |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
crisandbea Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 03 Jul 2005 Posts: 1778 Location: BOSCO (SA) ... ma domiciliato a Bologna....
|
Posted: Sun Jan 27, 2008 10:39 am Post subject: |
|
|
matteo.pata wrote: | che scheda wireless hai?? io ho un intel ipw2200 e ho il driver ipw2200 in esecuzione.... |
va bene anche per te il -Dwext. sono driver generici. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
federico Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/7500266904000406eae42f.jpg)
Joined: 18 Feb 2003 Posts: 3272 Location: Italy, Milano
|
Posted: Sun Jan 27, 2008 1:41 pm Post subject: |
|
|
non vorrei tirare una bomba, ma wpa supplicant serve per le chiavi wpa e non serve se hai una chiave wep!!! _________________ Sideralis www.sideralis.org
Pic http://blackman.amicofigo.com/gallery
Arduino http://www.arduino.cc
Chi aveva potuto aveva spaccato
2000 pezzi buttati là
Molti saluti,qualche domanda
Semplice come musica punk |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
crisandbea Veteran
![Veteran Veteran](/images/ranks/rank_rect_5_vet.gif)
Joined: 03 Jul 2005 Posts: 1778 Location: BOSCO (SA) ... ma domiciliato a Bologna....
|
Posted: Sun Jan 27, 2008 2:13 pm Post subject: |
|
|
federico wrote: | non vorrei tirare una bomba, ma wpa supplicant serve per le chiavi wpa e non serve se hai una chiave wep!!! |
wpa_supplicant può essere usato sia per chiavi wep che wpa.
@matteo.pata
al posto dei driver wired, usa ipw con wpa_supplicant. sono specifici per la tua scheda.
ciauz |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
federico Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/7500266904000406eae42f.jpg)
Joined: 18 Feb 2003 Posts: 3272 Location: Italy, Milano
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|