<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>Raspberrypi on Home</title><link>https://danielmititelu.github.io/raspberrypi/</link><description>Recent content in Raspberrypi on Home</description><generator>Hugo -- gohugo.io</generator><language>en-us</language><atom:link href="https://danielmititelu.github.io/raspberrypi/index.xml" rel="self" type="application/rss+xml"/><item><title>Gadget mode on raspberry pi</title><link>https://danielmititelu.github.io/raspberrypi/gadget-mode/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://danielmititelu.github.io/raspberrypi/gadget-mode/</guid><description>Gadget mode enables a raspberry pi to be connected and controlled by a computer with only a usb cable
Flash raspberry pi os(the full or lite version) on an SD card and modify the following in the boot folder:
in config.txt add dtoverlay=dwc2 at the end of the file in cmdline.txt add modules-load=dwc2,g_ether after rootwait word create a file name ssh (without extension) You should be able to connect to the pi now:</description></item><item><title>SSH key-based auth</title><link>https://danielmititelu.github.io/raspberrypi/ssh-key-auth/</link><pubDate>Mon, 01 Jan 0001 00:00:00 +0000</pubDate><guid>https://danielmititelu.github.io/raspberrypi/ssh-key-auth/</guid><description> Generate a public/private key pair and ssh-keygen # add `~/.ssh/pi_rsa` when prompted for which file to save the key Move the public key to the raspberry pi ssh-copy-id -i ~/.ssh/pi_rsa.pub pi@raspberrypi.local SSH into the raspberry pi ssh pi@raspberrypi.local</description></item></channel></rss>