Change DHCP to static IP $ sudo nano /etc/nf Change Hostname $ sudo raspbi-configĬhoose 2 Network Options and N1 Hostname to change the hostname. This might take a while … time for a coffee break. Passwd: password updated $ Change Timezone $ timedatectl list-timezones | grep $ sudo timedatectl set-timezone Europe/Berlin Update All Packages $ sudo apt $ sudo apt upgrade -y Some basic configuration steps after the first login via ssh, based on Raspbian 10 Buster release. So I recommend the outstanding blog post by James Chambers to stay tuned about the development on that front. The fairly new Pi4 doesn’t support USB boot like the Pi3, it still needs the boot partition on the SD-Card and some hacks, as it’s somewhat picky about the USB adapter. $ echo dtoverlay=sdtweak,poll_once | sudo tee -a /boot/config.txt Raspberry Pi 4 If you desire to run your Pi without the SD-Card you might tweak the /boot/config.txt once again, to prevent the CPU from pointless burning cycles while searching for the SD-Card. The USB SSD needs to be flashed via the Raspberry Pi Imager with the same image as the SD-Card before and is now the default device at the next boot time. $ echo program_usb_boot_mode=1 | sudo tee -a /boot/config.txt To enable booting from USB storage simply edit the /boot/config.txt file by entering the following command to your ssh session. As the USB connection is the limiting factor, even the cheapest M.2 (NVMe) SSD is sufficient. Depending on your router the Pi pops up as raspberrypi under connected devices, or the corresponding IP has to be discovered via the ARP table, using the following vendor OUIs of the MAC address:Īn external SSD for storage is a very good idea because an SD-Card has limited performance and might wear off very fast when used with a time series database like InfluxDB. It grabs an IPv4 address via DHCP and should be reachable via ssh after 2-3 minutes due to the initial SD-Card partitioning. Now plug the SD-Card into your Pi, connect an Ethernet Cable to your network and power it up. This also prevents challenges related to the keyboard layout, where y and z might be reversed and the default password contains a y … Just create a new empty file named ssh in the boot partition of the SD-Card to activate the ssh daemon. There is no need to connect a keyboard and monitor for the first startup. The imager ejects the SD-Card, you might want to re-mount it by physically removing and re-inserting it for the next step.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |