added bash script and network adaptor name printout program

i wanted to make the scan detector find the non-loopback ip addr, so
the bash code along with a network adaptor name printout program should
do the job.