Notebook
これは日々の作業を通して学んだことや毎日の生活で気づいたことをを記録しておく備忘録である。
HTML ファイル生成日時: 2025/02/19 17:13:34.229 (台灣標準時)
計算機の起動時に WPA で Wi-Fi に接続する方法
WPA を使って Wi-Fi に接続するための方法は、「WPA を使って Wi-Fi に接続
する方法」に記録してあるでござる。ところが、起動時に
wpa_supplicant が実行されていない、ということがわかったでござる。以前
にも、この問題があったような気がしたでござる。 /etc/rc.conf で
critical_filesystems というような設定をしていたような憶えがあったので、
/etc/defaults/rc.conf を見てみたところ、以下のような記述があったでござ
る。
# Filesystems to mount early in boot-up.
# Note that `/var' is needed in $critical_filesystems_local (or
# implied as part of `/') as certain services that need /var (such as
# dhcpcd) may be needed to get the network operational enough to mount
# the $critical_filesystems_remote. Prepending "OPTIONAL:" means it
# will not be an error if that file system is not present in fstab(5).
#
critical_filesystems_local="OPTIONAL:/var"
critical_filesystems_remote="OPTIONAL:/usr"
critical_filesystems_zfs=""
critical_filesystems_local というパラメーターの値を変更してあげればよ
いようでござる。 wpa_supplicant コマンドは /usr 以下にあるでござる。
# where wpa_supplicant
/usr/sbin/wpa_supplicant
/etc/rc.conf に以下の記述を追加するでござる。
critical_filesystems_local="OPTIONAL:/var OPTIONAL:/usr"
再起動してみると、起動時に wpa_supplicant が実行されるようになり、
Wi-Fi にも起動時に接続されるようになったでござる。
参考文献
- About this article:
- author: daisuke
- file: 20250105_00.html
- category: Computer___NetBSD
- title: 計算機の起動時に WPA で Wi-Fi に接続する方法
- mode: public
- last modified: 2025/01/05 11:43:53 (UT+8)
- html generated: 2025/02/19 17:13:34.229 (Taiwan Standard Time)
Frequently accessed files
- Computer___Python/20220518_0.html
- 12189 page views
- title: Matplotlib で作る図の縦横比
- Computer___Network/20230726_00.html
- 6379 page views
- title: git の SSL certificate problem の解決方法
- Misc___Taiwan/20240207_00.html
- 4789 page views
- title: 台灣から台灣の外に EMS で荷物を発送する方法
- Computer___Network/20230516_00.html
- 4097 page views
- title: OpenVPN 2.6 を使い VPN Gate に接続するときの注意点
- Computer___FreeBSD/20220621_0.html
- 3141 page views
- title: FreeBSD での X.org の設定の仕方
- Computer___Python/20220715_0.html
- 2417 page views
- title: SciPy による最小二乗法
- Computer___Network/20230508_00.html
- 2407 page views
- title: git push するときにパスワードの入力を省略する方法
- Computer___Network/20240130_00.html
- 2296 page views
- title: Google Colaboratory で Python 3.12 を使う方法
- Food___Taiwan/20220429_0.html
- 2072 page views
- title: 「楊滇風」の滇味辣炒豬
- Computer___NetBSD/20230119_00.html
- 1854 page views
- title: NetBSD でバイナリーパッケージを利用する方法
- Computer___Network/20240416_00.html
- 1833 page views
- title: git push としたときの error: RPC failed
- Computer___Python/20220410_0.html
- 1789 page views
- title: Pint モジュールを使った単位を含む数値の取り扱い
- Computer___NetBSD/20220817_3.html
- 1772 page views
- title: JupyterLab のインストール直後に行うべきこと
- Computer___Python/20221013_0.html
- 1762 page views
- title: Matplotlib での作図において順番を決めて点や線を描画する方法
- Computer___TeX/20231107_00.html
- 1748 page views
- title: LaTeX での counter の利用方法について
- Computer___Debian/20210223_1.html
- 1671 page views
- title: Debian で autofs を使い自動で NFS マウントする方法
- Computer___Python/20210124_0.html
- 1611 page views
- title: Python での argparse を使ったコマンドライン引数の取り扱い方法
- Computer___NetBSD/20220818_1.html
- 1595 page views
- title: Emacs の markdown-mode について
- Computer___Python/20240101_00.html
- 1594 page views
- title: Matplotlib の 3D plot においての注意点
- Computer___NetBSD/20220428_0.html
- 1590 page views
- title: Beamer で verbatim 環境を使う方法
- Computer___NetBSD/20240101_02.html
- 1558 page views
- title: ffmpeg を使って動画に音声を追加する方法
- Computer___Network/20220413_1.html
- 1514 page views
- title: HTML 文書の中の一部の文字を点滅させる方法
- Misc___Japan/20240610_00.html
- 1476 page views
- title: NHK ラジオの「聞き逃し」の変更点 (2024 年 06 月)
- Science___Math/20220420_0.html
- 1452 page views
- title: ラプラシアンの三次元極座標表示
- Computer___TeX/20230503_00.html
- 1400 page views
- title: LaTeX CJK で日本語や中国語を取り扱うための準備について
- Computer___TeX/20230726_01.html
- 1379 page views
- title: Beamer の Metropolis テーマで block の色を変える方法
- Computer___NetBSD/20220808_0.html
- 1368 page views
- title: 端末エミュレーターで使うフォントを指定する方法
- Science___Astronomy/20220503_0.html
- 1365 page views
- title: Lane-Emden 方程式を数値的に解く
- Computer___NetBSD/20230515_00.html
- 1352 page views
- title: pkgsrc の fetch phase で問題
- Computer___NetBSD/20210127_0.html
- 1311 page views
- title: NetBSD 上で Apache により HTTPS サーバを立ち上げる方法
HTML file generated by Kinoshita Daisuke.