add external ip detection to beaglebone
external ip bugfix