Hello,
I have an unusual case where I would like to connect the Pi to a WiFi network and share the internet connection via ethernet to a PC.
How can I do this? Thanks
Depends on the OS you're running and on which named release of it.
For RPiOS Bookworm and Trixie use Network Manager to create or edit a connection for eth0 and set it to shared.
Also, piggy back question: how do I make sure a certain command line is execute each time the Pi is powered on, say 30 seconds or so after the Raspbian is up and running? I want that process to start automatically in case there is a power outage.
Many thanks
Running A Program At Start Up A Beginner's Guide
A systemd service with the correct dependencies is a much better option than a fixed duration delay.
Statistics: Posted by thagrol — Sat Dec 13, 2025 11:48 am