11/25/2023 0 Comments Arch linux on raspberry pi![]() Log out of the session, and log back in again as your new user. Keeping the default alarm user around might be nifty for the initial setup, but I prefer to be myself and use the same username for my main computer and the Rpi: sudo useradd -m -p sudo pacman -S neovim tmux git git-lfs zsh man fzf trash-cli base-devel python python-pynvim w3mįrom now on you will be able to search and install from the arch repos and aur by typing yay Create User Then visudo, uncomment the line that says # %wheel ALL=(ALL) ALL, save and exit the editor. Su-ing every time you want to perform system administration tasks soon becomes both tedious and unsustainable, so you want to enable sudo. So me being a termite user I had to go: pacman -S termite-terminfo The first thing I noticed was that every backspace was read like a space in the Rpi, which is not very conducive to hard labor. We need to make a ssh session behave like a normal terminal session. Update your system and the pacman database: pacman -Syy Which are essential to turn your Rpi into a computer. From here I was able to do pacman-key -init At first I tried sudo, but this didn't fly, so I had to do su instead, and, when prompted, punch in the default root password root. In order to get anything done while in the depths of you Rpi, you need to become a root user. Run the following command: ssh when prompted for the password type the default alarm. ![]() This is where your inner Hollywood hacker gets to shine. In my case this returned 192.168.1.125 for alarmpi.lan. Then run nmap -sP 192.168.1.0/24 to get a full list of the active ip addresses on your network. ![]() So, plug an ethernet cable into the appropriate pi-hole and connect it to the local network. As I intend to use the Rpi in headless mode, I want to set it up for remote control. Now on to the interesting stuff: connect to the Rpi through your network. Next, partition the card: sudo fdisk /dev/sda The card is called sda, which means it will be available at /dev/sda. I followed this guide for the basic setup.įirst of all: figure out what my SD card is called: $ lsblk Installing ArchĪrch ARM is actually a separate distro targeted at the ARM architecture. Additionally there is a lot of good information in Niklas Adam's blog. Let's get to it! Much of the information is taken from Mads Kjeldgaard's blog and translated to Arch equivalents. This is a record of the steps I took to set the rpi up with my Linux distro of choice Arch, make it possible to receive data from our minibees and trigger stuff in SuperCollider using it. An obvious candidate for this is the Raspberry Pi 4, which, if rumors are correct, has become quite a powerful little beast. We already own a battery-powered boombox, so now we needed something a bit smaller than a laptop to deliver sensor-triggered sound to the box. Recently we got a request to perform on a street-festival in Pärnu, which gave us the impetus to get a bit more mobile with our technology.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |