2022-01-01から1年間の記事一覧

Setting up a Raspberry Pi 3 as a access point and a router

1. Set Up WiFi Access Point Install Packages $ sudo apt-get install hostapd dnsmasq hostapd turns wlan0 into an access point, and Dnsmasq plays an role of DHCP and DNS. Set Static IP Address First, set dhcp invalid in wlan0 $ sudo vi /etc/…

Connecting PC(Ubuntu 18.10) to RaspberryPi3(Raspbian stretch) via ethernet cable , setting static IP addresses

PC(Ubuntu18.10) と RaspberryPi3を有線LANでつなぐ APIPA does not automatically assign IP adresses in Ubuntu, so I tried to set static IP adresses. 1. PC側 イーサネットデバイスを確認 $ ip addr 1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN gr</loopback,up,lower_up>…