Create install media:
# dd if=install*.img of=/dev/rsd6c bs=1M
/etc/doas.confを編集します。
# cp /etc/examples/doas.conf /etc/
/etc/pf.confを編集します。
# cp /etc/examples/pf.conf /etc/
プリンタの設定
$ pkg_add cups
$ pkg_add hplip
$ rcctl enable cupsd
$ rcctl start cupsd
Mount a FAT 32 file system
$ doas mount_msdos -u masayoshi -g wheel /dev/sd1i /mnt/data
キーボードのビープ音を消す。
$ doas cp /etc/exmaple/wsconsctl.conf /etc/
キーボードのビープ音を消すために、/etc/wsconsctl.confを編集します。
keyboard.bell.volume=0 # mute keyboard beep
温度を計測するために、次のパッケージをインストールします。
$ doas pkg_add smartmontools
次のコマンドを実行
$ doas smartctl --scan
このような結果が得られました。
/dev/sd0c -d nvme # /dev/sd0c, NVMe device /dev/sd1c -d scsi # /dev/sd1c, SCSI device /dev/sd2c -d scsi # /dev/sd2c, SCSI device /dev/sd3c -d scsi # /dev/sd3c, SCSI device
温度を計測する。
$ doas smartctl -a /dev/sd0c -d nvme | grep -i temperature
温度はこのように表示されました。
Temperature: 41 Celsius
Warning Comp. Temperature Time: 0
Critical Comp. Temperature Time: 0
X270でふたを閉じてもサスペンドにならないようにする。
$ doas sysctl machdep.lidaction=0
再起動後も設定を永続化する。/etc/sysctl.confに以下の行を追加する。
machdep.lidaction=0