raspberrypi:log20190220_simple_router
文書の過去の版を表示しています。
Raspberry Pi 3 B+ を簡易ルーターにする(編集中)
無線LANアクセスポイントの構築
sudo apt-get install hostapd dnsmasq
内蔵無線LANを固定化
- /etc/dhcpcd.conf
... #最終行に denyinterfaces wlan0
- /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
いったん再起動
zcat /usr/share/doc/hostapd/examples/hostapd.conf.gz > ~/hostapd.conf
sudo cp ~/hostapd.conf /etc/hostapd/hostapd.conf
sudo vi /etc/default/hostapd DAEMON_CONF="/etc/hostapd/hostapd.conf"
sudo systemctl restart hostapd
raspberrypi/log20190220_simple_router.1549813178.txt.gz · 最終更新: 2019-02-10 15:39 by tosihisa@netfort.gr.jp