In this example, a simple web server is created using Nginx with Buildroot. Nginx process is being starts automatically (check output/target/etc/init.d/S50nginx file). Our webpage content is under webserver_nginx/webpage folder. This folder is being copied under /usr/html/ folder where nginx uses for web server during post build. Once Nginx is started, the server becomes accessible via the device's IP address.
- Simply open a web browser with the device's IP address.
- You can stop and start nginx manually:
killall nginx
nginx
Once the board is powered up and connected to the network, you can use SSH to log in remotely:
ssh root@192.168.222.222
password: root
- Raspberry Pi Zero W
- Raspberry Pi 3B+