No edit summary |
|||
Line 2: | Line 2: | ||
== Prepare the system == | == Prepare the system == | ||
download the patchbox os image and put it on SD card with Etcher. | download the patchbox os image and put it on SD card with Etcher. | ||
#setup fallback fixed IP if no DHCP server is in the network | #setup fallback fixed IP if no DHCP server is in the network | ||
Line 19: | Line 18: | ||
sudo apt-get upgrade | sudo apt-get upgrade | ||
sudo apt-get dist-upgrade | sudo apt-get dist-upgrade | ||
== run config scripts == | |||
sudo patchbox-config | |||
allows to set the password and the default soundcard | |||
sudo raspi-config | |||
lets you autologin to the console |
Revision as of 23:47, 22 June 2019
Objective: We want to be able to connect to the RaspberryPi with patchboxOS so we can connect to it via a local Ethernet cable directly connected to the computer without any router. Steps to follow:
Prepare the system
download the patchbox os image and put it on SD card with Etcher.
- setup fallback fixed IP if no DHCP server is in the network
- Method A: connect an HDMI monitor and USB keyboard to the RaspberryPi. Go to step 5 :)
- Method B: connect Raspberry and computer to a router with DHCP.
- open the terminal type ifconfig to see the local IP address of the computer.
- type ping patchbox.local to see if the Raspberry is running and find its IP address. Tto stop the output press Ctl+Shift+C.
- type ssh -X patch@patchbox.local} to connect to the Raspberry. Default password of the user "patch" is "blokaslabs"
- Follow the setup and change the password.
- add a fallback static IP if no DHCP server is in the network: Type
sudo nano /etc/dhcpcd.conf
You are in a text editor now. Uncomment (remove the # symbol) the lines defining the fallback address like this https://wiki.archlinux.org/index.php/dhcpcd#Fallback_profile
Once that is done, you can connect to the internet and bring the OS up to date:
sudo apt-get update sudo apt-get upgrade sudo apt-get dist-upgrade
run config scripts
sudo patchbox-config
allows to set the password and the default soundcard
sudo raspi-config
lets you autologin to the console