Skip to content

Instantly share code, notes, and snippets.

@luzhuomi
Created November 1, 2013 05:48
Show Gist options
  • Save luzhuomi/7261386 to your computer and use it in GitHub Desktop.
Save luzhuomi/7261386 to your computer and use it in GitHub Desktop.
Make Your Pi to read out its ip address
# install espeak
# sudo apt-get install espeak
# include the following command in your /etc/rc.local
/sbin/ifconfig eth0 | grep 'inet addr:' | cut -d: -f2 | awk '{ print $1}' | sudo espeak
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment