Created
November 1, 2013 05:48
-
-
Save luzhuomi/7261386 to your computer and use it in GitHub Desktop.
Make Your Pi to read out its ip address
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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