Нарешті я зміг підключити свій Raspberry Pi до прихованої мережі SSID (WPA2 Personal) за допомогою наведених нижче параметрів (не використовуючи wpa_supplicant.conf).
Однак через кілька годин він відключається і не підключається знову.
- Raspberry Pi B +, працює з NOOBS.
- WiFi-карта, що працює на USB (чіпсет Ralink RT5370)
- Підключено до прихованого SSID (я не впевнений, що прихований SSID має щось спільне з цією проблемою, це може бути червона оселедець)
Ось журнал:
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
Ось інтерфейси / etc / network /
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
чи це відображаєтьсяPower Mgmt: On
? Якщо так, то вам потрібно вимкнути це,sudo iwconfig wlan0 power off
що повинно вирішити вашу проблему