最終的に、以下の設定を使用して(wpa_supplicant.confを使用せずに)Raspberry Piを非表示のSSIDネットワーク(WPA2 Personal)に接続することができました。
ただし、数時間後に切断され、再接続されません。
- NOOBSを実行しているRaspberry Pi B +。
- USB電源WiFiカード(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 / 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
はそれが示すの出力を共有できますPower Mgmt: On
か?そうならば、あなたはそれを無効にする必要がありsudo iwconfig wlan0 power off
、あなたの問題を解決すべき