Documentation Center

  • Trial Software
  • Product Updates

Contents

Get IP Address of PandaBoard Hardware

You can get the IP address of the PandaBoard 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 PandaBoard Hardware.

If Ethernet port on the PandaBoard 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 GPIO_121 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 using a command line session:

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

    Alternatively, you can use a terminal window after accessing the Linux desktop as described in:

  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:172.28.144.36 on line 3 of the following output:

    root@panda-ah-rdlugyhe1:~# ifconfig
    eth0      Link encap:Ethernet  HWaddr 0a:40:27:be:3b:0a
              inet addr:172.28.144.36  Bcast:172.28.144.255  Mask:255.255.255.0
              inet6 addr: fe80::840:27ff:febe:3b0a/64 Scope:Link
              UP BROADCAST RUNNING MULTICAST  MTU:1488  Metric:1
              RX packets:15137 errors:0 dropped:0 overruns:0 frame:0
              TX packets:1080 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:5118973 (5.1 MB)  TX bytes:144806 (144.8 KB)
    
    lo        Link encap:Local Loopback
              inet addr:127.0.0.1  Mask:255.0.0.0
              inet6 addr: ::1/128 Scope:Host
              UP LOOPBACK RUNNING  MTU:16436  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:0
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    wlan0     Link encap:Ethernet  HWaddr 0a:00:27:be:3b:0a
              UP BROADCAST MULTICAST  MTU:1500  Metric:1
              RX packets:0 errors:0 dropped:0 overruns:0 frame:0
              TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
              collisions:0 txqueuelen:1000
              RX bytes:0 (0.0 B)  TX bytes:0 (0.0 B)
    
    root@panda-ah-rdlugyhe1:~#
    
    

Related Examples

Was this topic helpful?