wireless usb

Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.

Moderatore: Staff

Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.

La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
marchigno77
Linux 0.x
Linux 0.x
Messaggi: 12
Iscritto il: sab 12 nov 2005, 21:53

wireless usb

Messaggio da marchigno77 »

Carissimi,

Spero di risolvere il seguente problema su cui da mesi sto lavorando:

ho installato Linux Slackware 11 (kernel 2.4) su una partizione e Linux Slackware 12 (kernel 2.6) su un'altra partizione. Su entrambe ho installato ndiswrapper e wpa_supplicant, stessa configurazione (che dopo si legge in dettaglio), e stesso script di avviamento. La scheda è una WG111v2 con i drivers di WIN98.

Problema: si connette con Slackware 11 (da cui sto scrivendo) ma non con Slackware 12.

Di seguito posto configurazione e messaggi:

> lsusb

Bus 2 Device 2: ID 0846:6a00 NetGear, Inc. WG111 WiFi (v2)
Bus 2 Device 1: ID 0000:0000
Bus 1 Device 1: ID 0000:0000

> ndiswrapper -l

net111v2 : driver installed
device (0846:6A00) present

> modprobe ndiswrapper

> iwconfig

wlan0 IEEE 802.11g ESSID:off/any Nickname:"mcc_laptop"
Mode:Managed Frequency:2.412 GHz Access Point: Not-Associated
Bit Rate=54 Mb/s Tx-Power:20 dBm Sensitivity=0/3
RTS thr=2346 B Fragment thr=2400 B
Encryption key:off
Power Management:off
Link Quality:0 Signal level:0 Noise level:0
Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0
Tx excessive retries:0 Invalid misc:0 Missed beacon:0


> ifconfig

lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)

wlan0 Link encap:Ethernet HWaddr 00:1B:2F:72:EA:D4
inet6 addr: fe80::21b:2fff:fe72:ead4/64 Scope:Link
UP BROADCAST MULTICAST MTU:1500 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:0 (0.0 b) TX bytes:0 (0.0 b)


> iwlist wlan0 scanning

wlan0 Scan completed :
Cell 01 - Address: 00:03:6F:93:2D:0F
ESSID:"Alice-45228222"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.462 GHz (Channel 11)
Quality:37/100 Signal level:-72 dBm Noise level:-96 dBm
Encryption key:on
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:bcn_int=100
Extra:atim=0
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Cell 02 - Address: 00:0C:F6:27:8D:A8
ESSID:"mccmlfnet"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality:39/100 Signal level:-71 dBm Noise level:-96 dBm
Encryption key:on
Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 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:bcn_int=100
Extra:atim=0
IE: WPA Version 1
Group Cipher : TKIP
Pairwise Ciphers (1) : TKIP
Authentication Suites (1) : PSK
Cell 03 - Address: 00:03:6F:92:0B:79
ESSID:"Alice-67571246"
Protocol:IEEE 802.11g
Mode:Managed
Frequency:2.412 GHz (Channel 1)
Quality:37/100 Signal level:-72 dBm Noise level:-96 dBm
Encryption key:on
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:bcn_int=100
Extra:atim=0


> tail -n 30 /etc/wpa_supplicant.conf

# See /usr/doc/wpa_supplicant-0.5.7/wpa_supplicant.conf.sample
# for many more options that you can use in this file.

# This line enables the use of wpa_cli which is used by rc.wireless
# if possible (to check for successful association)
ctrl_interface=/var/run/wpa_supplicant
# By default, only root (group 0) may use wpa_cli
ctrl_interface_group=0
eapol_version=1
ap_scan=1
fast_reauth=1

# WPA protected network, supply your own ESSID and WPAPSK here:
network={
scan_ssid=0
ssid="mccmlfnet"
proto=WPA
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk=*******
}

> wpa_supplicant -i wlan0 -c /etc/wpa_supplicant.conf -w -D ndiswrapper -dd

Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'ndiswrapper' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='0' (DEPRECATED)
eapol_version=1
ap_scan=1
fast_reauth=1
Line: 14 - start of a new network block
scan_ssid=0 (0x0)
ssid - hexdump_ascii(len=9):
6d 63 63 6d 6c 66 6e 65 74 mccmlfnet
proto: 0x1
key_mgmt: 0x2
pairwise: 0x18
group: 0x1e
PSK - hexdump(len=32): [REMOVED]
Priority group 0
id=0 ssid='mccmlfnet'
Initializing interface (2) 'wlan0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=22 WE(source)=18 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:1b:2f:72:ea:d4
Driver does not support WPA.
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
Setting scan request: 0 sec 100000 usec
Using existing control interface directory.
ctrl_interface_group=0
ctrl_iface bind(PF_UNIX) failed: Address already in use
ctrl_iface exists, but does not allow connections - assuming it was leftover from forced program termination
Successfully replaced leftover ctrl_iface socket '/var/run/wpa_supplicant/wlan0'
Added interface wlan0
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
Wireless event: cmd=0x8b06 len=8
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Trying to get current scan results first without requesting a new scan to speed up initial association
Received 523 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 0
0: 00:0c:f6:27:8d:a8 ssid='mccmlfnet' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
selected based on WPA IE
Trying to associate with 00:0c:f6:27:8d:a8 (SSID='mccmlfnet' freq=2412 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
Association request to the driver failed
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:0c:f6:27:8d:a8 into blacklist
State: ASSOCIATING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING

Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 523 bytes of scan results (2 BSSes)
Scan results: 2
Selecting BSS from priority group 0
0: 00:0c:f6:27:8d:a8 ssid='mccmlfnet' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
selected based on WPA IE
Trying to associate with 00:0c:f6:27:8d:a8 (SSID='mccmlfnet' freq=2412 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
Association request to the driver failed
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Authentication with 00:00:00:00:00:00 timed out.
BSSID 00:0c:f6:27:8d:a8 blacklist count incremented to 2
State: ASSOCIATING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 788 bytes of scan results (3 BSSes)
Scan results: 3
Selecting BSS from priority group 0
0: 00:0c:f6:27:8d:a8 ssid='mccmlfnet' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - blacklisted
1: 00:03:6f:93:2d:0f ssid='Alice-45228222' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
2: 00:03:6f:92:0b:79 ssid='Alice-67571246' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
No APs found - clear blacklist and try again
Removed BSSID 00:0c:f6:27:8d:a8 from blacklist (clear)
Selecting BSS from priority group 0
0: 00:0c:f6:27:8d:a8 ssid='mccmlfnet' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
selected based on WPA IE
Trying to associate with 00:0c:f6:27:8d:a8 (SSID='mccmlfnet' freq=2412 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
Association request to the driver failed
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:0c:f6:27:8d:a8 into blacklist
State: ASSOCIATING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 788 bytes of scan results (3 BSSes)
Scan results: 3
Selecting BSS from priority group 0
0: 00:0c:f6:27:8d:a8 ssid='mccmlfnet' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
selected based on WPA IE
Trying to associate with 00:0c:f6:27:8d:a8 (SSID='mccmlfnet' freq=2412 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
Association request to the driver failed
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Authentication with 00:00:00:00:00:00 timed out.
BSSID 00:0c:f6:27:8d:a8 blacklist count incremented to 2
State: ASSOCIATING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING

Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 788 bytes of scan results (3 BSSes)
Scan results: 3
Selecting BSS from priority group 0
0: 00:0c:f6:27:8d:a8 ssid='mccmlfnet' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - blacklisted
1: 00:03:6f:93:2d:0f ssid='Alice-45228222' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
2: 00:03:6f:92:0b:79 ssid='Alice-67571246' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
skip - SSID mismatch

.... LOOP ....

.... NO CONNECTION ....

Dopo queste linee entra in loop su Slackware 12, mentre su Slackware 11 è già connesso ed uso quindi direttamente dhcpd.

Come potete vedere iwlist trova l'AP, ma al momento di connettersi... si disconnette ed entra in loop (e connette e poi si disconnette...).

Qualcuno può aiutarmi?

marchigno77

Avatar utente
slucky
Iper Master
Iper Master
Messaggi: 2419
Iscritto il: mar 1 mag 2007, 15:30
Slackware: 14.2
Desktop: xfce4

Messaggio da slucky »

Hai provato a connetterti senza chiave prima, giusto per vedere se funziona senza errori, magari c'è qualche errore di configurazione nella rete, e poi rifai la procedura per il wpa.

Ciao

marchigno77
Linux 0.x
Linux 0.x
Messaggi: 12
Iscritto il: sab 12 nov 2005, 21:53

Messaggio da marchigno77 »

Ho provato a fare come dici tu.

Ho formattato e rifatto una installazione Slack12.
Prima di incominciare a giocare con la wifi ho collegato il pc al modem-router con un cavo cross-link normale.
Come puoi intuire dal fatto che ti sto rispondendo, tutto è filato liscio e navigo tranquillamente.

Ora riprovo a giocare con la chiave usb.

Passi che intraprenderò:

1) non toccherò il kernel (quindi rimarrà quello della installazione standard)
2) scarico ultimi sorgenti ndiswrapper, compilo ed installo
3) installo i drvier windows della chiave usb con ndiswrapper
4) wpa è già installato, devo solo configurarlo per la mia rete
5) non toccherò nessun altro file di configurazione
6) riprovo a collegarmi
7) ti faccio sapere come va a finire.

Ciao.

marchigno77
Linux 0.x
Linux 0.x
Messaggi: 12
Iscritto il: sab 12 nov 2005, 21:53

Messaggio da marchigno77 »

Nulla da fare... posto i messaggi di debug di wpa_supplicant:


Initializing interface 'wlan0' conf '/etc/wpa_supplicant.conf' driver 'ndiswrapper' ctrl_interface 'N/A' bridge 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
ctrl_interface='/var/run/wpa_supplicant'
ctrl_interface_group='0' (DEPRECATED)
eapol_version=1
ap_scan=1
fast_reauth=1
Line: 14 - start of a new network block
scan_ssid=0 (0x0)
ssid - hexdump_ascii(len=9):
6d 63 63 6d 6c 66 6e 65 74 mccmlfnet
proto: 0x1
key_mgmt: 0x2
pairwise: 0x18
group: 0x1e
PSK - hexdump(len=32): [REMOVED]
Priority group 0
id=0 ssid='mccmlfnet'
Initializing interface (2) 'wlan0'
EAPOL: SUPP_PAE entering state DISCONNECTED
EAPOL: KEY_RX entering state NO_KEY_RECEIVE
EAPOL: SUPP_BE entering state INITIALIZE
EAP: EAP entering state DISABLED
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
SIOCGIWRANGE: WE(compiled)=22 WE(source)=18 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf
WEXT: Operstate: linkmode=1, operstate=5
Own MAC address: 00:1b:2f:72:ea:d4
Driver does not support WPA.
wpa_driver_wext_set_key: alg=0 key_idx=0 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=1 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=2 set_tx=0 seq_len=0 key_len=0
wpa_driver_wext_set_key: alg=0 key_idx=3 set_tx=0 seq_len=0 key_len=0
Setting scan request: 0 sec 100000 usec
ctrl_interface_group=0
Added interface wlan0
RTM_NEWLINK: operstate=0 ifi_flags=0x1002 ()
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
RTM_NEWLINK: operstate=0 ifi_flags=0x1003 ([UP])
RTM_NEWLINK, IFLA_IFNAME: Interface 'wlan0' added
State: DISCONNECTED -> SCANNING

Starting AP scan (broadcast SSID)
Trying to get current scan results first without requesting a new scan to speed up initial association
Received 258 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0

1111111111111111111111111111111111111111111111111111111111111111111
0: 00:0c:f6:27:8d:a8 ssid='mccmlfnet' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
selected based on WPA IE
Trying to associate with 00:0c:f6:27:8d:a8 (SSID='mccmlfnet' freq=2412 MHz)
1111111111111111111111111111111111111111111111111111111111111111111

Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5

22222222222222222222222222222222222222222222222222222222
Association request to the driver failed
22222222222222222222222222222222222222222222222222222222

Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:0c:f6:27:8d:a8 into blacklist

State: ASSOCIATING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING

333333333333333333333333333333333333333333333333333333333333

Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 258 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:0c:f6:27:8d:a8 ssid='mccmlfnet' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
selected based on WPA IE
Trying to associate with 00:0c:f6:27:8d:a8 (SSID='mccmlfnet' freq=2412 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
Association request to the driver failed
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Authentication with 00:00:00:00:00:00 timed out.
BSSID 00:0c:f6:27:8d:a8 blacklist count incremented to 2
State: ASSOCIATING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 258 bytes of scan results (1 BSSes)
Scan results: 1
Selecting BSS from priority group 0
0: 00:0c:f6:27:8d:a8 ssid='mccmlfnet' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - blacklisted
No APs found - clear blacklist and try again
Removed BSSID 00:0c:f6:27:8d:a8 from blacklist (clear)
Selecting BSS from priority group 0
0: 00:0c:f6:27:8d:a8 ssid='mccmlfnet' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
selected based on WPA IE
Trying to associate with 00:0c:f6:27:8d:a8 (SSID='mccmlfnet' freq=2412 MHz)
Cancelling scan request
WPA: clearing own WPA/RSN IE
Automatic auth_alg selection: 0x1
WPA: using IEEE 802.11i/D3.0
WPA: Selected cipher suites: group 8 pairwise 8 key_mgmt 2 proto 1
WPA: set AP WPA IE - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
WPA: clearing AP RSN IE
WPA: using GTK TKIP
WPA: using PTK TKIP
WPA: using KEY_MGMT WPA-PSK
WPA: Set own WPA IE default - hexdump(len=24): dd 16 00 50 f2 01 01 00 00 50 f2 02 01 00 00 50 f2 02 01 00 00 50 f2 02
No keys have been configured - skip key clearing
State: SCANNING -> ASSOCIATING
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
Association request to the driver failed
Setting authentication timeout: 5 sec 0 usec
EAPOL: External notification - EAP success=0
EAPOL: External notification - EAP fail=0
EAPOL: External notification - portControl=Auto
Authentication with 00:00:00:00:00:00 timed out.
Added BSSID 00:0c:f6:27:8d:a8 into blacklist
State: ASSOCIATING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Setting scan request: 0 sec 0 usec
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
CTRL-EVENT-TERMINATING - signal 2 received
Removing interface wlan0
State: SCANNING -> DISCONNECTED
wpa_driver_wext_set_operstate: operstate 0->0 (DORMANT)
WEXT: Operstate: linkmode=-1, operstate=5
No keys have been configured - skip key clearing
EAPOL: External notification - portEnabled=0
EAPOL: External notification - portValid=0
Failed to disable WPA in the driver.
No keys have been configured - skip key clearing
Removed BSSID 00:0c:f6:27:8d:a8 from blacklist (clear)
Cancelling scan request
Cancelling authentication timeout
WEXT: Operstate: linkmode=0, operstate=6
....


come puoi vedere dalla sezione evidenziata con 1111111111 la scheda funziona,
infatti ha potuto fare una scansione delle reti wifi presenti ed ha riconosciuto la mia,
ma non riesce ad associare (sezione 22222222222)...

non ho idea di quale sia il problema.

Alla configurazione base di wpa_supplicant.conf ho solo identificato la mia ssid ed ho inserito la mia pass generata da wpa_passphrase.

Hai qualche idea?

albatrosla
Packager
Packager
Messaggi: 1339
Iscritto il: sab 27 mar 2004, 0:00
Slackware: current
Desktop: fluxbox.git
Località: Collegno, but made in Friûl
Contatta:

Messaggio da albatrosla »

Sto litigando anche io con lo stesso dongle. Un tempo riuscivo a farlo funzionare con ndiswrapper, ora non più e non me ne dò spiegazione. Spulciando in rete ho visto che le ultime release del kernel 2.6 includono il modulo per il chip rtl8187, che dovrebbe essere quello utilizzato dal dongle in questione. Ci sono infatti due versioni di wg111v2, una monta il chip prism54, l'altra l'rtl8187. La differenza pare essere riconoscibile dall'id; di fatto il "nostro" id (0846:6a00) identifica la seconda famiglia di chip. Provando a far funzionare nativamente il dongle, riesco a "tirar su" l'interfaccia, mi ritrovo con la mia bella wlan0, cui posso assegnare l'ip e quindi fare il routing. Tuttavia, non riesco in nessun modo ad associarmi all'ap, nemmeno disabilitando il crypt di qualsiasi genere (wep o wpa che sia). La cosa è molto strana perchè con iwlist riesco a vedere la rete senza problemi. E' proprio un problema di associazione all'ap.
Nel mentre, hai risolto con ndis?
Comunque sia, mi piacerebbe veder funzionare il device nativamente, come Dio comanda.

Avatar utente
conraid
Staff
Staff
Messaggi: 13630
Iscritto il: gio 14 lug 2005, 0:00
Nome Cognome: Corrado Franco
Slackware: current64
Desktop: kde
Località: Livorno
Contatta:

Messaggio da conraid »

Non so il kernel standard della Slackware se ha l'impostazione attivata, l'huge della Slackware ce l'ha come modulo.
Ma il driver della realtek 8187 dovrebbe proprio essere per quel dongle

Dal manuale del kernel
This is a driver for RTL8187 based cards.
These are USB based chips found in cards such as:

Netgear WG111v2

Thanks to Realtek for their support
UPDATE:
Ops, ho visto che avete già postato la cosa magari mentre scrivevo :-)

Avatar utente
anycolouryoulike
Packager
Packager
Messaggi: 1158
Iscritto il: ven 10 ago 2007, 0:00
Slackware: 12.2
Kernel: 2.6.34.8
Desktop: KDE 3.5.10

Messaggio da anycolouryoulike »

Anche io ho il WG111v2 e sono riuscito a farlo andare sia con ndiswrapper sia con il driver nativo, che con gli ultimi kernel è diventato abbastanza stabile.
conraid ha scritto:Non so il kernel standard della Slackware se ha l'impostazione attivata, l'huge della Slackware ce l'ha come modulo.
Attenzione, Slackware current non 12...
Con ndiswrapper comunque bisogna usare i driver per 98 altrimenti non funziona. Ma senza cifrare la rete riesci a connetterti?
Il mio consiglio è di usare il driver nativo...

@albatrosla: riesci a prendere l'IP e non riesci a connetterti? :shock:

albatrosla
Packager
Packager
Messaggi: 1339
Iscritto il: sab 27 mar 2004, 0:00
Slackware: current
Desktop: fluxbox.git
Località: Collegno, but made in Friûl
Contatta:

Messaggio da albatrosla »

Non "prendo" l'ip: non uso il dhcp, imposto l'ip in modo statico.
Io non ho fatto altro che compilare il modulo rtl8187 nel kernel. Ora, collegando il dongle, il kernel lo rileva e gli assegna il device fittizio wlan0, che immagino sia un alias visto che listando i NIC c'è anche l'omologo wmaster0-00. Comunque, come dicevo, vedo la cella cui connettermi (con iwlist, che dà anche la qualità del segnale). Attivo l'interfaccia assegnando con iwconfig l'essid, il mode Managed ed il canale, dopodichè assegno ip e subnet mask con ifconfig e faccio il routing al gateway. Cose che funzionano perfettamente con la lan, e che anche in questo caso sembrano fare il loro dovere. Tuttavia, dando un iwconfig wlan0, l'ap risulta sempre e comunque non associato ed è di fatto impossibile ogni tipo di collegamento (il comando dà anche qualità del segnale nulla).

P.S. Io uso un kernel 2.6.22.5: tu che kernel usi? Non vorrei che nelle ultime release il driver rtl fosse migliorato al punto da funzionare. Purtroppo la macchina è vecchiotta e tendo ad evitare le compilazioni (ci vuole un paio di ore per un kernel).
Ultima modifica di albatrosla il ven 28 dic 2007, 13:54, modificato 1 volta in totale.

Avatar utente
conraid
Staff
Staff
Messaggi: 13630
Iscritto il: gio 14 lug 2005, 0:00
Nome Cognome: Corrado Franco
Slackware: current64
Desktop: kde
Località: Livorno
Contatta:

Messaggio da conraid »

anycolouryoulike ha scritto:
conraid ha scritto:Non so il kernel standard della Slackware se ha l'impostazione attivata, l'huge della Slackware ce l'ha come modulo.
Attenzione, Slackware current non 12...
Si current, mi sono scordato di specificarlo

Avatar utente
anycolouryoulike
Packager
Packager
Messaggi: 1158
Iscritto il: ven 10 ago 2007, 0:00
Slackware: 12.2
Kernel: 2.6.34.8
Desktop: KDE 3.5.10

Messaggio da anycolouryoulike »

Nel computer dove ho il dongle ho lo stesso tuo kernel! :lol:
Io però uso DHCP, non so se c'entra qualcosa...
Per connettermi uso uno script di questo tipo richiamato da rc.local:

Codice: Seleziona tutto

iwconfig wlan0 mode Managed
iwconfig wlan0 essid <ssid>
ifconfig wlan0 up
dhcpcd wlan0
Non è che manca qualcosa nel kernel?

albatrosla
Packager
Packager
Messaggi: 1339
Iscritto il: sab 27 mar 2004, 0:00
Slackware: current
Desktop: fluxbox.git
Località: Collegno, but made in Friûl
Contatta:

Messaggio da albatrosla »

Mah, non vedo che cosa possa mancare: il modulo viene inserito correttamente. C'è una cosa strana, a dire il vero; quando faccio un lsmod, il modulo rtl8187 risulta inutilizzato, mentre l'usbcore, tra i moduli che associa, elenca anche l'rtl8187. Non so se nel tuo lsmod la situazione sia analoga. Inoltre, io attacco il dongle ad un bus usb1.1 (la macchina è quella che è) e uso ohci e l'uhci, rimuovendo il modulo ehci che so non essere compatibile col mio controller usb.

Avatar utente
anycolouryoulike
Packager
Packager
Messaggi: 1158
Iscritto il: ven 10 ago 2007, 0:00
Slackware: 12.2
Kernel: 2.6.34.8
Desktop: KDE 3.5.10

Messaggio da anycolouryoulike »

Magari manca qualche supporto per il wireless in Networking, tipo Generic IEEE 802.11 Networking Stack o qualcos'altro del genere...
Appena posso comunque posto l'lsmod.

albatrosla
Packager
Packager
Messaggi: 1339
Iscritto il: sab 27 mar 2004, 0:00
Slackware: current
Desktop: fluxbox.git
Località: Collegno, but made in Friûl
Contatta:

Messaggio da albatrosla »

Dunque, ho risolto il problema grazie al consiglio di anycolouryoulike.
In pratica, ho compilato il supporto per ieee802.11 come modulare, quindi lui di default non lo carica. In pratica, ho inserito quel modulo, ho rifatto tutta la pappardella di comandi ifconfig e iwconfig ed ora l'interfaccia si associa all'ap e comunica. La connessione è di fatto funzionante. La cosa che mi preme fare è impostare una connessione protetta.

@anycolouryoulike: tu usi wpa? Il wep so che è piuttosto scadente, anche se a dire il vero potrei attivare il controllo del mac address sul router, il quale taglia la testa al toro...

Avatar utente
ekxius
Linux 3.x
Linux 3.x
Messaggi: 831
Iscritto il: sab 18 mar 2006, 11:01
Slackware: 12.0
Kernel: 2.6.23.12
Desktop: KDE 3.5.9
Località: Casa <-> Torino <-> Aosta

Messaggio da ekxius »

anycolouryoulike ha scritto:Anche io ho il WG111v2 e sono riuscito a farlo andare ... con il driver nativo, ...
in questi giorni stavo proprio cercando un dongle compatibile. un negoziante mi ha giusto proposto questo dongle assicurandomi la sua compatibilità con linux, ma avevo letto nel forum che tu stesso ne lamentavi problemi di funzionamento.

cosa mi dite in proposito? vi funziona il wpa?

ho bisogno di un dongle usb compatibile nativamente con il kernel linux e che supporti la crittografia wpa e che funzion (come ha detto qualcuno qui) come Dio comanda :D. ce ne sono altri migliori che potete consigliarmi?

grazie a tutti.

ekxius

albatrosla
Packager
Packager
Messaggi: 1339
Iscritto il: sab 27 mar 2004, 0:00
Slackware: current
Desktop: fluxbox.git
Località: Collegno, but made in Friûl
Contatta:

Messaggio da albatrosla »

Io posseggo quel dongle perchè me l'hanno dato in bundle con il router netgear. Ora che sono riuscito a farlo funzionare, farò dei test anche per la connessione criptata. Ad oggi ho provato il wep, che è funzionante. Ho un altro dongle, un asus wl-167g, che con i driver serial monkey funziona molto bene (wep o wpa-psk). Prima di procedere all'acquisto, comunque, ti consiglio di sincerarti di quale chip sia montato: spesso vengono cambiati dal produttore e non sempre viene cambiata la denominazione del prodotto e questo può davvero portare a brutte sorprese.

Riporto il link del thread che segue le mie diatribe col dongle Asus, caso mai dovessi optare per quella soluzione:
viewtopic.php?t=20989&start=0&postdays= ... rialmonkey

Rispondi