Skip to content

Commit 58f6007

Browse files
committed
update bluetooth for Ubuntu 16.04
1 parent 23a6ce6 commit 58f6007

9 files changed

+30
-36
lines changed

contribute.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ Some things you will need:
5656
* The actual hardware (sensor or other device).
5757
* Technical documentation on the hardware that explains the low level
5858
communications (or circuit diagram for analog sensors).
59-
* A computer or virtual machine running Ubuntu 14.04. (Other Linux distros are
59+
* A computer or virtual machine running Ubuntu 16.04. (Other Linux distros are
6060
OK, but this is what we officially support.)
6161
* An EV3 serial port adapter like [mindsensors.com EV3 Console Adapter] or
6262
[make your own][ev3-creating-a-console-cable].

docs/tutorials/connecting-to-the-internet-via-bluetooth.md

+29-35
Original file line numberDiff line numberDiff line change
@@ -231,7 +231,7 @@ If you are using an older version, please upgrade.
231231
robot@ev3dev:~$
232232

233233
* {: tab="Ubuntu"}{% include icon.html type="info" %}
234-
These instructions were written using Ubuntu 14.04 and the default desktop.
234+
These instructions were written using Ubuntu 16.04 and the default desktop.
235235
It should work for other versions of Ubuntu, derivatives of Ubuntu and
236236
desktop environments as well.
237237
{: .alert .alert-info}
@@ -241,52 +241,46 @@ If you are using an older version, please upgrade.
241241

242242
sudo apt-get install blueman
243243

244-
{% include icon.html type="info" %}
245-
The default Ubuntu Unity desktop does not show the `blueman-applet`
246-
icon in the notification tray. If you would like to enable this, please see
247-
[this](http://askubuntu.com/questions/574460/blueman-indicator-missing){: .alert-link}.
248-
{: .alert .alert-info}
244+
2. Run the Blueman *Bluetooth Manager*.
249245

250-
2. Run `blueman-services` from a terminal. (Or if you have the tray icon,
251-
right-click on it and choose "Local Services...")
246+
{% include screenshot.html source="/images/ubuntu/16.04/blueman-manager-icon.png" %}
252247

253-
3. Go to network. Ensure you activated *Network Access Point (NAP)* and
254-
*dnsmasq*. For *PAN support* choose *NetworkManager* but for *DUN-support*
255-
choose *Blueman*. Then click *Close*.
248+
3. On the *View* menu, select *Local Services...*.
256249

257-
{% include screenshot.html source="/images/ubuntu/15.10/blueman-services-network.png" %}
250+
{% include screenshot.html source="/images/ubuntu/16.04/blueman-manager-view-local-services.png" %}
258251

259-
{% include icon.html type="info" %}
260-
If your EV3 is already paired, you will need to remove it and pair it
261-
again so that it will see the new network service.
262-
{: .alert .alert-info}
252+
4. Go to *Network*. Check *Network Access Point (NAP)* and *dnsmasq*. Change
253+
the IP address to `10.42.0.1` (this matches the old default from Ubuntu
254+
14.04). For *PAN support* choose *NetworkManager*. *DUN-support* does not
255+
matter, we are not using it. Then click *Apply* and *Close*.
263256

264-
4. On the EV3, first verify that Bluetooth is powered on. In brickman,
257+
{% include screenshot.html source="/images/ubuntu/16.04/blueman-services-network.png" %}
258+
259+
260+
5. On the EV3, first verify that Bluetooth is powered on. In brickman,
265261
open the *Wireless and Networks* menu and select *Bluetooth*. Make sure the
266262
*Powered* checkbox is checked. The Bluetooth icon next to the battery in the
267263
status bar also indicates that Bluetooth is powered on.
268264

269265
{% include screenshot.html source="/images/brickman/bluetooth-powered-visible-no-devices.png" %}
270266

271-
5. On your host computer, make sure Bluetooth is powered on and visible.
272-
273-
{% include screenshot.html source="/images/ubuntu/15.10/bluetooth-app-indicator-powered-visible.png" %}
274-
275-
6. On the EV3, select *Start Scan* on the *Bluetooth* menu. It should find your
276-
computer.
277-
278-
{% include screenshot.html source="/images/brickman/bluetooth-powered-my-computer.png" %}
267+
5. Back on your host computer, Click *Search* (1) to search for your EV3. Once
268+
it appears, click the pair icon (2) to pair it. You will be asked to confirm
269+
on both the EV3 and the host computer. Finally, after you have paired,
270+
click the trust icon (3) to allow the EV3 to automatically connect.
279271

280-
7. Select your computer from the menu and then select the *Pair* button.
272+
{% include screenshot.html source="/images/ubuntu/16.04/blueman-manager-search-pair-trust.png" %}
281273

282-
{% include screenshot.html source="/images/brickman/bluetooth-my-computer-not-paired.png" %}
283-
284-
8. Confirm or enter the passkey if requested. The exact behavior here will
285-
depend on the Bluetooth adapter on your host computer.
274+
{% include screenshot.html source="/images/ubuntu/16.04/bluetooth-pairing-request.png" %}
286275

287276
{% include screenshot.html source="/images/brickman/bluetooth-confirm-passkey.png" %}
288277

289-
12. You should have a *Network Connection* button. Select it to
278+
{% include icon.html type="info" %}
279+
If your EV3 is already paired, you will need to remove it and pair it
280+
again so that it will see the new network service.
281+
{: .alert .alert-info}
282+
283+
6. You should now have a *Network Connection* button. Select it to
290284
open the network connection settings. (You can also find the connection
291285
in *Wireless and Networks > All Network Connections*.)
292286

@@ -298,17 +292,17 @@ If you are using an older version, please upgrade.
298292
*Connect* on the *Network Connection* screen below instead.
299293
{: .alert .alert-info}
300294

301-
13. Select *Connect* here. You can also check the box for *Connect automatically*.
295+
7. Select *Connect* here. You can also check the box for *Connect automatically*.
302296
This way you don't have to connect manually after you reboot.
303297

304298
{% include screenshot.html source="/images/brickman/networking-my-computer-0-connect-selected.png" %}
305299

306-
14. *State* should change to *Online* to indicate that the EV3 has an Internet
300+
8. *State* should change to *Online* to indicate that the EV3 has an Internet
307301
connection.
308302

309303
{% include screenshot.html source="/images/brickman/networking-my-computer-0-disconnect-selected-online.png" %}
310304

311-
11. Now we are going to connect to the EV3 using ssh. In a terminal, run the
305+
9. Now we are going to connect to the EV3 using ssh. In a terminal, run the
312306
following command.
313307

314308
@@ -329,7 +323,7 @@ If you are using an older version, please upgrade.
329323
</div>
330324
</div>
331325

332-
12. Enter your password when prompted. The default password is `maker`.
326+
10. Enter your password when prompted. The default password is `maker`.
333327

334328
robot@ev3dev's password:
335329
_____ _
-46.6 KB
Binary file not shown.
Binary file not shown.
33.2 KB
Loading
Loading
Loading
38.7 KB
Loading
Loading

0 commit comments

Comments
 (0)