Get the IP Address of a BeagleBone Blue Hardware

There are three ways to get the IP address of the BeagleBone® Blue hardware that your computer connected to most recently:

Get the IP Address from the MATLAB Command Window

  1. Set up your hardware as described in Add Support for BeagleBone Blue Hardware.

  2. In the MATLAB® Command Window, enter:

    bbblue = beagleboneblue;
    
    bbblue = 
    
      beagleboneblue with properties:
    
        DeviceAddress: '192.168.7.2'
                 Port: 22
    This command creates a connection from the MATLAB software to the BeagleBone Blue hardware, represented by the object bbblue. The DeviceAddress property specifies the IP address of the most recently connected BeagleBone Blue hardware.

Get the IP Address from the Board Parameters Pane

  1. In the Simulink® editor, select Simulation > Model Configuration Parameters.

  2. In the Configuration Parameters dialog box, select Hardware Implementation.

  3. From the Hardware board list, select BeagleBone Blue.

  4. From the Groups list under Target Hardware Resources, select the Board Parameters option. The Device Address parameter displays the IP address of the most recently connected BeagleBone Blue hardware.

Get the IP Address from the Linux Command Line

  1. Log in to the BeagleBone Blue command-line interface. The default user name and password of the BeagleBone Blue hardware is debian and temppwd, respectively.

  2. To get the IP address, use the ifconfig command in the BeagleBone Blue command-line interface.

    • usb0 displays settings for the virtual network port on the USB port (default addr:192.168.7.2).

    • wlan0 displays settings for the wireless connection.

See Also