Get IP Address of Raspberry Pi Hardware
You can use any of these methods to know the IP address of your Raspberry Pi® hardware.
Connect your Raspberry Pi board with a keyboard, monitor, and mouse. Then, log in to the Linux® terminal and enter this command.
ifconfig
The IP configuration settings for the
eth0Ethernet connector is displayed on the terminal.
If, during the firmware update process, you configured your Raspberry Pi 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:After logging in, useh = raspberrypi('raspberrypi-AH-RDLUGYHE') h.openShell()ifconfigto get the IP address of the board.You can use the host name to connect to your board only if you have a domain name system (DNS) within your network.