{"id":39686999,"url":"https://github.com/filippo-ferrando/howtoflasharaspberry","last_synced_at":"2026-01-18T10:00:57.637Z","repository":{"id":38367127,"uuid":"413717122","full_name":"filippo-ferrando/howToFlashARaspberry","owner":"filippo-ferrando","description":"Guide on how to flash and do a basic configuration of a raspberry pi","archived":false,"fork":false,"pushed_at":"2023-01-14T19:59:22.000Z","size":364,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2023-03-06T01:27:39.548Z","etag":null,"topics":["flash","linux","raspberry-pi"],"latest_commit_sha":null,"homepage":"","language":null,"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/filippo-ferrando.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}},"created_at":"2021-10-05T07:30:34.000Z","updated_at":"2023-01-14T19:49:21.000Z","dependencies_parsed_at":"2023-02-09T20:30:58.629Z","dependency_job_id":null,"html_url":"https://github.com/filippo-ferrando/howToFlashARaspberry","commit_stats":null,"previous_names":[],"tags_count":null,"template":null,"template_full_name":null,"purl":"pkg:github/filippo-ferrando/howToFlashARaspberry","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filippo-ferrando%2FhowToFlashARaspberry","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filippo-ferrando%2FhowToFlashARaspberry/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filippo-ferrando%2FhowToFlashARaspberry/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filippo-ferrando%2FhowToFlashARaspberry/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/filippo-ferrando","download_url":"https://codeload.github.com/filippo-ferrando/howToFlashARaspberry/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/filippo-ferrando%2FhowToFlashARaspberry/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28534203,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-18T00:39:45.795Z","status":"online","status_checked_at":"2026-01-18T02:00:07.578Z","response_time":98,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","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":["flash","linux","raspberry-pi"],"created_at":"2026-01-18T10:00:33.960Z","updated_at":"2026-01-18T10:00:57.612Z","avatar_url":"https://github.com/filippo-ferrando.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# How to flash raspbian on a Rasperry Pi\n\n**First you need some tools**\n\n1. balenaEtcher\n\n2. raspbian iso\n\n3. a pc\n\nEstimate Time: 15-20 minutes\n\n## Let's install etcher\n\ngo to the balena [download page](https://www.balena.io/etcher/) and retrive the\nsuitable version for your needs.\n\n\u003cimg title=\"image\" src=\"assets/1.png\" alt=\"\" width=\"377\" data-align=\"center\"\u003e\n\n## Download the raspbian ISO\n\nfor this guide we'll use the lite version 'cause we don't need a GUI\n\n\u003cimg title=\"image\" src=\"assets/2.png\" alt=\"\" width=\"377\" data-align=\"center\"\u003e\n\n## Now we have all we need!\n\nTake you micro sd and insert it into the pc.\n\nThen open balenaEtcher and select your iso image.\n\n\u003cimg title=\"image\" src=\"assets/3.png\" alt=\"\" width=\"377\" data-align=\"center\"\u003e\n\n##### Then select the media you want to flash and click \"Flash!\"\n\n## Create ssh folder in boot partition\n\nWe have to activate ssh at the first boot because we want to use the Pi in\nheadless mode (without keyboard and monitor).\n\nTo do that mount the sd card just flashed in your pc and open the **boot**\npartition.\n\ncreate a folder named \"ssh\" and the job is done!\n\n## Configure wpa_supplicant for wifi connection\n\nThe Pi will connect to the lan via WiFi, so you need to setup the connection\nbefore the Pi boots.\n\nTo do that mount again the sd in your pc, but this time go into the root\npartition.\n\nWe'll modify the file _/etc/wpa_supplicant/wpa_supplicant.conf_ and add the ssid\nand password of the designed wifi network.\n\n**The file requires root permissions to be modified**\n\nOnce you opened that the file, it has to look like these:\n\n```bash\ncountry=it\nupdate_config=1\nctrl_interface=/var/run/wpa_supplicant\n\nnetwork={\n ssid=\"YOURSSID\"\n psk=\"YOURPASSWORD\"\n}\n```\n\nAfter that you can finally put the sd in your Raspberry Pi and power it up!\n\n## First boot and basic config\n\nWhen the pi ha booted up you have to find its ip address, to do it run the\ncommand _ip-scan_ and connect your pc to the board via ssh\n\n```bash\nssh pi@*pi ip*\n```\n\nThe default password is **raspberry**\n\nOnce you're connected, launch the command:\n\n```bash\nsudo raspi-config\n```\n\nThis will prompt a menu from which we can change some important settings:\n\n\u003cimg title=\"image\" src=\"assets/4.png\" alt=\"\" width=\"377\" data-align=\"center\"\u003e\n\n1. hostname --\u003e the device name on the network\n\n2. locale --\u003e Country (language)\n\n3. timezone\n\n4. password --\u003e change pi and root password\n\n**optionally** we can enable the _\"wait for network at boot\"_ which won't fully\nboot the operating system until a Wi-Fi or cable connection is established.\n\n## Update and Upgrade\n\nAnother importat thing is to keep the software up-to-date, so we can run:\n\n```bash\nsudo apt update \u0026\u0026 sudo apt upgrade\n```\n\nto update the index of packages and upgrade the installed software.\n\nThen we reboot the pi and we're ready to rock!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilippo-ferrando%2Fhowtoflasharaspberry","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffilippo-ferrando%2Fhowtoflasharaspberry","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffilippo-ferrando%2Fhowtoflasharaspberry/lists"}