LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   Scaning devices on the network (https://www.linuxquestions.org/questions/linux-networking-3/scaning-devices-on-the-network-460113/)

GSalah 07-01-2006 05:25 PM

Scaning devices on the network
 
Dear all ,
please , if I have a simple network and I want to list the names and the IP address for each device on the network that is in range.

what command should I use ??
..Thanks

ScottReed 07-01-2006 07:07 PM

Play around with nmap for a while.

This should wet your whistle for now...

Code:

nmap -sP 192.168.0.0/24
NOTE: Replace 192.168.0.0/24 with your network range. For example, 192.168.1.0/24 or 10.16.1.0/24

Scott

GSalah 07-02-2006 02:58 AM

command not found
 
aha , but when I wrote it , the shell replys
-bash : nmap: command not found

i'm using redhat 9

why ?

cs-cam 07-02-2006 03:09 AM

Obviously nmap isn't installed. Go install it.

GSalah 07-02-2006 05:58 AM

thank you , i installed it ,every thing is okay now , I saw the other devices , but how can see the shared files provided from any one of them , and how can i access them for copy or edit ?

cs-cam 07-02-2006 06:38 AM

Are they Windows or linux machines and how are the files "shared"? Start posting more info or you won't get very helpful answers.

GSalah 07-02-2006 07:01 AM

sorry, yes the files are WindowsXp shared files and the IP of this device appeared in the nmap list. I meant by SHARED files , that files that appeared in My Network devices and Workgroup in Windows system .

cs-cam 07-02-2006 08:13 AM

Google for "Samba tutorial".


All times are GMT -5. The time now is 04:30 PM.