Config Raspi after Reinstallation

Download system and write disk 64-bit Raspi images 64-bit Full Raspi images Enable SSH create empty file named ssh under the disk named boot Connecting wifi for the 1st time create wpa_supplicant.conf under disk named boot, write followings: country=CN ctrl_interface=DIR=/var/run/wpa_supplicant GROUP=netdev update_config=1 network={ ssid="<wifi name>" psk="<wifi passwd>" key_mgmt=WPA-PSK } then, plug the SD card to pi and start the pi. You should be able to connect to Pi using SSH....

January 29, 2022 · 1 min · Andyliu


更换为清华镜像源,参考清华Raspbian 镜像使用帮助 对于Debian 11 (bullseye): # 编辑 `/etc/apt/sources.list` 文件,删除原文件所有内容,用以下内容取代: deb [arch=armhf] bullseye main non-free contrib rpi deb-src bullseye main non-free contrib rpi # 如果需要 arm64 软件源,在 `/etc/apt/sources.list` 中加上 deb [arch=arm64] bullseye main # 编辑 `/etc/apt/sources.list.d/raspi.list` 文件,删除原文件所有内容,用以下内容取代: deb bullseye main 保存后运行sudo apt-get update 运行后出现 W: GPG error: bullseye InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 9165938D90FDDD2E 需要手动添加公钥:sudo apt-key adv --keyserver keyserver....

January 29, 2022 · 1 min · Andyliu


Steps: install rclone: sudo apt install rclone authorize onedrive: rclone authorize "onedrive" log into onedrive in the prompted page. access token will be generated. copy and remember access token. config rclone clients: rclone config this will leads to an interactive configuration process check config: rclone config show mount to local dir: rclone mount <remote name>: <local dir>

December 28, 2021 · 1 min · Andyliu


挂载NTFS格式磁盘 貌似树莓派OS能够自动挂载NTFS磁盘到/media/pi下。不用额外操作。 使用SAMBA协议提供校园网内文件服务 安装SAMBA 安装SAMBA:sudo apt-get update && sudo apt-get install -y samba 查看SAMBA版本: root@raspberrypi:/media/pi/4T存储# samba --version Version 4.13.13-Debian

November 28, 2021 · 1 min · Andyliu