SSブログ
Raspberry PI ブログトップ

Raspberry PIサーバ アクセス不能 (3) [Raspberry PI]

前回の続き.

/etc/wpa_supplicant/wpa_supplicant.conf に暗号化したパスフレーズを記載してみたもののWRONG_KEYで再接続に失敗する症状は変わりませんでした.

Nov 16 16:12:44 raspberrypi dhcpcd[684]: wlan0: carrier lost Nov 16 16:12:52 raspberrypi wpa_supplicant[517]: wlan0: WPA: Failed to set GTK to the driver (alg=3 keylen=16 keyidx=1) Nov 16 16:13:02 raspberrypi wpa_supplicant[517]: wlan0: CTRL-EVENT-DISCONNECTED bssid=00:3a:9d:68:c7:3f reason=1 locally_generated=1 Nov 16 16:13:25 raspberrypi systemd-udevd[32055]: timeout '/sbin/crda' Nov 16 16:13:35 raspberrypi systemd-udevd[32055]: timeout: killing '/sbin/crda' [32059] Nov 16 16:13:41 raspberrypi systemd-udevd[32055]: '/sbin/crda' [32059] terminated by signal 9 (Killed) Nov 16 16:14:10 raspberrypi systemd-udevd[32055]: timeout '/sbin/crda' Nov 16 16:14:16 raspberrypi systemd-udevd[32055]: timeout: killing '/sbin/crda' [32077] Nov 16 16:14:23 raspberrypi systemd-udevd[32055]: '/sbin/crda' [32077] terminated by signal 9 (Killed) Nov 16 16:14:48 raspberrypi systemd-udevd[32055]: timeout '/sbin/crda' Nov 16 16:15:08 raspberrypi systemd-udevd[32055]: timeout: killing '/sbin/crda' [32095] Nov 16 16:15:17 raspberrypi systemd-udevd[32055]: '/sbin/crda' [32095] terminated by signal 9 (Killed) Nov 16 16:15:17 raspberrypi wpa_supplicant[517]: wlan0: Trying to associate with 00:3a:9d:68:c7:3f (SSID='WARPSTAR-893A5B' freq=2412 MHz) Nov 16 16:15:40 raspberrypi systemd-udevd[32055]: timeout '/sbin/crda' Nov 16 16:15:53 raspberrypi systemd-udevd[32055]: timeout: killing '/sbin/crda' [32097] Nov 16 16:16:02 raspberrypi systemd-udevd[32055]: '/sbin/crda' [32097] terminated by signal 9 (Killed) Nov 16 16:16:16 raspberrypi systemd-udevd[32055]: timeout '/sbin/crda' Nov 16 16:16:33 raspberrypi systemd-udevd[32055]: timeout: killing '/sbin/crda' [32099] Nov 16 16:16:41 raspberrypi systemd-udevd[32055]: '/sbin/crda' [32099] terminated by signal 9 (Killed) Nov 16 16:16:41 raspberrypi wpa_supplicant[517]: wlan0: Associated with 00:3a:9d:68:c7:3f Nov 16 16:16:42 raspberrypi wpa_supplicant[517]: wlan0: WPA: Could not verify EAPOL-Key MIC - dropping packet Nov 16 16:16:51 raspberrypi wpa_supplicant[517]: wlan0: CTRL-EVENT-DISCONNECTED bssid=00:3a:9d:68:c7:3f reason=0 locally_generated=1 Nov 16 16:17:11 raspberrypi systemd-udevd[32055]: timeout '/sbin/crda' Nov 16 16:17:17 raspberrypi systemd-udevd[32055]: timeout: killing '/sbin/crda' [32106] Nov 16 16:17:17 raspberrypi systemd-udevd[32055]: '/sbin/crda' [32106] terminated by signal 9 (Killed) Nov 16 16:17:43 raspberrypi systemd-udevd[32055]: timeout '/sbin/crda' Nov 16 16:18:03 raspberrypi systemd-udevd[32055]: timeout: killing '/sbin/crda' [32110] Nov 16 16:18:05 raspberrypi systemd-udevd[32055]: '/sbin/crda' [32110] terminated by signal 9 (Killed) Nov 16 16:18:29 raspberrypi systemd-udevd[32055]: timeout '/sbin/crda' Nov 16 16:18:45 raspberrypi systemd-udevd[32055]: timeout: killing '/sbin/crda' [32119] Nov 16 16:19:00 raspberrypi systemd-udevd[32055]: '/sbin/crda' [32119] terminated by signal 9 (Killed) Nov 16 16:19:04 raspberrypi wpa_supplicant[517]: wlan0: Trying to associate with 00:3a:9d:68:c7:3f (SSID='WARPSTAR-893A5B' freq=2412 MHz) Nov 16 16:19:14 raspberrypi systemd-udevd[32055]: timeout '/sbin/crda' Nov 16 16:19:17 raspberrypi systemd-udevd[32055]: timeout: killing '/sbin/crda' [32124] Nov 16 16:19:27 raspberrypi systemd-udevd[32055]: '/sbin/crda' [32124] terminated by signal 9 (Killed) Nov 16 16:19:50 raspberrypi systemd-udevd[32055]: timeout '/sbin/crda' Nov 16 16:19:58 raspberrypi systemd-udevd[32055]: timeout: killing '/sbin/crda' [32128] Nov 16 16:20:02 raspberrypi systemd-udevd[32055]: '/sbin/crda' [32128] terminated by signal 9 (Killed) Nov 16 16:20:32 raspberrypi systemd-udevd[32055]: timeout '/sbin/crda' Nov 16 16:20:41 raspberrypi systemd-udevd[32055]: timeout: killing '/sbin/crda' [32129] Nov 16 16:20:48 raspberrypi systemd-udevd[32055]: '/sbin/crda' [32129] terminated by signal 9 (Killed) Nov 16 16:20:48 raspberrypi wpa_supplicant[517]: wlan0: Associated with 00:3a:9d:68:c7:3f Nov 16 16:21:19 raspberrypi wpa_supplicant[517]: wlan0: CTRL-EVENT-DISCONNECTED bssid=00:3a:9d:68:c7:3f reason=0 locally_generated=1 Nov 16 16:21:21 raspberrypi wpa_supplicant[517]: wlan0: WPA: 4-Way Handshake failed - pre-shared key may be incorrect Nov 16 16:21:23 raspberrypi wpa_supplicant[517]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="WARPSTAR-893A5B" auth_failures=1 duration=10 reason=WRONG_KEY Nov 16 16:22:34 raspberrypi wpa_supplicant[517]: wlan0: CTRL-EVENT-SSID-REENABLED id=0 ssid="WARPSTAR-893A5B"

ところで気づいたのですが,16:10頃にcarrier lostになることが多いようです.16時には別の高負荷のcron jobを流しています.ネットワークが高負荷になるときに問題が発生するのか.謎.
タグ:raspberrypi
にほんブログ村 自転車ブログ ブルベへ
にほんブログ村

Raspberry PIサーバ アクセス不能 (2) [Raspberry PI]

前回の続き.

調べているがよく分からない.

そこで,方向を変えて,↓こっちのメッセージを疑ってみることにする.つまり「WLANでときどきCarrier Lostするのはそういうもので,そのときに再接続できないのが問題」だと.

Nov 12 02:14:50 raspberrypi wpa_supplicant[516]: wlan0: CTRL-EVENT-SSID-TEMP-DISABLED id=0 ssid="XXXX" auth_failures=1 duration=10 reason=WRONG_KEY


/etc/wpa_supplicant/wpa_supplicant.confには正しいSSIDとpassphraseが平文で記載されていたので,wpa_passphraseコマンドでencryptしたパスフレーズを記載するようにしてみた.

ここが問題だとすると,boot時には接続できることが説明できない気がするけど,とりあえずこれで様子をみる.
タグ:raspberrypi
にほんブログ村 自転車ブログ ブルベへ
にほんブログ村

Raspberry PIサーバ アクセス不能 [Raspberry PI]

終夜稼働させているRaspberry PIサーバが時々アクセスできなくなります.LEDは通常通り点滅しているので生きてはいそうなのですが,外部からsloginすることができず,pingにも反応しません.

仕方なく電源Off/Onで再起動して,/var/log/daemon.logを確認したところ,以下のようなlogが残っていました.前回同様の症状がでたときにも同様のlogが残っていたのでこれが関係しているのは間違いなさそうです.

Nov 8 16:12:13 raspberrypi wpa_supplicant[508]: wlan0: WPA: Failed to set GTK to the driver (alg=3 keylen=16 keyidx=1) Nov 8 16:12:24 raspberrypi wpa_supplicant[508]: wlan0: CTRL-EVENT-DISCONNECTED bssid=00:3a:9d:68:c7:3f reason=1 locally_generated=1 Nov 8 16:12:51 raspberrypi systemd-udevd[16348]: timeout '/sbin/crda' Nov 8 16:12:59 raspberrypi systemd-udevd[16348]: timeout: killing '/sbin/crda' [16349] Nov 8 16:12:59 raspberrypi systemd-udevd[16348]: '/sbin/crda' [16349] terminated by signal 9 (Killed) Nov 8 16:13:05 raspberrypi dhcpcd[681]: wlan0: carrier lost Nov 8 16:13:39 raspberrypi systemd-udevd[16348]: timeout '/sbin/crda' Nov 8 16:13:39 raspberrypi systemd-udevd[16348]: timeout: killing '/sbin/crda' [16351] Nov 8 16:13:39 raspberrypi systemd-udevd[16348]: '/sbin/crda' [16351] terminated by signal 9 (Killed)
なんだろう?
タグ:raspberrypi
にほんブログ村 自転車ブログ ブルベへ
にほんブログ村

ImageWriter [Raspberry PI]

Raspberry PIのSDカードのバックアップにImageWriterを使っているが,ReadとWriterの向きがいつも分からなくなるのでメモ.

  • Read : SDカードからImageファイル
  • Write : ImageファイルからSDカード

にほんブログ村 自転車ブログ ブルベへ
にほんブログ村
Raspberry PI ブログトップ

この広告は前回の更新から一定期間経過したブログに表示されています。更新すると自動で解除されます。