From 70b62add66e2b921f01caaae2bb7ec2e259ed966 Mon Sep 17 00:00:00 2001 From: Joseph Coffland Date: Fri, 30 Oct 2015 14:21:47 -0700 Subject: [PATCH] Setup server --- README.md | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/README.md b/README.md index 2b827a2..aa6e165 100644 --- a/README.md +++ b/README.md @@ -35,19 +35,17 @@ ssh pi@ Substitute ```` with the correct IP address. The default password is ``raspberry``. You should see a prompt like this: ``pi@raspberrypi ~ $``, but in color. ## Configure the RPi -Update the package system, install the network auto discovery deamon, change the hostname and reboot. +Copy the ``setup.sh`` script to the RPi and run it as root: ``` -sudo apt-get update -sudo apt-get install -y avahi-daemon -sudo sed -i 's/raspberrypi/bbctrl/' /etc/hosts /etc/hostname -sudo reboot +scp setup.sh pi@: +ssh pi@ sudo ./setup.sh ``` -In the future, you can now log in to the system like this: +This will take some time and will end by rebooting the RPi. After this script has run you can log in to the RPi with out typing the IP addrerss like this: ``` -ssh pi@bbctrl.local +ssh bbmc@bbctrl.local ``` ## Install the toolchain @@ -86,7 +84,7 @@ scp hello pi@bbctrl.local: Login to the system and run ``hello`` like this: ``` -ssh pi@bbctrl.local +ssh bbmc@bbctrl.local ./hello ``` -- 2.27.0