Search icon CANCEL
Subscription
0
Cart icon
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Building Networks and Servers using Beaglebone

You're reading from  Building Networks and Servers using Beaglebone

Product type Book
Published in May 2015
Publisher
ISBN-13 9781784390204
Pages 110 pages
Edition 1st Edition
Languages

Installing Nmap


Nmap is designed to allow the scanning of networks in order to determine which hosts are up and what services are they offering. Nmap supports a large number of scanning options, which are overkill for what will be done in this book.

Nmap is installed with the following command:

sudo apt-get install nmap

Answer Yes to install Nmap and its dependent packages.

Using Nmap

After it is installed, run the following command to see all the hosts that are currently on the network:

nmap –T4 –F <your_local_ip_range>

The option -T4 sets the timing template to be used, and the -F option is for fast scanning. There are other options that can be used and found via the Nmap manpage.

Here, your_local_ip_range is within the range of addresses assigned by your router.

Here's a node scan of my local network. If you have a lot of devices on your local network, this command may take a long time to complete.

Now, I know that I have more nodes on my network, but they don't show up. This is because...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime}