Setting up a Serial Terminal with Linux*

Requirements

You have assembled your Arduino* expansion board or your mini breakout expansion board, installed the appropriate drivers, and flashed the OS image (formerly called firmware).

Steps to Set Up a Serial Terminal

  1. If you do not have the screen shell session manager installed, open a new Terminal window. Enter the command:

    $ sudo apt-get install screen

    If prompted, enter your password to install screen.

  2. Issue the following command to check the name of your serial connection with Intel® Edison board. In most cases the USB dev path is dev/ttyUSB0 but if you have multiple USB serial devices connected, your Intel® Edison board could be assigned ttyUSB1 or ttyUSB2.

    $ ls dev/ttyUSB*

  3. To connect to the board, enter the command:

    $ sudo screen /dev/ttyUSB0 115200

    where ttyUSB0 is your connected device.

    If prompted, enter your password to continue.

  4. Press Enter twice. A login screen is displayed.
  5. At the login prompt, type root and press Enter.
    Serial communication screen in Linux Ubuntu
  6. Press Enter when prompted for a password.

You have now established a serial communication with your board. You can interact with your board by entering common Linux commands. For a summary of useful commands, see Common commands for the Intel® Edison board.

For more complete information about compiler optimizations, see our Optimization Notice.