I have some stuff on my Raspberry Pi Zero W box, and sometimes it's not very obvious which AP it used to connect to the internet (and thus - how to access the services that are running on the RPi by the IP). Before I used nmap
to find out the IP address, but after some time I realized that I can solder the cheap LCD onto the Pi and start some daemon once the box boots up. Then I can find out the default route and show the associated IP address on the LCD.
Additionally it should be quite easy to add more transports (like Slack or Telegram), so you can get hold on swarms of Pi boxes deployed elsewhere.
Hopefully that will help someone else.
评论:
zzq889:
That’s really helpful. I use Ngrok before to access my pi via internet. This maybe easier way for most people.
