ユーザ用ツール

サイト用ツール


raspberrypi:log20190220_simple_router

差分

このページの2つのバージョン間の差分を表示します。

この比較画面にリンクする

両方とも前のリビジョン 前のリビジョン
次のリビジョン
前のリビジョン
最新のリビジョン 両方とも次のリビジョン
raspberrypi:log20190220_simple_router [2019-02-11 00:02]
tosihisa@netfort.gr.jp
raspberrypi:log20190220_simple_router [2019-02-11 00:39]
tosihisa@netfort.gr.jp
行 6: 行 6:
 sudo apt-get install hostapd dnsmasq sudo apt-get install hostapd dnsmasq
 </code> </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
 +
  
raspberrypi/log20190220_simple_router.txt · 最終更新: 2019-02-11 22:15 by tosihisa@netfort.gr.jp