Created
June 25, 2018 03:25
-
-
Save kentsommer/b12b0594a2c13c1db7804f9edebd96ac to your computer and use it in GitHub Desktop.
Find velodyne IP
This file contains 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
read -p 'Ethernet device to use (can find with ifconfig): ' ethdev | |
sudo tcpdump -i $ethdev port 2368 -n | awk '{ print gensub(/(.*)\..*/,"\\1","g",$3), $4, gensub(/(.*)\..*/,"\\1","g",$5) }' | cut -d ' ' -f1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment