Monday, January 6, 2014

Beaglebone, Beaglebone, Beagle all the way...

So, having Beaglebone Black (BBB) for the last two weeks and making a lot of tests with it I had to install it from scratch.

First of all, BBB is amaizing card for all electronic enthusiasts. Personally, I didn't use Arduino devices at all. Instead of Arduino I used Atmel microprocessors in my projects. Yes, it is low-level, but I like whole the process from building scheme, board itself and assembling all things together.

Some of the projects were to much complicated, like building web service for managing all my modules remotely. And  here I meet the Beaglebone Black and Raspberry Pi. I decided to got to BBB, but currently I have Raspberry Pi also. Both cards are amaizing but different. They are different not only by specifications, but also are designed for different kinds of projects. I will not compare them now. I just had to reinstall my BBB as I get it crazy. It takes few minutes to wipe it, but then you will need to configure it again. I would like to describe here the main steps to get it preconfigured for the usage.

1. You will need to install latest OS image. I was going to Ubuntu.
2. After installing Ubuntu you will be able to connect to you card using USB connection and SSH client. I am using SecureCRT, but any other SSH client will work (as Putty one).
3. You will be able to connect using ubuntu user name and temppwd password. It is recommended to change the password immediately. You can do it with passwd command.

ubuntu@arm:~$ passwd 
Changing password for ubuntu.
(current) UNIX password: 
Enter new UNIX password: 
Retype new UNIX password: 
passwd: password updated successfully

4. Let's connect to internet.I suggest to start with LAN and having things updated switch to WiFi (if needed at all). So, connect your card to the LAN using cable. Try to ping any available IP address in the network or google.com service if you have network connected to the internet.

ubuntu@arm:~$ ping google.com
PING google.com (173.194.34.64) 56(84) bytes of data.
64 bytes from lhr14s19-in-f0.1e100.net (173.194.34.64): icmp_seq=1 ttl=54 time=81.1 ms
64 bytes from lhr14s19-in-f0.1e100.net (173.194.34.64): icmp_seq=2 ttl=54 time=81.3 ms
64 bytes from lhr14s19-in-f0.1e100.net (173.194.34.64): icmp_seq=3 ttl=54 time=80.9 ms
64 bytes from lhr14s19-in-f0.1e100.net (173.194.34.64): icmp_seq=4 ttl=54 time=81.2 ms
^C
Press CTRL+C to abort ping command execution.

5. Let's set the clock. You can check the current time with date command.

  1. sudo ntpdate pool.ntp.org

6. Let's refresh installation

  1. sudo apt-get update

and then

sudo apt-get upgrade

First preparations are done. You are ready to start your way.

No comments:

Post a Comment