@@ -33,8 +33,8 @@ First, here are the things you need before starting:
3333<span class =" glyphicon glyphicon-alert " ></span >
3434The instructions on this page only apply to releases dated December
35352015 or later. Older releases are no longer supported. There are many major changes
36- in this release, so if something seems broken or the documentation seems incorrect,
37- please [ open an issue on GitHub] ( ../.. /support) .
36+ in the December release, so if something seems broken or the documentation seems incorrect,
37+ please [ open an issue on GitHub] ({{ site.github.url }} /support).
3838{: class ="alert alert-warning"}
3939
4040## Step 1: Download the latest ev3dev image file
@@ -90,7 +90,7 @@ LEDs indicate disk (SD card) activity.
9090** Note:** If you are using Raspberry Pi hardware without a screen, just wait for
9191the Activity LED to stop flashing, then go to the next step.
9292
93- After about one minutes , the screen will go blank. This happens on the first boot
93+ After about one minute , the screen will go blank. This happens on the first boot
9494only. The first boot takes longer than subsequent boots because the EV3
9595has to create a unique SSH host ids and take care of a few other housekeeping
9696items. After another minute or two, you will see the * brickman loading...* screen.
@@ -105,118 +105,88 @@ data may be lost. Keep in mind, that is may take a much longer time from 8V to
1051056.5V than from 6.5V down to 5V!
106106
107107<div class =" panel panel-info " >
108- <div class="panel-heading">
109- Troubleshooting tips if your EV3 won't boot
110- </div>
111- <div class="panel-body">
112- <ul>
113- <li>Make sure nothing is plugged into the EV3 (USB/sensors/motors/etc.)</li>
114- <li>Try writing the image to the SD card again.</li>
115- <li>You may have a bad/incompatible SD card - try a different SD card.</li>
116- <li>Check the condition of the EV3 batteries.</li>
117- </ul>
118- </div>
108+ <div class =" panel-heading " >
109+ <span class =" glyphicon glyphicon-info-sign " aria-hidden =" true " ></span >
110+ Troubleshooting tips if your EV3 won't boot
111+ </div >
112+ <div class =" panel-body " markdown =" 1 " >
113+ * Make sure nothing is plugged into the EV3 (USB/sensors/motors/etc.)
114+ * Try writing the image to the SD card again.
115+ * You may have a bad/incompatible SD card - try a different SD card.
116+ * Check the condition of the EV3 batteries.
117+ </div >
119118</div >
120119
121120## Step 4: Setup a network connection
122121
123122There are lots of choices here. Your choice depends on what type of connection
124123you want to use and on the OS of your host computer, so pick the one that applies:
125124
126- * Ethernet over USB (just requires the USB cable that comes with the EV3)
125+ * __ Ethernet over USB __ (just requires the USB cable that comes with the EV3)
127126 * [ Connecting to the Internet] ( ../tutorials/connecting-to-the-internet-via-usb ) tutorial
128- * USB Ethernet dongle (as in the kind with an RJ45 connector)
129- * If your network has a DHCP server, this will "just work". See (non-existent) brickman
130- docs for more info.
131- * USB WiFi Dongle
127+ * __ USB Ethernet dongle__ (as in the kind with an RJ45 connector)
128+ * If your network has a DHCP server, this will "just work".
129+ * __ USB WiFi Dongle__
132130 * Hopefully you can figure it out. I'm putting off writing detailed docs
133131 until brickman is a bit more stable.
134- * Bluetooth
132+ * __ Bluetooth __
135133 * Note: Bluetooth may not work on the first boot. Please reboot if you see "???"
136134 after you power on Bluetooth.
137135 * [ Connecting to the Internet] ( ../tutorials/connecting-to-the-internet-via-bluetooth ) tutorial
138136
139- ** Note: ** For Raspberry Pi you must use the wired Ethernet port to connect for the
140- first time. The default host name is ` ev3dev-rpi ` or ` ev3dev-rpi2 ` depending
141- on which model you have . You can setup additional connections using the
137+ < span class = " glyphicon glyphicon-info-sign " aria-hidden = " true " ></ span >
138+ For Raspberry Pi with no display, you must use the wired Ethernet port
139+ to connect for the first time . You can setup additional connections using the
142140` connmanctl ` command.
141+ {: class="alert alert-info"}
143142
144143## Step 5: First things to do with ev3dev
145144
146145Here are some suggestions of some things you should do to get ev3dev setup.
146+ These commands are run on the EV3 in a terminal window. See the networking
147+ tutorials above if you don't know how to open terminal window and connect via SSH.
147148
148- ### Change your root password
149+ ### Change your password
149150
150- The default root password is r00tme - those are zeros, not "Ohs" .
151+ The default password is ` ev3dev ` .
151152
152- root @ev3dev:~# passwd
153+ robot @ev3dev:~$ passwd
153154 Enter new UNIX password:
154155 Retype new UNIX password:
155156 passwd: password updated successfully
156157
157- ### Set up a new user
158-
159- Replace ` user ` with your actual user name and ` First Last ` with your real name
160- (if you want it on the EV3 - you can leave it blank too). Don't miss the
161- command to assign groups hiding at the end.
162-
163- root@ev3dev:~# adduser user
164- Adding user `user' ...
165- Adding new group `user' (1001) ...
166- Adding new user `user' (1001) with group `user' ...
167- Creating home directory `/home/user' ...
168- Copying files from `/etc/skel' ...
169- Enter new UNIX password:
170- Retype new UNIX password:
171- passwd: password updated successfully
172- Changing the user information for user
173- Enter the new value, or press ENTER for the default
174- Full Name []: First Last
175- Room Number []:
176- Work Phone []:
177- Home Phone []:
178- Other []:
179- Is the information correct? [Y/n] y
180- root@ev3dev:~# usermod -a -G sudo,ev3dev,plugdev,audio,video,input,bluetooth,i2c user
181-
182158### Set the time zone
183159
184- root @ev3dev:~# dpkg-reconfigure tzdata
160+ robot @ev3dev:~$ sudo dpkg-reconfigure tzdata
185161
186162Then just follow the instructions on the screen.
187163
188- ** NOTE:** The EV3 does not have a battery backup for the realtime clock.
164+ <span class =" glyphicon glyphicon-info-sign " aria-hidden =" true " ></span >
165+ The EV3 and Raspberry Pi do not have a battery backup for the realtime clock.
189166Whenever you remove the batteries, the clock will be reset. If the EV3 is
190167connected to the Internet, the clock will be automatically set via NTP,
191168otherwise, you can manually set the date/time with the ` date ` command.
192-
169+ {: class="alert alert-info"}
193170
194171### Set the locale
195172
196173You can skip this if en-US is OK.
197174
198- root @ev3dev:~# dpkg-reconfigure locales
175+ robot @ev3dev:~$ sudo dpkg-reconfigure locales
199176
200177### Update packages
201178
202- <div class =" alert alert-danger " >
203- <span class="glyphicon glyphicon-exclamation-sign"></span>
204- If you are a beginner with Linux and/or Debian, you should skip updating packages
205- for now. We are working on some major changes and things will be inconsisent with the
206- documentation if you upgrade.
207- </div >
208-
209179Make sure your EV3 is connected to the Internet first.
210180Updating the packages for the first time will take minutes.
211181The duration depends on the speed class of the SD card and on the updates involved.
212182
213- root @ev3dev:~# apt-get update
214- root @ev3dev:~# apt-get upgrade
215- root @ev3dev:~# apt-get dist-upgrade
183+ robot @ev3dev:~$ sudo apt-get update
184+ robot @ev3dev:~$ sudo apt-get upgrade
185+ robot @ev3dev:~$ sudo apt-get dist-upgrade
216186
217187If a new kernel package is installed, you will need to reboot.
218188
219- root @ev3dev:~# reboot
189+ robot @ev3dev:~$ sudo reboot
220190
221191## Step 6: Do something awesome
222192
@@ -254,7 +224,7 @@ hang of it, you can even write your own interface library and have it listed her
254224When you are ready to wish your EV3 goodnight, turn if off by pressing the
255225* back* button from the main menu in brickman or pressing and holding the * back*
256226button from any screen in brickman. This will open a dialog where you can select
257- * Power Off* to turn off the EV3.
227+ * Power Off* to turn off the EV3. (Running ` sudo poweroff ` in a terminal works too.)
258228
259229[ microSD ] : https://en.wikipedia.org/wiki/Secure_Digital#SD
260230[ microSDHC ] : https://en.wikipedia.org/wiki/Secure_Digital#SDHC
0 commit comments