WiFi : Stealth SSID

Post date: 2018/08/08 13:44:44

Raspbian で Stealth SSID への接続がうまくいかない.

  • 症状
    • WiFi manager は表示される SSID へしか接続できない
    • Stealth mode を off にして接続しても,接続中に stealth mode に戻すと接続が切れる.
    • wpa_supplicant へ SSID, pathphrase を直接書き込んでも同様
  • 解決方法
    • /etc/wpa_supplicant/wpa_supplicant.conf に scan_ssid=1 を書き込む
      • $ cat /etc/wpa_supplicant/wpa_supplicant.conf
      • ctrl_interface=DIR=/var/run/wpa_supplicant
      • GROUP=netdev
      • update_config=1
      • country=JP
      • network={
      • ssid="SSID"
      • psk=xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
      • scan_ssid=1
      • }
  • scan_ssid=1 は SSID をブロードキャストしていない場合や,マルチ SSID を使っている場合にのみ利用(遅くなるから)
    • $ zcat /usr/share/doc/wpa_supplicant/examples/wpa_supplicant.conf.gz
    • ...
    • # scan_ssid:
    • # 0 = do not scan this SSID with specific Probe Request frames (default)
    • # 1 = scan with SSID-specific Probe Request frames (this can be used to
    • # find APs that do not accept broadcast SSID or use multiple SSIDs;
    • # this will add latency to scanning, so enable this only when needed)
    • ...

ref: