内容へ移動
tosihisa's public notebook
ユーザ用ツール
ログイン
サイト用ツール
検索
ツール
文書の表示
以前のリビジョン
バックリンク
最近の変更
メディアマネージャー
サイトマップ
ログイン
>
最近の変更
メディアマネージャー
サイトマップ
現在位置:
start
»
Raspberry Pi 記録ノート
»
Raspberry Pi 3 B+ を簡易ルーターにする(編集中)
トレース:
raspberrypi:log20190220_simple_router
この文書は読取専用です。文書のソースを閲覧することは可能ですが、変更はできません。もし変更したい場合は管理者に連絡してください。
====== Raspberry Pi 3 B+ を簡易ルーターにする(編集中) ====== ===== 無線LANアクセスポイントの構築 ===== <code> sudo apt-get install hostapd dnsmasq </code> ===== 内蔵無線LANを固定化 ===== <file text /etc/dhcpcd.conf> ... #最終行に denyinterfaces wlan0 </file> <file text /etc/network/interfaces.d/wlan0-static.conf> iface wlan0 inet static address 192.168.70.1 netmask 255.255.255.0 network 192.168.70.0 broadcast 192.168.70.255 </file> いったん再起動 <code> zcat /usr/share/doc/hostapd/examples/hostapd.conf.gz > ~/hostapd.conf </code> <code> sudo cp ~/hostapd.conf /etc/hostapd/hostapd.conf </code> <code> sudo vi /etc/default/hostapd DAEMON_CONF="/etc/hostapd/hostapd.conf" </code> sudo systemctl restart hostapd <file text /lib/dhcpcd/dhcpcd-hooks/90-dnsmasq> if $if_up; then if [ $interface = "wlan0" ]; then systemctl restart dnsmasq fi fi </file>
raspberrypi/log20190220_simple_router.txt
· 最終更新: 2019-02-11 22:15 by
tosihisa@netfort.gr.jp
ページ用ツール
文書の表示
以前のリビジョン
バックリンク
文書の先頭へ