1
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.

Raspberry Pi4を購入したが、Mirco HDMIケーブルが手元になくて困った話

1
Last updated at Posted at 2021-07-03

経緯

  • 「ラズベリーパイを購入した方は、この商品も購入しています。」
    に騙されてMini HDMIとセットで購入し、無事死亡した話

目的

  • 個人的なメモ書きです。
  • 黒猫を待たずに、モニターなしで初期設定を完了したい。

想定している読者

  • Raspberry Piをモニターなしでセットアップしたい人
  • モニターケーブル(Mini HDMI)を誤って購入し、配送を待てない割に買い物に行かない人
    (必ず、Micro HDMIを購入してください)

RaspberryPi 初期設定

1. MicroSDカードにOSを書き込む

Raspberry Pi Imagerをインストールする
・OSとインストール先のMicroSDカードを指定します。
・"WRITE"をクリックする

2. 起動前にsshを有効化する

・MicroSDカードのルートディレクトリを開きます
・テキストファイルを作成します
・名前をsshに変更します
(拡張子の.txtは削除してください)

3. 起動前にWLAN接続を完了する

・MicroSDカードのルートディレクトリを開きます
・テキストファイルを作成します
・名前をwpa_supplicant.confに変更します
・下記を参考に、テキストエディタで中身を編集します

wpa_supplicant.conf
ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev
update_config=1
country=JP

network={
    ssid="SSID"
    psk="Password"
}

※SSIDとPasswordは、自身の環境に合わせて変更してください

4. RaspBerryPiを起動する

・SDカードを挿入し、電源コードを接続します

5. sshで接続する

・コマンドプロンプトを起動します。
以下のコマンドを入力し、エンターキーを押下します

ssh pi@raspberrypi.local

パスワードを要求されるためraspberryと入力しエンターキーを押下します

2021/07/03 追記予定になります。

1
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
1
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?