From: Joseph Coffland Date: Fri, 30 Oct 2015 21:21:47 +0000 (-0700) Subject: Setup server X-Git-Url: https://git.buildbotics.com/?a=commitdiff_plain;h=70b62add66e2b921f01caaae2bb7ec2e259ed966;p=bbctrl-firmware Setup server --- 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 ```