Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Last updated: Monday 27 April 2026 @ 17:17:27

Getting Started

BeagleBone Black

Important

This workbook section is for the BeagleBone Revision D, some of the components will be different if you have a different revision.

1. Connect the BeagleBone Black to your computer

  1. Make sure you have connected the BeagleBone Black to your computer via a USB cable

  2. Open a terminal window and type:

    Terminal

    $ ssh debian@192.168.7.2
    
  3. As you can see you need to type the password temppwd to be able to log in.

    Output

    Debian GNU/Linux 10
    
    BeagleBoard.org Debian Buster IoT Image 2020-04-06
    
    Support: http://elinux.org/Beagleboard:BeagleBoneBlack_Debian
    
    default username:password is [debian:temppwd]
    
    debian@192.168.7.2's password:
    
  4. You should now see:

    Output

     The programs included with the Debian GNU/Linux system are free software;
     the exact distribution terms for each program are described in the
     individual files in /usr/share/doc/*/copyright.
    
     Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
     permitted by applicable law.
     Last login: Thu Apr 16 21:18:31 2020 from 192.168.7.1
     debian@beaglebone:~$
    

    Important

    You may be presented with the prompt to change password.

    It is recommended for now to change the password from temppwd to password12345

    Once logged in you can change it back to temppwd by entering the following command passwd

    debian@BeagleBone:~$ passwd
    Changing password for debian.
    Current password:
    New password:
    Retype new password:
    passwd: password updated successfully
    
  5. Also we are going to set the environment variable TERM to have the full 256-color range open .bashrc with nano and on any newline add the following:

    Code

    export TERM=xterm-256color
    
  6. While we are in .bashrc we are going to add the following (create new lines) to show colours in man pages etc, easier to read.

    Code

    export GROFF_NO_SGR=1
    
    export LESS_TERMCAP_mb=$'\e[0;35m'
    export LESS_TERMCAP_md=$'\e[0;35m'
    export LESS_TERMCAP_me=$'\e[0m'
    export LESS_TERMCAP_se=$'\e[0m'
    export LESS_TERMCAP_so=$'\e[1;36;36m'
    export LESS_TERMCAP_ue=$'\e[0m'
    export LESS_TERMCAP_us=$'\e[4;1;32m'
    export LESS_TERMCAP_mr=$'\e[7m'
    export LESS_TERMCAP_mh=$'\e[2m'
    export LESS_TERMCAP_ZN=$'\e[74m'
    export LESS_TERMCAP_ZV=$'\e[75m'
    export LESS_TERMCAP_ZO=$'\e[73m'
    export LESS_TERMCAP_ZW=$'\e[75m'
    export MANPAGER='less'
    

    Then source ~/.bashrc and you should have colour in the terminal now. If not exit and reconnect.