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
Set up your hardware as described in Add Support for BeagleBone Blue Hardware.
In the MATLAB® Command Window, enter:
bbblue = beagleboneblue;
This command creates a connection from the MATLAB software to the BeagleBone Blue hardware, represented by the objectbbblue = beagleboneblue with properties: DeviceAddress: '192.168.7.2' Port: 22
bbblue
. TheDeviceAddress
property specifies the IP address of the most recently connected BeagleBone Blue hardware.
Get the IP Address from the Board Parameters Pane
In the Simulink® editor, select Simulation > Model Configuration Parameters.
In the Configuration Parameters dialog box, select Hardware Implementation.
From the Hardware board list, select
BeagleBone Blue
.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
Log in to the BeagleBone Blue command-line interface. The default user name and password of the BeagleBone Blue hardware is
debian
andtemppwd
, respectively.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 (defaultaddr:192.168.7.2
).wlan0
displays settings for the wireless connection.