[Network] Auto Network Discovery (Hostname)

Change Hostname

> sudo nano /etc/hostname
> sudo nano /etc/hosts (change 127.0.1.1 row)
reboot

Verify Broadcasting is running

> service --status-all
avahi-daemon should be up and running (+)

Discover IP addresses and Ports in LAN

Install package nmap:

> nmap --open -p22 192.168.100.0/24 (scan port 22, listed only ip that is alive)
> nmap -v --open -sn 192.168.100.0/24 (ping, instead of ports)

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s