Sono stato finalmente in grado di connettere il mio Raspberry Pi a una rete SSID nascosta (WPA2 Personal) usando le impostazioni seguenti (non usando wpa_supplicant.conf).
Tuttavia, dopo alcune ore si disconnette e non si riconnette.
- Raspberry Pi B +, con NOOBS in esecuzione.
- Scheda WiFi USB (chipset Ralink RT5370)
- Connesso a un SSID nascosto (non sono sicuro che l'SSID nascosto abbia qualcosa a che fare con questo problema, potrebbe essere un'aringa rossa)
Ecco il registro:
Feb 6 14:36:01 raspberrypi wpa_supplicant[1641]: wlan0: CTRL-EVENT-DISCONNECTED bssid=90:72:40:1c:ed:c8 reason=4
Feb 6 14:36:01 raspberrypi kernel: [33883.785257] cfg80211: Calling CRDA to update world regulatory domain
Feb 6 14:36:01 raspberrypi ifplugd(wlan0)[1634]: Link beat lost.
Feb 6 14:36:11 raspberrypi ifplugd(wlan0)[1634]: Executing '/etc/ifplugd/ifplugd.action wlan0 down'.
Feb 6 14:36:11 raspberrypi dhclient: Internet Systems Consortium DHCP Client 4.2.2
Feb 6 14:36:11 raspberrypi ifplugd(wlan0)[1634]: client: Internet Systems Consortium DHCP Client 4.2.2
Feb 6 14:36:11 raspberrypi dhclient: Copyright 2004-2011 Internet Systems Consortium.
Feb 6 14:36:11 raspberrypi ifplugd(wlan0)[1634]: client: Copyright 2004-2011 Internet Systems Consortium.
Feb 6 14:36:11 raspberrypi dhclient: All rights reserved.
Feb 6 14:36:11 raspberrypi ifplugd(wlan0)[1634]: client: All rights reserved.
Feb 6 14:36:11 raspberrypi dhclient: For info, please visit https://www.isc.org/software/dhcp/
Feb 6 14:36:11 raspberrypi ifplugd(wlan0)[1634]: client: For info, please visit https://www.isc.org/software/dhcp/
Feb 6 14:36:11 raspberrypi dhclient:
Feb 6 14:36:11 raspberrypi dhclient: Listening on LPF/wlan0/00:0f:60:01:de:14
Feb 6 14:36:11 raspberrypi ifplugd(wlan0)[1634]: client: Listening on LPF/wlan0/00:0f:60:01:de:14
Feb 6 14:36:11 raspberrypi dhclient: Sending on LPF/wlan0/00:0f:60:01:de:14
Feb 6 14:36:11 raspberrypi ifplugd(wlan0)[1634]: client: Sending on LPF/wlan0/00:0f:60:01:de:14
Feb 6 14:36:11 raspberrypi dhclient: Sending on Socket/fallback
Feb 6 14:36:11 raspberrypi ifplugd(wlan0)[1634]: client: Sending on Socket/fallback
Feb 6 14:36:11 raspberrypi dhclient: DHCPRELEASE on wlan0 to 192.168.128.254 port 67
Feb 6 14:36:11 raspberrypi ifplugd(wlan0)[1634]: client: DHCPRELEASE on wlan0 to 192.168.128.254 port 67
Feb 6 14:36:12 raspberrypi wpa_supplicant[1641]: wlan0: CTRL-EVENT-TERMINATING - signal 15 received
Feb 6 14:36:12 raspberrypi ifplugd(wlan0)[1634]: Program executed successfully.
Feb 6 14:36:14 raspberrypi ntpd[2157]: Deleting interface #2 wlan0, 192.168.128.122#123, interface stats: received=389, sent=396, dropped=0, active_time=33841 secs
Feb 6 14:36:14 raspberrypi ntpd[2157]: 192.96.207.244 interface 192.168.128.122 -> (none)
Feb 6 14:36:14 raspberrypi ntpd[2157]: 178.18.16.124 interface 192.168.128.122 -> (none)
Feb 6 14:36:14 raspberrypi ntpd[2157]: 204.2.134.164 interface 192.168.128.122 -> (none)
Feb 6 14:36:14 raspberrypi ntpd[2157]: 216.152.240.220 interface 192.168.128.122 -> (none)
Feb 6 14:36:14 raspberrypi ntpd[2157]: peers refreshed
Ecco le / etc / network / interfaces
auto lo
iface lo inet loopback
iface eth0 inet dhcp
auto wlan0
allow-hotplug wlan0
iface wlan0 inet dhcp
wpa-scan-ssid 1
wpa-ap-scan 1
wpa-key-mgmt WPA-PSK
wpa-proto RSN WPA
wpa-pairwise CCMP TKIP
wpa-group CCMP TKIP
wpa-ssid "Na*****"
wpa-psk *********************************************************
sudo iwconfig wlan0
mostraPower Mgmt: On
? In tal caso, è necessario disabilitarlo persudo iwconfig wlan0 power off
risolvere il problema