0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 3 years have passed since last update.

wpa_supplicantのビルド手順(ラズパイ)

Posted at

wpa_supplicantのビルド手順(ラズパイ)

自分用のメモとして作成しました。

  1. ソースコードを落とす
    • [wget https://w1.fi/wpa_supplicant/wpa_supplicant-2.9.tar.gz]
  2. 解凍
    • [tar -zxf wpa_supplicant-2.9.tar.gz]
  3. 移動
    • [cd wpa_supplicant-2.9/wpa_supplicant]
  4. configファイルをコピー※設定値はREADMEファイルで調べること今回はそのまま使用
    • cp defconfig .config
  5. libnがないと言われたら下記をインストール
    • sudo apt-get install libssl-dev libnl-genl-3-dev libreadline-dev libncurses5-dev libdbus-1-dev
  6. make実行
    • make
  7. wpa_supplicantができる(wpa_cli/wpa_passphsdeもできる)

ビルドしたwpa_supplicantの起動方法

  • 起動してるwpa_supplicantをkill
    • sudo killall wpa_supplicant
  • 起動する(DEBUGLog入り)
    • sudo ./wpa_supplicant -B -ddt -f /home/***/supplicant_log/wpasupplicant1.log -c/etc/wpa_supplicant/wpa_supplicant.conf -iwlan0 -Dnl80211,wext
  • ヒント
    • manを見ると停止方法とかが書いてあるみたい
0
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?