마침내 Raspberry Pi를 wpa_supplicant.conf를 사용하지 않고 아래 설정을 사용하여 숨겨진 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
문제를 해결하기 위해 비활성화 해야합니다