Documentation Center

  • Trials
  • Product Updates


Get IP Address of BeagleBoard Hardware

You can get the IP address of the BeagleBoard hardware by listening to the audio output, or by using the Linux® command line. This is an optional task that you can use to:

  • Preparing a model to run on a board that is different from the previous one you used.

  • Opening a telnet session with a board whose IP settings you do not know.

  • Configuring the UDP Send block.

When you prepare a model to run on a board, your model Configuration Parameters reuse the IP settings of the previous board you used. If you are working with a different board on the same network, get the IP address of the your new board, and update the Host name parameter in the Configuration Parameters. For more information, see Run Model on BeagleBoard Hardware.

If Ethernet port on the BeagleBoard hardware board has an IP address, the audio output on the board can read the IP address out loud. For example the board can say "My IP address is one hundred and forty four point two one two point one one zero point two zero six."

To listen your board's IP address using headphones or speakers:

  1. Plug headphones or speakers into the AUDIO OUT jack on the board.

  2. Press the USER button on the board.

  3. Write down the IP address as the board reads it out over the headphones or speakers.

The Linux command line on the board can provide the IP address of the Ethernet port.

To get your board's IP address command line session:

  1. Open a serial command line session on your board, as described in Connect to Serial Port on BeagleBoard Hardware.

    If your board is connected to a monitor, keyboard, and mouse, you can also log in to the Ubuntu™ desktop and open a terminal window.

  2. At the Linux command line, enter ifconfig.

  3. Locate the IP address following inet addr in the command line output. For example, locate inet addr: on line 9 of the following output:

    omap login: ubuntu
    Last login: Wed Nov 23 15:40:36 EST 2011 from on pts/1
    Welcome to Ubuntu 11.04 (GNU/Linux 3.0.4-x3 armv7l)
     * Documentation:
    ubuntu@omap:~$ ifconfig
    eth0      Link encap:Ethernet  HWaddr d2:a7:db:b3:c4:81
              inet addr:  Bcast:  Mask:
              inet6 addr: fe80::d0a7:dbff:feb3:c481/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1488  Metric:1
              RX packets:125537 errors:0 dropped:0 overruns:0 frame:0
              TX packets:76 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:18103491 (18.1 MB)  TX bytes:7670 (7.6 KB)
    lo        Link encap:Local Loopback
              inet addr:  Mask:
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              collisions:0 txqueuelen:0
              RX bytes:240 (240.0 B)  TX bytes:240 (240.0 B)

Related Examples

Was this topic helpful?