kenfallon / fix-ssh-on-pi

Safely enabling ssh in the default Raspberry Pi OS (previously called Raspbian) Image
MIT License
80 stars 36 forks source link

Put-pi-in-ansible-host doesn't recognize Raspberry Pi4s #12

Closed dbblackdiamond closed 2 years ago

dbblackdiamond commented 2 years ago

I have tried using the put-pi-in-ansible-host script to discover the raspberry pi in my network and it didn't recognize the Pi4s. The reason is that Pi4s MAC addresses start with e4:5f:01, so line 50 on the script needs to be changed to include that.

Change from: grep -iE 'b8:27:eb|dc:a6:32' to grep -iE 'b8:27:eb|dc:a6:32|e4:5f:01'

kenfallon commented 2 years ago

Sorry that took so long.