GMU:Autonomous-Collaborative/patchbox setup: Difference between revisions

From Medien Wiki
No edit summary
No edit summary
Line 1: Line 1:
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:
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:


# download the patchbox image and put it on SD card with Etcher
== 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
# 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 6 :)
## Method A: connect an HDMI monitor and USB keyboard to the RaspberryPi. Go to step 6 :)
Line 7: Line 9:
# open the terminal type <tt>ifconfig</tt> to see the local  IP address of the computer.
# open the terminal type <tt>ifconfig</tt> to see the local  IP address of the computer.
# type <tt>ping patchbox.local</tt> to see if the Raspberry is running and find its IP address. Tto stop the output press Ctl+Shift+C.
# type <tt>ping patchbox.local</tt> to see if the Raspberry is running and find its IP address. Tto stop the output press Ctl+Shift+C.
# type <tt>ssh -X patch@{IP-address}</tt> to connect to the Raspberry. (Replace the curly brackets with the IP address from the previous step.) Default password of the user "patch" is "blokaslabs"
# type <tt>ssh -X patch@patchbox.local}</tt> to connect to the Raspberry. Default password of the user "patch" is "blokaslabs"
# Follow the setup and change the password.
# Follow the setup and change the password.
# add a fallback static IP if no DHCP server is in the network: Type <tt>sudo nano /etc/dhcpcd.conf</tt> 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
# 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

Revision as of 23:43, 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

  1. download the patchbox os image and put it on SD card with Etcher
  2. setup fallback fixed IP if no DHCP server is in the network
    1. Method A: connect an HDMI monitor and USB keyboard to the RaspberryPi. Go to step 6 :)
    2. Method B: connect Raspberry and computer to a router with DHCP.
  3. open the terminal type ifconfig to see the local IP address of the computer.
  4. type ping patchbox.local to see if the Raspberry is running and find its IP address. Tto stop the output press Ctl+Shift+C.
  5. type ssh -X patch@patchbox.local} to connect to the Raspberry. Default password of the user "patch" is "blokaslabs"
  6. Follow the setup and change the password.
  7. 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