Debian 12 初期設定
をテンプレートにして作成
[
トップ
] [
新規
|
一覧
|
検索
|
最終更新
|
ヘルプ
|
ログイン
]
開始行:
[[OS関連]]
目次~
#contents
*概要 [#x6719a06]
Raspberry Pi OS(bookworm)の設定Tips。~
**モデル [#wcdec10a]
-/proc/device-tree/model
Raspberry Pi 3 Model B Rev 1.2
**バージョン [#j81b83bc]
-/etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
*設定 [#a15b4ab2]
**固定IPの設定 [#pfbf55ca]
設定ファイルに固定アドレスを指定する。
-/etc/network/interfaces
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.10.40
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.10.255
gateway 192.168.10.254
dns-nameservers 192.168.10.1 192.168.10.2
**IPv6の無効化 [#c1cfdde2]
以下を実行して設定を書き込む
echo "net.ipv6.conf.all.disable_ipv6 = 1" >> /etc/sysctl...
**nslookupを使用する [#te5a3817]
標準の構成ではnslookupが使用できないため、パッケージを追...
apt-get install dnsutils
終了行:
[[OS関連]]
目次~
#contents
*概要 [#x6719a06]
Raspberry Pi OS(bookworm)の設定Tips。~
**モデル [#wcdec10a]
-/proc/device-tree/model
Raspberry Pi 3 Model B Rev 1.2
**バージョン [#j81b83bc]
-/etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"
*設定 [#a15b4ab2]
**固定IPの設定 [#pfbf55ca]
設定ファイルに固定アドレスを指定する。
-/etc/network/interfaces
# The primary network interface
allow-hotplug eth0
iface eth0 inet static
address 192.168.10.40
network 192.168.1.0
netmask 255.255.255.0
broadcast 192.168.10.255
gateway 192.168.10.254
dns-nameservers 192.168.10.1 192.168.10.2
**IPv6の無効化 [#c1cfdde2]
以下を実行して設定を書き込む
echo "net.ipv6.conf.all.disable_ipv6 = 1" >> /etc/sysctl...
**nslookupを使用する [#te5a3817]
標準の構成ではnslookupが使用できないため、パッケージを追...
apt-get install dnsutils
ページ名: