Pagina 1 di 2

[Risolto] [Wireless] Penna Dwl-g122

Inviato: lunedì 29 dicembre 2008, 16:58
da etorino
Ciao a tutti!
Dopo aver installato il mio bel Xubuntu 8.04 su un vecchio computer che avevo accantonato, ho provato il collegamento con una penna dwl-g122.. subito sono riuscito a collegarmi senza problemi... dopo qualche settimana, in seguito all'installazione di alcuni aggiornamenti, il collegamento è saltato e non c'è più stato verso di rispristinarlo; ora viaggio con il cavo >:(
Visto che sono alle prime armi con un sistema linux, qualcuno può aiutarmi?

Re: [Wireless] Penna Dwl-g122

Inviato: lunedì 29 dicembre 2008, 17:15
da scolpi
all'avvio del sistema hai provato a selezionare un kernel diverso da quello predefinito? magari va, prova

Re: [Wireless] Penna Dwl-g122

Inviato: lunedì 29 dicembre 2008, 17:19
da etorino
scolpi ha scritto: all'avvio del sistema hai provato a selezionare un kernel diverso da quello predefinito? magari va, prova
come dicevo sono alle prime armi... mi puoi dire come devo fare?  ???

Re: [Wireless] Penna Dwl-g122

Inviato: lunedì 29 dicembre 2008, 17:27
da scolpi
all'avvio c'è una schermata dove puoi sceglier con che kernel partire o se hai + sistemi operativi anche con quale partire, basta che premi esc e scegli il terzo kernel ( il secondo è il recovery del primo) prova così

Re: [Wireless] Penna Dwl-g122

Inviato: lunedì 29 dicembre 2008, 17:39
da etorino
niente da fare... a differenza di prima non mi rileva neanche le reti...

Re: [Wireless] Penna Dwl-g122

Inviato: lunedì 29 dicembre 2008, 17:45
da scolpi
ti colleghi ad un modem o ad un router? con ip fisso o dhcp?

postami

Codice: Seleziona tutto

sudo iwlist scan

Re: [Wireless] Penna Dwl-g122

Inviato: lunedì 29 dicembre 2008, 17:59
da etorino
eccolo:

Codice: Seleziona tutto

lo        Interface doesn't support scanning.

eth0      Interface doesn't support scanning.

wmaster0  Interface doesn't support scanning.

wlan0     Scan completed :
          Cell 01 - Address: 00:0F:F7:A7:E0:20
                    ESSID:"rp-guest"
                    Mode:Master
                    Channel:6
                    Frequency:2.437 GHz (Channel 6)
                    Quality=45/100  Signal level=-86 dBm  
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
                              11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:tsf=00000a38d9611aa7
          Cell 02 - Address: 00:C0:49:FF:4C:AA
                    ESSID:""
                    Mode:Master
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=48/100  Signal level=-70 dBm  
                    Encryption key:on
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                              12 Mb/s; 48 Mb/s
                    Extra:tsf=0000050e7089c187
          Cell 03 - Address: 00:C0:49:DA:AE:D0
                    ESSID:"USR5450"
                    Mode:Master
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=55/100  Signal level=-28 dBm  
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 22 Mb/s
                              6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s
                              36 Mb/s; 48 Mb/s; 54 Mb/s
                    Extra:tsf=00000000bfdf4f1d
          Cell 04 - Address: 00:03:6F:91:26:E9
                    ESSID:"Alice-58144302"
                    Mode:Master
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=45/100  Signal level=-88 dBm  
                    Encryption key:on
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (1) : TKIP
                        Authentication Suites (1) : PSK
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                              12 Mb/s; 48 Mb/s
                    Extra:tsf=0000028a3ea19600
          Cell 05 - Address: 00:0F:F7:A7:D5:C0
                    ESSID:"rp-guest"
                    Mode:Master
                    Channel:1
                    Frequency:2.412 GHz (Channel 1)
                    Quality=46/100  Signal level=-82 dBm  
                    Encryption key:off
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 6 Mb/s; 9 Mb/s
                              11 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s; 36 Mb/s
                              48 Mb/s; 54 Mb/s
                    Extra:tsf=00000a38db2e77a6

Re: [Wireless] Penna Dwl-g122

Inviato: lunedì 29 dicembre 2008, 18:04
da scolpi
qual' è la tua rete?

Re: [Wireless] Penna Dwl-g122

Inviato: lunedì 29 dicembre 2008, 18:09
da etorino
questa:

Codice: Seleziona tutto

Cell 02 - Address: 00:C0:49:FF:4C:AA
                    ESSID:""
                    Mode:Master
                    Channel:11
                    Frequency:2.462 GHz (Channel 11)
                    Quality=48/100  Signal level=-70 dBm  
                    Encryption key:on
                    IE: WPA Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    IE: IEEE 802.11i/WPA2 Version 1
                        Group Cipher : TKIP
                        Pairwise Ciphers (2) : CCMP TKIP
                        Authentication Suites (1) : PSK
                    Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s
                              24 Mb/s; 36 Mb/s; 54 Mb/s; 6 Mb/s; 9 Mb/s
                              12 Mb/s; 48 Mb/s
                    Extra:tsf=0000050e7089c187
noto però che l'ESSID è vuoto invece nel pannello del wicd ho messo "famiglia"...

Re: [Wireless] Penna Dwl-g122

Inviato: lunedì 29 dicembre 2008, 18:13
da scolpi
è nel router che devi mettere il nome famiglia non in wicd, via cavo riesci a collegarti in modo da impostarlo?

Re: [Wireless] Penna Dwl-g122

Inviato: lunedì 29 dicembre 2008, 18:15
da etorino
ma nel router è impostato perché l'altro computer che gira con windows lo riconosce con quel nome...

Re: [Wireless] Penna Dwl-g122

Inviato: lunedì 29 dicembre 2008, 18:19
da scolpi
ma qui non risulta, c'è qualcosa che non quadra.

tu prova ad entrade nel router e da lì lo vedi, non è che quel nome è stato dato alla connessione,ma non sia il ssid .

consci la password wpa2 usata?

Re: [Wireless] Penna Dwl-g122

Inviato: lunedì 29 dicembre 2008, 18:32
da etorino
sono andato a controllare e coincide, l'unica cosa è che il nome viene nascosto... la pwd la conosco...

Re: [Wireless] Penna Dwl-g122

Inviato: lunedì 29 dicembre 2008, 18:41
da scolpi
bene allora chiudi wicd e poi:

Codice: Seleziona tutto

sudo gedit /etc/wpa_supplicant.conf
e ci scrivi

[quotenetwork={
  ssid="famiglia"
  scan_ssid=1
  psk="xxx"
  key_mgmt=WPA-PSK
  proto=RSN
  pairwise=CCMP
}
][/quote]

dove xxx è la tua password e va messa tra apici.

salvi e chiudi

poi

Codice: Seleziona tutto

sudo gedit /etc/network/interfaces
e ci scrivi
auto lo
iface lo inet loopback


auto wlan0
iface wlan0 inet dhcp
wpa-driver wext
wpa-conf /etc/wpa_supplicant.conf
salvi e chiudi

ho suppsto che usi dhcp.

infine

Codice: Seleziona tutto

sudo /etc/init.d/networking restart
e dovresti essere ok, non usare + ne network-manager ne wicd

Re: [Wireless] Penna Dwl-g122

Inviato: lunedì 29 dicembre 2008, 19:06
da etorino
purtroppo ti scrivo ancora con il cavo perché senza non si collega  :(

non sapendo granchè in materia, mi sembra che quando invio il comando:
sudo /etc/init.d/networking restart
vengano mostrati degli errori  ???

Codice: Seleziona tutto

* Reconfiguring network interfaces...                                       There is already a pid file /var/run/dhclient.wlan0.pid with pid 10572
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/wlan0/00:1e:58:99:79:a6
Sending on   LPF/wlan0/00:1e:58:99:79:a6
Sending on   Socket/fallback
Line 1: Invalid configuration line '[quotenetwork={'.
Line 2: Invalid configuration line 'ssid="famiglia"'.
Line 3: Invalid configuration line 'scan_ssid=1'.
Line 4: Invalid configuration line 'psk="6728xxxxxx"'.
Line 5: Invalid configuration line 'key_mgmt=WPA-PSK'.
Line 6: Invalid configuration line 'proto=RSN'.
Line 7: Invalid configuration line 'pairwise=CCMP'.
Line 8: Invalid configuration line '}'.
Line 9: Invalid configuration line '][/quote]'.
Failed to read or parse configuration '/etc/wpa_supplicant.conf'.
wpa_supplicant: /sbin/wpa_supplicant daemon failed to start
run-parts: /etc/network/if-pre-up.d/wpasupplicant exited with return code 1
There is already a pid file /var/run/dhclient.wlan0.pid with pid 134519072
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/wlan0/00:1e:58:99:79:a6
Sending on   LPF/wlan0/00:1e:58:99:79:a6
Sending on   Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 4
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 5
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 13
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 12
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
No DHCPOFFERS received.
No working leases in persistent database - sleeping.

Re: [Wireless] Penna Dwl-g122

Inviato: lunedì 29 dicembre 2008, 19:41
da scolpi
postami

Codice: Seleziona tutto

more /etc/wpa_supplicant.conf

Re: [Wireless] Penna Dwl-g122

Inviato: lunedì 29 dicembre 2008, 20:50
da etorino
ecco
network={
   ssid="Famiglia"
   scan_ssid=1
   psk="67xxxxxxx"
   key_mgmt=WPA-PSK
   proto=RSN
   pairwise=CCMP
}

Re: [Wireless] Penna Dwl-g122

Inviato: martedì 30 dicembre 2008, 11:36
da scolpi
Line 1: Invalid configuration line '[quotenetwork={'.
qui diceva che non era corretto il file è x questo che ti avevo chiesto di mostrarmelo, ma ora vedo che è a posto, riprova

Re: [Wireless] Penna Dwl-g122

Inviato: martedì 30 dicembre 2008, 21:28
da etorino
con il comando di restart, dopo aver riavviato il computer, il terminale mi visualizza questo:
* Reconfiguring network interfaces...                                      There is already a pid file /var/run/dhclient.wlan0.pid with pid 17097
killed old client process, removed PID file
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/wlan0/00:1e:58:99:79:a6
Sending on  LPF/wlan0/00:1e:58:99:79:a6
Sending on  Socket/fallback
DHCPRELEASE on wlan0 to 223.23.45.1 port 67
There is already a pid file /var/run/dhclient.wlan0.pid with pid 134519072
Internet Systems Consortium DHCP Client V3.0.6
Copyright 2004-2007 Internet Systems Consortium.
All rights reserved.
For info, please visit http://www.isc.org/sw/dhcp/

wmaster0: unknown hardware address type 801
wmaster0: unknown hardware address type 801
Listening on LPF/wlan0/00:1e:58:99:79:a6
Sending on  LPF/wlan0/00:1e:58:99:79:a6
Sending on  Socket/fallback
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 7
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 10
DHCPDISCOVER on wlan0 to 255.255.255.255 port 67 interval 15
DHCPOFFER of 223.23.45.4 from 223.23.45.1
DHCPREQUEST of 223.23.45.4 on wlan0 to 255.255.255.255 port 67
DHCPACK of 223.23.45.4 from 223.23.45.1
bound to 223.23.45.4 -- renewal in 1640 seconds.
                                                                      [ OK ]
e mi sembra vada bene perchè, se non sbaglio, al mio computer gli viene assegnato l'ip 223.23.45.4... quando apro firefox, però, continuo a non poter navigare...
può essere che il computer non abbia dei dns di riferimento?

Re: [Wireless] Penna Dwl-g122

Inviato: martedì 30 dicembre 2008, 22:12
da scolpi
postami

Codice: Seleziona tutto

ifconfig
e

Codice: Seleziona tutto

route -n