I need to install the raspberry pi at a customer location and then make the pi connect to the customer's wifi. Is there a convenient way to do this without needing a monitor, keyboard and mouse attached to the raspberry pi? Edit: I am using Pi 4 and the latest Raspberry Pi OS Full (64 Bit, Debian Bookworm). I also don't have wired (ethernet) access to the router. Ideally, I would like to provide the customer with the ability to enter the wifi credentials themselves when connecting the pi to the wifi
Asked
Active
Viewed 339 times
1 Answers
1
There are many ways of doing this (depending on who is doing it and what equipment they have).
See How do I set up networking on Raspberry Pi OS - Bookworm for general pointers.
If I were doing this I would enable ssh then connect the Pi Ethernet to a router or laptop. (This is how I setup a new Pi.)
You can then setup using nmcli:-
nmcli dev wifi list will scan for wireless networks.
sudo nmcli --ask dev wifi connect ssid will connect to a network.
Milliways
- 62,573
- 32
- 113
- 225