{"id":25738317,"url":"https://github.com/fbrinker/pi-init","last_synced_at":"2025-07-23T08:31:07.674Z","repository":{"id":75293201,"uuid":"48453261","full_name":"fbrinker/pi-init","owner":"fbrinker","description":"My init script for new raspbian raspberrypi images","archived":false,"fork":false,"pushed_at":"2016-03-05T00:50:43.000Z","size":32,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-07-19T23:31:35.820Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Shell","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/fbrinker.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2015-12-22T20:48:01.000Z","updated_at":"2016-07-19T11:47:08.000Z","dependencies_parsed_at":"2023-06-06T01:30:12.966Z","dependency_job_id":null,"html_url":"https://github.com/fbrinker/pi-init","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/fbrinker/pi-init","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbrinker%2Fpi-init","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbrinker%2Fpi-init/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbrinker%2Fpi-init/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbrinker%2Fpi-init/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/fbrinker","download_url":"https://codeload.github.com/fbrinker/pi-init/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/fbrinker%2Fpi-init/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266644807,"owners_count":23961582,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-07-23T02:00:09.312Z","response_time":66,"last_error":null,"robots_txt_status":null,"robots_txt_updated_at":null,"robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-02-26T07:29:57.664Z","updated_at":"2025-07-23T08:31:07.612Z","avatar_url":"https://github.com/fbrinker.png","language":"Shell","funding_links":[],"categories":[],"sub_categories":[],"readme":"# pi-init\nThis is my init script for [debian based rapsberrypi images](https://www.raspberrypi.org/downloads) (I prefer the raspbian LITE one without any desktop). But you should be able to use it with any debian jessie+ machine. I didn't test it in other environments.\n\n![preview](http://i.imgur.com/MiPD6SA.png)\n\n# Features\nI'm testing out a lot of home automation stuff at the moment and prototype some ideas. So i have to install different debian based SD card images from time to time. This script does all the first magic.\n* Setting a hostname (name of the pi in /etc/hosts and /etc/hostname)\n* Setting a static eth0 and wlan0 ip (via dhcpcd.conf)\n* Configuring your wifi network settings\n* Creating a ssh key (for example for github)\n* Installing [my very basic dotfiles](https://github.com/fbrinker/dotfiles) (feel free to use them too :)\n* Installing an authorized ssh key for easier logins (leave empty if not needed)\n* Sums up all changes made\n\nAfterwards you have to reboot manually.\n\n# Usage\nTo install \u0026 run the init script, execute the following commands\n```\ncurl -LSso ~/pi-init.sh https://raw.githubusercontent.com/fbrinker/pi-init/master/pi-init.sh\nchmod +x ~/pi-init.sh\n./pi-init.sh\n```\nAnd then reboot the machine and you're done.\n\n# Troubleshooting\n##### I can't connect to the rebooted pi\n* Sometimes, after changing the hostname and setting the ip address, I have problems connecting (or even pinging) to the \"new\" raspberrypi... I have to delete the device from my AVM Fritzbox routers dhcp configuration, restart the pi and the network (router) will recognise the pi correctly.\n\n##### I can't connect to the rebooted pi via wifi\n* You may have entered incorrect wifi settings (SSID \u0026 password). You can check/edit them with the following command: ```sudo vim /etc/wpa_supplicant/wpa_supplicant.conf```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffbrinker%2Fpi-init","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffbrinker%2Fpi-init","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffbrinker%2Fpi-init/lists"}