F9TBZ


        Solved: Raspberry Pi + IP is just pi..pi..

Ноw to find out Raspbery Pi IP address for headless usage
---------------------------------------------------------

Install into raspbian after update/upgrade have been made.

  sudo apt-get install mpg321 festival
  sudo vi /etc/rc.local

Add following line before the line containing text 'exit 0' so:

  ..
  ip -4 addr show eth0 | grep -oP '(?<=inet\s)\d+(\.\d+){3}' | festival --tts
  exit 0

Configure audio output

  amixer cset numid=3 2 HDMI
  amixer cset numid=3 1 3.5' jack
  amixer cset numid=3 0 auto

Now listen before login.

Links
-----

  http://elinux.org/RPi_Text_to_Speech_%28Speech_Synthesis%29
  http://stackoverflow.com/questions/8529181
    /terminal-command-to-get-just-ip-address-and-nothing-else
  https://www.raspberrypi.org/documentation/configuration
    /audio-config.md
  https://www.raspberrypi.org/forums/viewtopic.php?f=31&t=31567
