Linux >
Learn the internal IP address of your Raspberry Pi. You can either run ifconfig to get it, or script it.
Wired ∞
\ifconfig eth0 | \grep inet\ addr: | \cut -d':' -f2 | \cut -d' ' -f1
Wireless ∞
\ifconfig wlan0 | \grep inet\ addr: | \cut -d':' -f2 | \cut -d' ' -f1
Last updated 2020-11-22 at 00:43:52
