差分
このページの2つのバージョン間の差分を表示します。
| 両方とも前のリビジョン 前のリビジョン 次のリビジョン | 前のリビジョン | ||
| hardware:raspberry_pi:dietpi:dietpi-imager [2022/08/02 08:11] – [DietPi での配布イメージの作成 (DietPi-Imager)] ともやん | hardware:raspberry_pi:dietpi:dietpi-imager [2022/08/03 18:04] (現在) – [DietPi の初回起動処理を手動設定する場合] ともやん | ||
|---|---|---|---|
| 行 1: | 行 1: | ||
| - | ~~NOCACHE~~ | ||
| ====== DietPi での配布イメージの作成 (DietPi-Imager) ====== | ====== DietPi での配布イメージの作成 (DietPi-Imager) ====== | ||
| + | ===== DietPi-Imager の実行 ===== | ||
| <WRAP color_term> | <WRAP color_term> | ||
| <WRAP color_command>< | <WRAP color_command>< | ||
| 行 41: | 行 41: | ||
| <WRAP color_command>< | <WRAP color_command>< | ||
| </ | </ | ||
| - | <WRAP color_result>< | + | <WRAP color_result>< | 
| <b class=BScBLU> | <b class=BScBLU> | ||
| 行 56: | 行 56: | ||
| <div class=BScHGRY>< | <div class=BScHGRY>< | ||
| - | │ <b class="BLK">Please select how the input OS is stored:</ | + | │ <b class=BLK> | 
| │ │ | │ │ | ||
| - | │                                    <b class="BLK">Drive : The OS is stored on an attached drive.</ | + | │                                    <b class=BLK> | 
| │                                    <b class=BScRED>< | │                                    <b class=BScRED>< | ||
| │ │ | │ │ | ||
| │ │ | │ │ | ||
| - | │                                  <b class="BLK">& | + | │                                  <b class=BLK>& | 
| │ │ | │ │ | ||
| └──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘</ | └──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────┘</ | ||
| 行 79: | 行 79: | ||
| </b> | </b> | ||
| </ | </ | ||
| + | </ | ||
| + | |||
| + | ===== 起動用 SD 配布イメージ作成時に削除したい機密情報🤔 ===== | ||
| + | 起動用 SD をセッティングする時残る痕跡を調べる🤤\\ | ||
| + | ※機密情報が含まれる可能性があるものを整理してみます🤔\\ | ||
| + | |||
| + | DietPi 公式起動イメージの初期設定(未起動)\\ | ||
| + | <WRAP mincode>< | ||
| + | # Location: / | ||
| + | # Please modify network settings via: dietpi-config | ||
| + | # Or create your own drop-ins in: / | ||
| + | |||
| + | # Drop-in configs | ||
| + | source interfaces.d/ | ||
| + | |||
| + | # Ethernet | ||
| + | # | ||
| + | iface eth0 inet dhcp | ||
| + | address 192.168.0.100 | ||
| + | netmask 255.255.255.0 | ||
| + | gateway 192.168.0.1 | ||
| + | # | ||
| + | |||
| + | # WiFi | ||
| + | # | ||
| + | iface wlan0 inet dhcp | ||
| + | address 192.168.0.100 | ||
| + | netmask 255.255.255.0 | ||
| + | gateway 192.168.0.1 | ||
| + | # | ||
| + | wireless-power off | ||
| + | wpa-conf / | ||
| + | </ | ||
| + | |||
| + | <WRAP mincode>< | ||
| + | # Grant all members of group " | ||
| + | ctrl_interface=DIR=/ | ||
| + | # Allow wpa_cli/ | ||
| + | update_config=1 | ||
| + | </ | ||
| + | |||
| + | ===== DietPi の初回起動処理を手動設定する場合 ===== | ||
| + | **dietpi-firstboot.service** を有効化する🤤\\ | ||
| + | <WRAP color_term> | ||
| + | <WRAP color_command>< | ||
| + | $ sudo systemctl enable dietpi-firstboot.service | ||
| + | </ | ||
| + | <WRAP color_result>< | ||
| + | Created symlink / | ||
| + | </ | ||
| + | </ | ||
| + | |||
| + | この時、**/ | ||
| + | <wrap em> | ||
| + | <WRAP mincode_long>< | ||
| + | # | ||
| + | # Entry 0 | ||
| + | # - WiFi SSID: required, case sensitive | ||
| + | aWIFI_SSID[0]='' | ||
| + | # - WiFi key: If no key/open, leave this blank | ||
| + | aWIFI_KEY[0]='' | ||
| + | # - Key type: NONE (no key/open) | WPA-PSK | WEP | WPA-EAP (then use settings below) | ||
| + | aWIFI_KEYMGR[0]=' | ||
| + | # - WPA-EAP options: Only fill if WPA-EAP is set above | ||
| + | aWIFI_PROTO[0]='' | ||
| + | aWIFI_PAIRWISE[0]='' | ||
| + | aWIFI_AUTH_ALG[0]='' | ||
| + | aWIFI_EAP[0]='' | ||
| + | aWIFI_IDENTITY[0]='' | ||
| + | aWIFI_PASSWORD[0]='' | ||
| + | aWIFI_PHASE1[0]='' | ||
| + | aWIFI_PHASE2[0]='' | ||
| + | # - Path to the certificate file, e.g.: / | ||
| + | aWIFI_CERT[0]='' | ||
| + | # | ||
| + | # Entry 1 | ||
| + | # - WiFi SSID: required, case sensitive | ||
| + | aWIFI_SSID[1]='' | ||
| + | # - WiFi key: If no key/open, leave this blank | ||
| + | aWIFI_KEY[1]='' | ||
| + | # - Key type: NONE (no key/open) | WPA-PSK | WEP | WPA-EAP (then use settings below) | ||
| + | aWIFI_KEYMGR[1]=' | ||
| + | # - WPA-EAP options: Only fill if WPA-EAP is set above | ||
| + | aWIFI_PROTO[1]='' | ||
| + | aWIFI_PAIRWISE[1]='' | ||
| + | aWIFI_AUTH_ALG[1]='' | ||
| + | aWIFI_EAP[1]='' | ||
| + | aWIFI_IDENTITY[1]='' | ||
| + | aWIFI_PASSWORD[1]='' | ||
| + | aWIFI_PHASE1[1]='' | ||
| + | aWIFI_PHASE2[1]='' | ||
| + | # - Path to the certificate file, e.g.: / | ||
| + | aWIFI_CERT[1]='' | ||
| + | # | ||
| + | # Entry 2 | ||
| + | # - WiFi SSID: required, case sensitive | ||
| + | aWIFI_SSID[2]='' | ||
| + | # - WiFi key: If no key/open, leave this blank | ||
| + | aWIFI_KEY[2]='' | ||
| + | # - Key type: NONE (no key/open) | WPA-PSK | WEP | WPA-EAP (then use settings below) | ||
| + | aWIFI_KEYMGR[2]=' | ||
| + | # - WPA-EAP options: Only fill if WPA-EAP is set above | ||
| + | aWIFI_PROTO[2]='' | ||
| + | aWIFI_PAIRWISE[2]='' | ||
| + | aWIFI_AUTH_ALG[2]='' | ||
| + | aWIFI_EAP[2]='' | ||
| + | aWIFI_IDENTITY[2]='' | ||
| + | aWIFI_PASSWORD[2]='' | ||
| + | aWIFI_PHASE1[2]='' | ||
| + | aWIFI_PHASE2[2]='' | ||
| + | # - Path to the certificate file, e.g.: / | ||
| + | aWIFI_CERT[2]='' | ||
| + | # | ||
| + | # Entry 3 | ||
| + | # - WiFi SSID: required, case sensitive | ||
| + | aWIFI_SSID[3]='' | ||
| + | # - WiFi key: If no key/open, leave this blank | ||
| + | aWIFI_KEY[3]='' | ||
| + | # - Key type: NONE (no key/open) | WPA-PSK | WEP | WPA-EAP (then use settings below) | ||
| + | aWIFI_KEYMGR[3]=' | ||
| + | # - WPA-EAP options: Only fill if WPA-EAP is set above | ||
| + | aWIFI_PROTO[3]='' | ||
| + | aWIFI_PAIRWISE[3]='' | ||
| + | aWIFI_AUTH_ALG[3]='' | ||
| + | aWIFI_EAP[3]='' | ||
| + | aWIFI_IDENTITY[3]='' | ||
| + | aWIFI_PASSWORD[3]='' | ||
| + | aWIFI_PHASE1[3]='' | ||
| + | aWIFI_PHASE2[3]='' | ||
| + | # - Path to the certificate file, e.g.: / | ||
| + | aWIFI_CERT[3]='' | ||
| + | # | ||
| + | # Entry 4 | ||
| + | # - WiFi SSID: required, case sensitive | ||
| + | aWIFI_SSID[4]='' | ||
| + | # - WiFi key: If no key/open, leave this blank | ||
| + | aWIFI_KEY[4]='' | ||
| + | # - Key type: NONE (no key/open) | WPA-PSK | WEP | WPA-EAP (then use settings below) | ||
| + | aWIFI_KEYMGR[4]=' | ||
| + | # - WPA-EAP options: Only fill if WPA-EAP is set above | ||
| + | aWIFI_PROTO[4]='' | ||
| + | aWIFI_PAIRWISE[4]='' | ||
| + | aWIFI_AUTH_ALG[4]='' | ||
| + | aWIFI_EAP[4]='' | ||
| + | aWIFI_IDENTITY[4]='' | ||
| + | aWIFI_PASSWORD[4]='' | ||
| + | aWIFI_PHASE1[4]='' | ||
| + | aWIFI_PHASE2[4]='' | ||
| + | # - Path to the certificate file, e.g.: / | ||
| + | aWIFI_CERT[4]='' | ||
| + | </ | ||
| + | |||
| + | 初回起動の場合は **dietpi-wifi.db** は存在しなくて良い🤔\\ | ||
| + | <WRAP color_term> | ||
| + | <WRAP color_command>< | ||
| + | $ sudo rm / | ||
| + | </ | ||
| </ | </ | ||
