0
0

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 5 years have passed since last update.

CUIからWIFI接続を行う方法

Posted at

目的

Raspberry Pi Zeroにcomを繋げて色々作業を行っていたが、sshでファイルのやりとりを行いたくなってきた。
無線LANが備わっているので、家のWiFiルーターに接続させたいがGUIではなくCUIでのやり方が分からなかったので調べたことを残す

やり方

設定ファイルを作成する

wpa_supplicant と呼ばれるIEEE 802.11iのサプリカントのソフトウェアを用いて接続を行う。
設定ファイルは/etc/wpa_supplicant/mywifi.conf に作成する。

wpa_passphrase SSID password > /etc/wpa_supplicant/mywifi.conf

接続する

作成した設定ファイルをwpa_supplicantコマンドを使って自宅wifiに繋げる

dhclient wlan0 
0
0
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
0

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?