Vi ringrazio per la risposta.
Ho seguito i vostri consigli ma purtroppo continuo ad avere problemi.
Provando con
e
mi trovo questo risultato:
Codice: Seleziona tutto
eth1 unassociated ESSID:"TLabel" Nickname:"hydra"
Mode:Managed Channel=0 Access Point: 00:00:00:00:00:00
Bit Rate=0 kb/s Tx-Power=20 dBm
Retry limit:7 RTS thr:off Fragment thr:off
Encryption key:xxxx-xxxx-xxxx-xxxx-xxxx-xxxx-xx Security mode:open
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:24 Missed beacon:0
Ma non riesco ad ottenere un indirizzo IP su eth1. Il problema sembra che non riesca a trovare il mac address dell'AP.
Ho provato ad installare
wpa_supplicant seguendo il tutorial di Alessio Grillo scaricato da slacky.
Una volta installato e configurato seguendo le istruzioni, eseguo il codice suggerito dalla guida:
Codice: Seleziona tutto
wpa_supplicant -d -c /etc/wpa_supplicant.conf -ieth1
Ma ricevo questo messaggio:
Codice: Seleziona tutto
Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Line 1: Invalid configuration line 'ctrl_interface=/var/run/wpa_supplicant'.
Line 2: Invalid configuration line 'ctrl_interface_group=wheel'.
Line 8: invalid key_mgmt '*'
Line 8: no key_mgmt values configured.
Line 8: failed to parse key_mgmt '*'.
Line 12: failed to parse network block.
Failed to read read or parse configuration '/etc/wpa_supplicant.conf'.
Failed to add interface eth1
Cancelling scan request
Commento allora le prime due linee che mi danno il problema e rilancio nuovamente lo script, ma ricevo questo errore:
Codice: Seleziona tutto
Initializing interface 'eth1' conf '/etc/wpa_supplicant.conf' driver 'default' ctrl_interface 'N/A'
Configuration file '/etc/wpa_supplicant.conf' -> '/etc/wpa_supplicant.conf'
Reading configuration file '/etc/wpa_supplicant.conf'
Priority group 0
id=0 ssid='TLabel'
Initializing interface (2) 'eth1'
wpa_driver_ipw_init is called
SIOCGIWRANGE: WE(compiled)=18 WE(source)=18 enc_capa=0xf
capabilities: key_mgmt 0xf enc 0xf
Own MAC address: 00:15:00:1d:f7:88
wpa_driver_ipw_set_wpa: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_key: alg=none key_idx=0 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=1 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=2 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_key: alg=none key_idx=3 set_tx=0 seq_len=0 key_len=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Failed to set encryption.
wpa_driver_ipw_set_countermeasures: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_drop_unencrypted: enabled=1
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
Setting scan request: 0 sec 100000 usec
Added interface eth1
Wireless event: cmd=0x8b06 len=8
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
RTM_NEWLINK, IFLA_IFNAME: Interface 'eth1' added
State: DISCONNECTED -> SCANNING
Starting AP scan (broadcast SSID)
Scan timeout - try to get results
Received 1569 bytes of scan results (6 BSSes)
Scan results: 6
Selecting BSS from priority group 0
0: 00:90:4c:7e:00:10 ssid='<hidden>' wpa_ie_len=26 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
1: 00:14:7c:b8:d0:e8 ssid='RH' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
2: 00:14:a4:77:01:1f ssid='WANADOO-6FA8' wpa_ie_len=24 rsn_ie_len=0 caps=0x11
skip - SSID mismatch
3: 00:11:50:61:a2:39 ssid='TLabel' wpa_ie_len=0 rsn_ie_len=0 caps=0x11
skip - no WPA/RSN IE
4: 00:0f:3d:b9:c5:f8 ssid='G604T_WIRELESS' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - no WPA/RSN IE
5: 00:11:50:a0:df:cc ssid='Belkin54g' wpa_ie_len=0 rsn_ie_len=0 caps=0x1
skip - no WPA/RSN IE
No suitable AP found.
Setting scan request: 5 sec 0 usec
CTRL-EVENT-TERMINATING - signal 2 received
Removing interface eth1
State: SCANNING -> DISCONNECTED
No keys have been configured - skip key clearing
wpa_driver_ipw_set_wpa: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_drop_unencrypted: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
wpa_driver_ipw_set_countermeasures: enabled=0
ioctl[IPW_IOCTL_WPA_SUPPLICANT]: Operation not supported
No keys have been configured - skip key clearing
Cancelling scan request
La chiave del router è WEP 128bit, come dicevo precedentemente non ho problemi a collegarmi da altri pc (winxp) in rete.
Ho anche provato ad installare
wlassistant, mi trova 4 o 5 reti ma non riesco a collegarmi.
Avete altri suggerimenti?
Grazie.