ehm..
questo è quello che mi dice quando faccio partire il wpa_supplicant:
Codice: Seleziona tutto
root@localhost:~# wpa_supplicant -iwlan0 -Dwext -c/etc/wpa_supplicant.conf -B
Line 22: Invalid PSK '**mia chiave di rete**'.
Line 22: failed to parse psk '**mia chiave di rete**'.
Line 24: WPA-PSK accepted for key management, but no PSK configured.
Line 24: failed to parse network block.
Failed to read or parse configuration '/etc/wpa_supplicant.conf'.
root@localhost:~# dhcpcd
err, no interface specified
root@localhost:~# dhcpcd --help
usage: dhcpcd [-adknpEGHMNRSTY] [-c script] [-h hostname] [-i classID]
[-l leasetime] [-m metric] [-r ipaddress] [-s ipaddress]
[-t timeout] [-u userclass] [-F none | ptr | both]
[-I clientID] <interface>
root@localhost:~# dhcpcd -d
err, no interface specified
info, exiting
questo quando invoco il dhcp:
Codice: Seleziona tutto
root@localhost:~# dhcpcd -d wlan0
info, wlan0: dhcpcd 3.2.3 starting
info, wlan0: hardware address = 00:25:d3:09:39:b0
info, wlan0: DUID = 00:01:00:01:14:98:87:f3:00:26:18:00:32:70
info, wlan0: broadcasting for a lease
debug, wlan0: sending DHCP_DISCOVER with xid 0x474fbfff
debug, wlan0: waiting for 20 seconds
debug, wlan0: sending DHCP_DISCOVER with xid 0x474fbfff
debug, wlan0: sending DHCP_DISCOVER with xid 0x474fbfff
debug, wlan0: sending DHCP_DISCOVER with xid 0x474fbfff
debug, wlan0: sending DHCP_DISCOVER with xid 0x474fbfff
debug, wlan0: sending DHCP_DISCOVER with xid 0x474fbfff
debug, wlan0: sending DHCP_DISCOVER with xid 0x474fbfff
err, wlan0: timed out
info, wlan0: trying to use old lease in `/etc/dhcpc/dhcpcd-wlan0.info'
debug, wlan0: sending ARP probe #1
debug, wlan0: sending ARP probe #2
debug, wlan0: sending ARP probe #3
debug, wlan0: sending ARP claim #1
debug, wlan0: sending ARP claim #2
warn, wlan0: using IPV4LL address 169.254.140.15
info, wlan0: adding IP address 169.254.140.15/16
debug, wlan0: no dns information to write
debug, wlan0: Looking up hostname via DNS
err, wlan0: Failed to lookup hostname via DNS: Temporary failure in name resolution
debug, wlan0: forking to background
info, wlan0: exiting
e.. per sicurezza posto anche il mio wla_supplicant, dato che non ne sono molto convinto..
Codice: Seleziona tutto
# See /usr/doc/wpa_supplicant-0.6.9/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
#country=US
# WPA protected network, supply your own ESSID and WPAPSK here:
network={
scan_ssid=1
ssid="Leon Wireless" <----la mia rete
proto=WPA RSN
key_mgmt=WPA-PSK
pairwise=CCMP TKIP
group=CCMP TKIP WEP104 WEP40
psk=**mia chiave di rete**
priority=10
}
# Plaintext connection (no WPA, no IEEE 802.1X),
# nice for hotel/airport types of WiFi network.
network={
key_mgmt=NONE
priority=0
}
poi pensavo.. può entrarci qualcosa il fatto che la mia rete, da come si vede nelle config, è composta da due parole staccate (Leon Wireless), ora, quando io vado a dare
può entrarci qualcosa il fatto che metto il nome della rete tra virgolette onde evitare errori del tipo "wireless non è un comando valido"? (me l'ha dato)