Documentation Center

  • Trials
  • Product Updates

Contents

Get the Network Settings of the Raspberry Pi Hardware

There are several ways to get the network settings of the Ethernet connector on your Raspberry Pi™ hardware:

  • Connect speakers or headphones to the audio jack on the board and then reboot it. After rebooting, a synthesized voice on the board reads out the IP address.

  • If your board is connected to a keyboard, monitor, and mouse, open LXTerminal from the Linux® desktop, and enter:

    ifconfig

    The IP configuration settings for the eth0 Ethernet connector are available on the second line of text.

  • If, during the firmware update process, you configured your board to use a local area network (LAN) or home network, use SSH to connect to the host name of the board. For example, if the host name is raspberrypi-AH-RDLUGYHE, enter the following in a MATLAB® Command Window:

    h = raspberrypi('raspberrypi-AH-RDLUGYHE')
    h.openShell('ssh')

    After logging in, use ifconfig to get the IP address of the board.

You can also configure the board to send you an email message when the IP address changes, as described in Configure Raspberry Pi Hardware to Mail IP Address Changes.

Was this topic helpful?