Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
[RISOLTO]problema wicd
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
Pes88
Apprentice
Apprentice


Joined: 06 May 2009
Posts: 243

PostPosted: Sat May 30, 2009 9:08 pm    Post subject: [RISOLTO]problema wicd Reply with quote

Ciao!!! Ho un problema con wicd... Non riesco a connetermi alle reti wirelles protete da wpa, wicd si blocca sull'autenticazione e non va avanti, eppure prima quando avevo arch andava.... Alle conessioni non protette mi conetto tranquilamente!!! qualche idea???

Last edited by Pes88 on Mon Jun 08, 2009 7:59 pm; edited 1 time in total
Back to top
View user's profile Send private message
Elbryan
Guru
Guru


Joined: 13 Nov 2006
Posts: 523
Location: Rovereto (TN)

PostPosted: Sat May 30, 2009 11:47 pm    Post subject: Reply with quote

controlla i log, guarda dmesg.. ma wpa_supplicant si connette? (intendo senza passare per wicd ma utilizzando la configurazione manuale).

Altrimenti potrebbe essere un problema di moduli del kernel per la cifratura non compilati..
Back to top
View user's profile Send private message
Apetrini
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1158

PostPosted: Sun May 31, 2009 12:46 am    Post subject: Reply with quote

A me è successa una cosa simile quando sono passato dalla 1.5.9-r1 alla 1.6. Avevo fretta di risolvere cosi son tornato alla 1.5.9-r1 e non ho indagato.
Cmq assicurati di riuscire a connetterti a mano, stoppando il servizio /etc/init.d/wicd.
Se non ci riesci neanche manualmente allora non è colpa di wicd e dovrai fornire altre info e cambiare titolo della discussione.
_________________
Linux ape 2.6.31-vanilla. Paludis since 0.28.0.
Back to top
View user's profile Send private message
Pes88
Apprentice
Apprentice


Joined: 06 May 2009
Posts: 243

PostPosted: Sun May 31, 2009 6:08 pm    Post subject: Reply with quote

ho provato a configurare wpa a mano ma non va!! Per essere sicuro delle cose che ho fatto posto le modifiche fatte hai file di wpa_supplicant!!!
ho aggiunto questo al file net nella cartella conf.d
Code:


modules=("wpa_supplicant")
wpa_supplicant_eth0="-Dwext"

eth0="dhcp"


wpa_suplicant l'ho configurato cosi, ho una connessione con chiave wpa

Code:

 ctrl_interface=/var/run/wpa_supplicant
#Only WPA-PSK is used.
network={
ssid="essid"
scan_ssid=1
key_mgmt=WPA-PSK
proto=WPA
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk="my_pas"
priority=9
}


poi ho dato il comando /etc/init.d/net.eth0 restart e ho ottenuto :
Code:

 Starting eth0
 *   Starting wpa_supplicant on eth0 ...                                  [ ok ]
 *   Starting wpa_cli on eth0 ...                                         [ ok ]
 *     Backgrounding ..


Poi ho cercato di instaurare la connessione con dhcpcd eth0, ma ho ottenuto un time out..

Se mi dite quali moduli devo avere per suportare wpa, cosi controllo se sono presenti nel kenrel...
Back to top
View user's profile Send private message
Pes88
Apprentice
Apprentice


Joined: 06 May 2009
Posts: 243

PostPosted: Sat Jun 06, 2009 10:38 am    Post subject: Reply with quote

Non sono ancora riuscito a connettermi ad una connessione wpa!!!!
Io ho il modello di scheda wireles :
Code:

ntel Corporation PRO/Wireless 2200BG Network Connection

nel kernel il config-packet è attivo :
Code:
 
cat /usr/src/linux/.config | grep CONFIG_PACKET
CONFIG_PACKET=y
CONFIG_PACKET_MMAP=y


Se a wpa supplicant do come parametro per i driver ipw che sono quelli della mia scheda ottengo una marea di errori :
Code:

Linux wireless extensions version 22 detected.
ipw2x00 driver uses driver_wext (-Dwext) instead of driver_ipw.
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported   

Per eliminare questi errori devo mettere il driver generico wext.

Posto anche il contenuto del file net e di wpa_supplicant.conf

Code:

modules=("wpa_supplicant")
wpa_supplicant_eth0="-Dwext" #alterno con ipw
iwconfig_eth0="mode managed"   # ho provato sia con e sia senza

config_eth0=("dhcpcd")   #scheda wireless
config_eth1=("null")   #scheda ethernet


Code:

# La riga sottostante non deve essere cambiata altrimenti non funziona
ctrl_interface=/var/run/wpa_supplicant

# Assicurarsi che solo root possa leggere la configurazione WPA
ctrl_interface_group=0

# Lasciare che wpa_supplicant si occupi della scansione e della selezione AP
ap_scan=1


network={
  ssid="essid"
  proto=WPA
  key_mgmt=WPA-PSK
  pairwise=CCMP TKIP
  group=CCMP TKIP WEP104 WEP40
  psk=11111111
  priority=2
}
Back to top
View user's profile Send private message
Apetrini
Veteran
Veteran


Joined: 09 Feb 2005
Posts: 1158

PostPosted: Sat Jun 06, 2009 8:49 pm    Post subject: Reply with quote

Ma perche non posti l'output di wpa_supplicant con i driver wext (che ti confermo è quello giusto) ?
_________________
Linux ape 2.6.31-vanilla. Paludis since 0.28.0.
Back to top
View user's profile Send private message
Pes88
Apprentice
Apprentice


Joined: 06 May 2009
Posts: 243

PostPosted: Sun Jun 07, 2009 8:40 am    Post subject: Reply with quote

ok!!! Ho dato il comando :
Code:

sudo wpa_supplicant -B -Dwext -i eth0 -c /etc/wpa_supplicant/wpa_supplicant.conf


Ma non mi ha dato nessun output!!! Sbaglio qualcosa???
Back to top
View user's profile Send private message
Pes88
Apprentice
Apprentice


Joined: 06 May 2009
Posts: 243

PostPosted: Mon Jun 08, 2009 7:59 pm    Post subject: Reply with quote

Ho risolto attivando le opzioni nel kernel :

Code:

<*>     IEEE 802.11 WEP encryption (802.1x)   
<*>     IEEE 802.11i TKIP encryption 


Grazie!!!!!!

:P :P :P :P :P :P
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