Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
configurare wpa_supplicant con chiave WEP
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian)
View previous topic :: View next topic  
Author Message
matteo.pata
n00b
n00b


Joined: 21 Mar 2007
Posts: 49
Location: Varese

PostPosted: Fri Jan 25, 2008 7:42 pm    Post subject: configurare wpa_supplicant con chiave WEP Reply with quote

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.. :lol: :wink:
Back to top
View user's profile Send private message
Tigerwalk
Guru
Guru


Joined: 15 May 2007
Posts: 475
Location: Napoli

PostPosted: Fri Jan 25, 2008 8:16 pm    Post subject: Reply with quote

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
View user's profile Send private message
matteo.pata
n00b
n00b


Joined: 21 Mar 2007
Posts: 49
Location: Varese

PostPosted: Sun Jan 27, 2008 10:18 am    Post subject: Reply with quote

che scheda wireless hai?? io ho un intel ipw2200 e ho il driver ipw2200 in esecuzione....
Back to top
View user's profile Send private message
crisandbea
Veteran
Veteran


Joined: 03 Jul 2005
Posts: 1778
Location: BOSCO (SA) ... ma domiciliato a Bologna....

PostPosted: Sun Jan 27, 2008 10:39 am    Post subject: Reply with quote

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
View user's profile Send private message
federico
Advocate
Advocate


Joined: 18 Feb 2003
Posts: 3272
Location: Italy, Milano

PostPosted: Sun Jan 27, 2008 1:41 pm    Post subject: Reply with quote

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
View user's profile Send private message
crisandbea
Veteran
Veteran


Joined: 03 Jul 2005
Posts: 1778
Location: BOSCO (SA) ... ma domiciliato a Bologna....

PostPosted: Sun Jan 27, 2008 2:13 pm    Post subject: Reply with quote

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
View user's profile Send private message
federico
Advocate
Advocate


Joined: 18 Feb 2003
Posts: 3272
Location: Italy, Milano

PostPosted: Sun Jan 27, 2008 6:47 pm    Post subject: Reply with quote

Che vantaggi ho piuttosto che usare le chiamate dirette a iwconfig?
_________________
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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Forum italiano (Italian) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum