긴 이야기 짧게
USB Wi-Fi 동글을 사용할 때 Raspberry Pi 3에서 WPA 신청자가 간헐적으로 실패합니다. 호텔의 액세스 포인트를 "재연결"하거나 변경할 때 이렇게 하는 것 같습니다.
WPA GUI 상태: "wpa_gui가 wpa_supplicant에서 상태를 가져오지 못했습니다." 및 무선 연결 아이콘이 연결된 "wave"에서 "무선 인터페이스를 찾을 수 없음" 상태의 두 모니터로 변경됩니다.
무선 카드 연결이 끊어지는 것을 어떻게 막나요?
내가 시도한 구성/사항:
- USB WiFi 동글을 전원이 공급되는 외부 USB 허브(USB 3.0, 4Amp 전원 공급 장치)에 별도로 연결하세요.
/etc/network/interfaces
"무선 전원 끄기"라는 용어를 사용하여 wlan1(동글) 파일의 "전원 관리"를 "끄기"로 전환하고 네트워크 서비스를 다시 시작합니다./etc/default/crda
변수 "REGDOMAIN"을 공백 값에서 "US"로 변경하도록 파일을 수정합니다 .- 액세스 포인트를 가리키는 이득 값이 10dbi인 방향성 평면 패널 안테나를 사용하십시오.
Pi 및 동글에 대한 정보:
- Raspbian Jessie 커널 버전 4.1 실행(2016년 3월 18일 출시)
uname -a
"Linux raspberrypi 4.1.19-v7+"를 의미합니다. #858 SMP Tue Mar 15 15:56:00lsusb
RT5730 무선 칩셋을 나타냅니다. 이 카드는 Raspbian에서 기본적으로 지원되어야 합니다.- 동글은 현재 2dbi 이득 무지향성 안테나와 함께 제공됩니다.
이 문제에 대한 추가 정보:
- 무선 카드는 여러 액세스 포인트와 다른 많은 사용자가 있는 호텔 WiFi 네트워크에 연결됩니다.
- 내 주변에는 최소 18개의 서로 다른 액세스 포인트가 있고 가장 강한 방송은 약 -47db입니다. 신호 강도는 문제가 아닌 것 같지만 간섭이 발생할 수 있습니다.
- 이 문제는 장치가 동일한 네트워크(동일한 ESS의 다른 AP)에 있는 다른 액세스 포인트로 재인증하거나 (아마도) 변경될 때 발생하는 것으로 보입니다.
- 문제가 발생한 후에도 ifconfig에는 여전히 wlan1(문제 카드)이 표시되지만 IP 주소가 할당되지 않았습니다.
- 문제가 발생한 후에도 iwconfig는 여전히 wlan1을 표시하고 액세스 포인트에 연결되지 않았다고 말합니다.
- 이 문제는 USB Wi-Fi 동글을 파이 또는 USB 허브에 다시 연결하면 일시적으로 해결될 수 있습니다.
- 파이는 개인적인 사용을 위한 액세스 포인트로 내부 카드를 실행하고 있습니다.
- wlan1(동글)의 트래픽은 NAT를 통과한 후 wlan0(AP)에 브리지됩니다.
- Raspberry Pi의 AP 네트워크 카드는 802.11g 모드에서 약 -27dbi로 브로드캐스트합니다(2.4GHz로 가정).
- pi는 Epiphany 브라우저를 통해 호텔 네트워크의 종속 포털 인증을 처리합니다.
- 허브와 USB WiFi 동글은 파이에서 약 1피트 떨어져 있습니다.
- 연결은 30초 동안 유지될 때도 있고, 4시간 동안 유지될 때도 있습니다. 큰 차이.
연결이 끊어졌을 때 시스템 로그(죄송합니다. 내용이 좀 깁니다. Markdown에는 숨기기/숨기기 해제 기능이 없습니다.)
Apr 28 02:35:58 raspberrypi wpa_supplicant[4587]: wlan1: SME: Trying to authenticate with 24:c9:a1:36:d7:e8 (SSID='Hyatt' freq=2412 MHz)
Apr 28 02:35:58 raspberrypi rsyslogd-2007: action 'action 18' suspended, next retry is Thu Apr 28 02:36:58 2016 [try http://www.rsyslog.com/e/2007 ]
Apr 28 02:35:58 raspberrypi kernel: [ 3397.175336] wlan1: authenticate with 24:c9:a1:36:d7:e8
Apr 28 02:35:58 raspberrypi dhcpcd[658]: wlan1: carrier lost
Apr 28 02:35:58 raspberrypi wpa_supplicant[4587]: wlan1: Trying to associate with 24:c9:a1:36:d7:e8 (SSID='Hyatt' freq=2412 MHz)
Apr 28 02:35:58 raspberrypi kernel: [ 3397.197559] wlan1: send auth to 24:c9:a1:36:d7:e8 (try 1/3)
Apr 28 02:35:58 raspberrypi kernel: [ 3397.198411] cfg80211: Calling CRDA to update world regulatory domain
Apr 28 02:35:58 raspberrypi kernel: [ 3397.200688] wlan1: authenticated
Apr 28 02:35:58 raspberrypi kernel: [ 3397.204852] wlan1: associate with 24:c9:a1:36:d7:e8 (try 1/3)
Apr 28 02:35:58 raspberrypi kernel: [ 3397.208157] wlan1: RX AssocResp from 24:c9:a1:36:d7:e8 (capab=0x421 status=0 aid=3)
Apr 28 02:35:58 raspberrypi kernel: [ 3397.212839] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
Apr 28 02:35:58 raspberrypi kernel: [ 3397.212863] cfg80211: World regulatory domain updated:
Apr 28 02:35:58 raspberrypi kernel: [ 3397.212869] cfg80211: DFS Master region: unset
Apr 28 02:35:58 raspberrypi kernel: [ 3397.212874] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Apr 28 02:35:58 raspberrypi kernel: [ 3397.212882] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Apr 28 02:35:58 raspberrypi kernel: [ 3397.212889] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Apr 28 02:35:58 raspberrypi kernel: [ 3397.212895] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
Apr 28 02:35:58 raspberrypi kernel: [ 3397.212903] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
Apr 28 02:35:58 raspberrypi kernel: [ 3397.212911] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
Apr 28 02:35:58 raspberrypi kernel: [ 3397.212918] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
Apr 28 02:35:58 raspberrypi kernel: [ 3397.212924] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Apr 28 02:35:58 raspberrypi kernel: [ 3397.212931] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
Apr 28 02:35:58 raspberrypi kernel: [ 3397.213813] cfg80211: Calling CRDA for country: GB
Apr 28 02:35:58 raspberrypi wpa_supplicant[4587]: wlan1: CTRL-EVENT-REGDOM-CHANGE init=CORE type=WORLD
Apr 28 02:35:58 raspberrypi wpa_supplicant[4587]: wlan1: Associated with 24:c9:a1:36:d7:e8
Apr 28 02:35:58 raspberrypi wpa_supplicant[4587]: wlan1: CTRL-EVENT-CONNECTED - Connection to 24:c9:a1:36:d7:e8 completed [id=5 id_str=]
Apr 28 02:35:58 raspberrypi kernel: [ 3397.214789] wlan1: associated
Apr 28 02:35:58 raspberrypi wpa_supplicant[4587]: wlan1: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=GB
Apr 28 02:35:58 raspberrypi kernel: [ 3397.227388] cfg80211: Regulatory domain changed to country: GB
Apr 28 02:35:58 raspberrypi kernel: [ 3397.227406] cfg80211: DFS Master region: ETSI
Apr 28 02:35:58 raspberrypi kernel: [ 3397.227412] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Apr 28 02:35:58 raspberrypi kernel: [ 3397.227420] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Apr 28 02:35:58 raspberrypi kernel: [ 3397.227428] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
Apr 28 02:35:58 raspberrypi kernel: [ 3397.227435] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
Apr 28 02:35:58 raspberrypi kernel: [ 3397.227442] cfg80211: (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s)
Apr 28 02:35:58 raspberrypi kernel: [ 3397.227448] cfg80211: (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
Apr 28 02:35:58 raspberrypi dhcpcd[658]: wlan1: deleting address fe80::53dd:8f07:3be8:9d0a
Apr 28 02:35:58 raspberrypi dnsmasq[2376]: no servers found in /var/run/dnsmasq/resolv.conf, will retry
Apr 28 02:35:58 raspberrypi avahi-daemon[638]: Withdrawing address record for fe80::53dd:8f07:3be8:9d0a on wlan1.
Apr 28 02:35:58 raspberrypi avahi-daemon[638]: Leaving mDNS multicast group on interface wlan1.IPv6 with address fe80::53dd:8f07:3be8:9d0a.
Apr 28 02:35:58 raspberrypi avahi-daemon[638]: Interface wlan1.IPv6 no longer relevant for mDNS.
Apr 28 02:35:58 raspberrypi avahi-daemon[638]: Withdrawing address record for 172.17.187.9 on wlan1.
Apr 28 02:35:58 raspberrypi avahi-daemon[638]: Leaving mDNS multicast group on interface wlan1.IPv4 with address 172.17.187.9.
Apr 28 02:35:58 raspberrypi avahi-daemon[638]: Interface wlan1.IPv4 no longer relevant for mDNS.
Apr 28 02:35:58 raspberrypi dhcpcd[658]: wlan1: deleting route to 172.17.0.0/16
Apr 28 02:35:58 raspberrypi dhcpcd[658]: wlan1: deleting default route via 172.17.1.1
Apr 28 02:35:58 raspberrypi dhcpcd[658]: wlan1: carrier acquired
Apr 28 02:35:58 raspberrypi dhcpcd[658]: wlan1: adding address fe80::53dd:8f07:3be8:9d0a
Apr 28 02:35:58 raspberrypi dhcpcd[658]: wlan1: IAID b0:20:34:21
Apr 28 02:35:58 raspberrypi dhcpcd[658]: wlan1: rebinding lease of 172.17.187.9
Apr 28 02:35:59 raspberrypi dhcpcd[658]: wlan1: soliciting an IPv6 router
Apr 28 02:35:59 raspberrypi ntpd[873]: Deleting interface #11 wlan1, 172.17.187.9#123, interface stats: received=33, sent=33, dropped=0, active_time=234 secs
Apr 28 02:35:59 raspberrypi ntpd[873]: 204.2.134.162 interface 172.17.187.9 -> (none)
Apr 28 02:35:59 raspberrypi ntpd[873]: 198.144.194.12 interface 172.17.187.9 -> (none)
Apr 28 02:35:59 raspberrypi ntpd[873]: 204.9.54.119 interface 172.17.187.9 -> (none)
Apr 28 02:35:59 raspberrypi ntpd[873]: 45.127.113.2 interface 172.17.187.9 -> (none)
Apr 28 02:35:59 raspberrypi ntpd[873]: Deleting interface #10 wlan1, fe80::53dd:8f07:3be8:9d0a#123, interface stats: received=0, sent=0, dropped=0, active_time=240 secs
Apr 28 02:35:59 raspberrypi ntpd[873]: peers refreshed
Apr 28 02:35:59 raspberrypi avahi-daemon[638]: Joining mDNS multicast group on interface wlan1.IPv6 with address fe80::53dd:8f07:3be8:9d0a.
Apr 28 02:35:59 raspberrypi avahi-daemon[638]: New relevant interface wlan1.IPv6 for mDNS.
Apr 28 02:35:59 raspberrypi avahi-daemon[638]: Registering new address record for fe80::53dd:8f07:3be8:9d0a on wlan1.*.
Apr 28 02:35:59 raspberrypi dhcpcd[658]: wlan1: ipv6nd_sendrsprobe: sendmsg: Operation not permitted
Apr 28 02:36:02 raspberrypi dhcpcd[4979]: sending commands to master dhcpcd process
Apr 28 02:36:02 raspberrypi dhcpcd[658]: control command: /sbin/dhcpcd -k wlan1
Apr 28 02:36:02 raspberrypi dhcpcd[658]: wlan1: removing interface
Apr 28 02:36:02 raspberrypi kernel: [ 3401.226725] wlan1: deauthenticating from 24:c9:a1:36:d7:e8 by local choice (Reason: 3=DEAUTH_LEAVING)
Apr 28 02:36:02 raspberrypi wpa_supplicant[4587]: wlan1: CTRL-EVENT-DISCONNECTED bssid=24:c9:a1:36:d7:e8 reason=3 locally_generated=1
Apr 28 02:36:02 raspberrypi avahi-daemon[638]: Interface wlan1.IPv6 no longer relevant for mDNS.
Apr 28 02:36:02 raspberrypi avahi-daemon[638]: Leaving mDNS multicast group on interface wlan1.IPv6 with address fe80::53dd:8f07:3be8:9d0a.
Apr 28 02:36:02 raspberrypi kernel: [ 3401.313626] cfg80211: Calling CRDA to update world regulatory domain
Apr 28 02:36:02 raspberrypi avahi-daemon[638]: Withdrawing address record for fe80::53dd:8f07:3be8:9d0a on wlan1.
Apr 28 02:36:02 raspberrypi kernel: [ 3401.331043] brcmfmac: brcmf_cfg80211_reg_notifier: not a ISO3166 code
Apr 28 02:36:02 raspberrypi kernel: [ 3401.331067] cfg80211: World regulatory domain updated:
Apr 28 02:36:02 raspberrypi kernel: [ 3401.331075] cfg80211: DFS Master region: unset
Apr 28 02:36:02 raspberrypi kernel: [ 3401.331080] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Apr 28 02:36:02 raspberrypi kernel: [ 3401.331087] cfg80211: (2402000 KHz - 2472000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Apr 28 02:36:02 raspberrypi kernel: [ 3401.331094] cfg80211: (2457000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Apr 28 02:36:02 raspberrypi kernel: [ 3401.331100] cfg80211: (2474000 KHz - 2494000 KHz @ 20000 KHz), (N/A, 2000 mBm), (N/A)
Apr 28 02:36:02 raspberrypi kernel: [ 3401.331108] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
Apr 28 02:36:02 raspberrypi kernel: [ 3401.331116] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
Apr 28 02:36:02 raspberrypi kernel: [ 3401.331122] cfg80211: (5490000 KHz - 5730000 KHz @ 160000 KHz), (N/A, 2000 mBm), (0 s)
Apr 28 02:36:02 raspberrypi kernel: [ 3401.331128] cfg80211: (5735000 KHz - 5835000 KHz @ 80000 KHz), (N/A, 2000 mBm), (N/A)
Apr 28 02:36:02 raspberrypi kernel: [ 3401.331136] cfg80211: (57240000 KHz - 63720000 KHz @ 2160000 KHz), (N/A, 0 mBm), (N/A)
Apr 28 02:36:02 raspberrypi kernel: [ 3401.579305] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
Apr 28 02:36:02 raspberrypi kernel: [ 3401.579353] cfg80211: Calling CRDA for country: GB
Apr 28 02:36:02 raspberrypi wpa_supplicant[4587]: wlan1: CTRL-EVENT-REGDOM-CHANGE init=USER type=COUNTRY alpha2=GB
Apr 28 02:36:02 raspberrypi kernel: [ 3401.595533] cfg80211: Regulatory domain changed to country: GB
Apr 28 02:36:02 raspberrypi kernel: [ 3401.595548] cfg80211: DFS Master region: ETSI
Apr 28 02:36:02 raspberrypi kernel: [ 3401.595554] cfg80211: (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp), (dfs_cac_time)
Apr 28 02:36:02 raspberrypi kernel: [ 3401.595562] cfg80211: (2402000 KHz - 2482000 KHz @ 40000 KHz), (N/A, 2000 mBm), (N/A)
Apr 28 02:36:02 raspberrypi kernel: [ 3401.595570] cfg80211: (5170000 KHz - 5250000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (N/A)
Apr 28 02:36:02 raspberrypi kernel: [ 3401.595577] cfg80211: (5250000 KHz - 5330000 KHz @ 80000 KHz, 160000 KHz AUTO), (N/A, 2000 mBm), (0 s)
Apr 28 02:36:02 raspberrypi kernel: [ 3401.595584] cfg80211: (5490000 KHz - 5710000 KHz @ 160000 KHz), (N/A, 2700 mBm), (0 s)
Apr 28 02:36:02 raspberrypi kernel: [ 3401.595590] cfg80211: (57000000 KHz - 66000000 KHz @ 2160000 KHz), (N/A, 4000 mBm), (N/A)
Apr 28 02:36:02 raspberrypi wpa_supplicant[4587]: wlan1: CTRL-EVENT-TERMINATING
Apr 28 02:36:12 raspberrypi dhcpcd[5086]: sending commands to master dhcpcd process
Apr 28 02:36:12 raspberrypi dhcpcd[658]: control command: /sbin/dhcpcd -k eth0
Apr 28 02:36:12 raspberrypi kernel: [ 3411.753638] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
Apr 28 02:36:12 raspberrypi kernel: [ 3411.825436] smsc95xx 1-1.1:1.0 eth0: hardware isn't capable of remote wakeup
Apr 28 02:36:12 raspberrypi kernel: [ 3411.825930] IPv6: ADDRCONF(NETDEV_UP): eth0: link is not ready
Apr 28 02:36:13 raspberrypi kernel: [ 3412.149174] IPv6: ADDRCONF(NETDEV_UP): wlan1: link is not ready
Apr 28 02:39:32 raspberrypi hostapd: wlan0: STA 16:39:db:60:cb:bf WPA: group key handshake completed (RSN)
Apr 28 02:39:32 raspberrypi rsyslogd-2007: action 'action 18' suspended, next retry is Thu Apr 28 02:40:32 2016 [try http://www.rsyslog.com/e/2007 ]
Apr 28 02:39:32 raspberrypi hostapd: wlan0: STA a4:77:33:51:31:9e WPA: group key handshake completed (RSN)
Apr 28 02:49:32 raspberrypi hostapd: wlan0: STA a4:77:33:51:31:9e WPA: group key handshake completed (RSN)
Apr 28 02:49:32 raspberrypi hostapd: wlan0: STA 16:39:db:60:cb:bf WPA: group key handshake completed (RSN)
Apr 28 02:49:32 raspberrypi rsyslogd-2007: action 'action 18' suspended, next retry is Thu Apr 28 02:51:02 2016 [try http://www.rsyslog.com/e/2007 ]
Apr 28 02:59:32 raspberrypi hostapd: wlan0: STA 16:39:db:60:cb:bf WPA: group key handshake completed (RSN)
Apr 28 02:59:32 raspberrypi hostapd: wlan0: STA a4:77:33:51:31:9e WPA: group key handshake completed (RSN)
Apr 28 02:59:32 raspberrypi rsyslogd-2007: action 'action 18' suspended, next retry is Thu Apr 28 03:01:02 2016 [try http://www.rsyslog.com/e/2007 ]
Apr 28 03:08:34 raspberrypi rsyslogd-2007: action 'action 18' suspended, next retry is Thu Apr 28 03:10:04 2016 [try http://www.rsyslog.com/e/2007 ]
Apr 28 03:08:34 raspberrypi systemd[1]: Starting Session c3 of user pi.
Apr 28 03:08:34 raspberrypi systemd[1]: Started Session c3 of user pi.
Apr 28 03:09:32 raspberrypi hostapd: wlan0: STA 16:39:db:60:cb:bf WPA: group key handshake completed (RSN)
Apr 28 03:09:32 raspberrypi hostapd: wlan0: STA a4:77:33:51:31:9e WPA: group key handshake completed (RSN)
Apr 28 03:10:29 raspberrypi rsyslogd-2007: action 'action 18' suspended, next retry is Thu Apr 28 03:11:59 2016 [try http://www.rsyslog.com/e/2007 ]
Apr 28 03:10:29 raspberrypi systemd[1]: Starting Session c4 of user pi.
Apr 28 03:10:29 raspberrypi systemd[1]: Started Session c4 of user pi.
wlan1: deauthenticating ... by local choice (Reason: 3=DEAUTH_LEAVING)
관심이 있습니다(로그 하단 3/4 참조).CTRL-EVENT-TERMINATING
나도 관심이 있어요.WPA 신청자 디버그 로그
AP(8c:0c:90:01:12:88)가 인증 해제를 생성하는 것으로 보입니다.
CTRL_IFACE: GET_NETWORK id=0 name='disabled'
nl80211: Drv Event 20 (NL80211_CMD_DEL_STATION) received for wlan1
nl80211: Delete station 8c:0c:90:01:12:88
nl80211: Drv Event 39 (NL80211_CMD_DEAUTHENTICATE) received for wlan1
nl80211: Deauthenticate event
wlan1: Event DEAUTH (12) received <-----
wlan1: Deauthentication notification <-----
wlan1: * reason 3 (locally generated) <-----
wlan1: * address 8c:0c:90:01:12:88 <-----
Deauthentication frame IE(s) - hexdump(len=0): [NULL]
wlan1: CTRL-EVENT-DISCONNECTED bssid=8c:0c:90:01:12:88 reason=3 locally_generated=1
CTRL_IFACE monitor sent successfully to /tmp/libdhcpcd-wpa-7751.50\x00
CTRL_IFACE monitor sent successfully to /tmp/wpa_ctrl_11606-5471\x00
wlan1: Auto connect enabled: try to reconnect (wps=0/0 wpa_state=9)
wlan1: Setting scan request: 0.100000 sec
Added BSSID 8c:0c:90:01:12:88 into blacklist
wlan1: Another BSS in this ESS has been seen; try it next
BSSID 8c:0c:90:01:12:88 blacklist count incremented to 2
해결책
wlan1 카드를 설치 network-manager
하고 network-manager-gnome
연결했습니다 /etc/network/interfaces
. 카드는 20시간 이상 안정적으로 연결되었지만 라즈베리 파이를 끄면 연결이 끊어졌습니다. WPA Gui는 "wpa_supplicant에서 상태를 가져올 수 없습니다"라고 말하지만 카드는 여전히 작동합니다.
nm-applet
권한 문제가 있는 것 같습니다 . 그런 다음 무선 네트워크에 sudo pkill nm-applet
연결 해야 합니다 . 이러한 오류를 수정해야 합니다.sudo nm-applet
network-manager-gnome
답변1
/etc/modprobe.d/rt2800usb.conf
다음 줄을 사용하여 새 파일을 만듭니다.
options rt2800usb nohwcrypt=1
재시작
또는 기본 드라이버를 블랙리스트에 추가하고 해당 nl80211
드라이버를 사용하여 다음을 통해 연결합니다 wpa_supplicant
.
nano /etc/modprobe.d/blacklist.conf
다음 줄을 추가합니다.
blacklist rt2800usb
blacklist rt2x00lib
blacklist rt2x00usb
명령줄을 통해 연결:
wpa_supplicant -Dnl80211 -iwlan0 -c/etc/wpa_supplicant.conf
GUI가 필요한 경우 WICD를 설치하고 인터페이스를 선택한 다음 환경 설정으로 이동하여nl80211
답변2
해결책
wlan1 카드를 설치 network-manager
하고 제거했습니다 . 카드는 20시간 이상 안정적으로 연결되었으며 Raspberry Pi를 끌 때만 연결이 끊어졌습니다. WPA Gui는 "wpa_supplicant에서 상태를 가져올 수 없습니다"라고 말하지만 카드는 여전히 작동합니다.network-manager-gnome
/etc/network/interfaces
nm-applet
권한 문제가 있는 것 같습니다 . 그런 다음 무선 네트워크에 sudo pkill nm-applet
연결 해야 합니다 . 이러한 오류를 수정해야 합니다.sudo nm-applet
network-manager-gnome