LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices

Reply
 
Search this Thread
Old 07-01-2006, 06:25 PM   #1
GSalah
LQ Newbie
 
Registered: Jul 2006
Posts: 23

Rep: Reputation: 15
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
 
Old 07-01-2006, 08:07 PM   #2
ScottReed
Member
 
Registered: Dec 2005
Location: Montana
Distribution: Debian "squeeze"
Posts: 157

Rep: Reputation: 30
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

Last edited by ScottReed; 07-01-2006 at 08:09 PM.
 
Old 07-02-2006, 03:58 AM   #3
GSalah
LQ Newbie
 
Registered: Jul 2006
Posts: 23

Original Poster
Rep: Reputation: 15
command not found

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

i'm using redhat 9

why ?

Last edited by GSalah; 07-02-2006 at 05:27 AM.
 
Old 07-02-2006, 04:09 AM   #4
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
Obviously nmap isn't installed. Go install it.
 
Old 07-02-2006, 06:58 AM   #5
GSalah
LQ Newbie
 
Registered: Jul 2006
Posts: 23

Original Poster
Rep: Reputation: 15
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 ?
 
Old 07-02-2006, 07:38 AM   #6
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
Are they Windows or linux machines and how are the files "shared"? Start posting more info or you won't get very helpful answers.
 
Old 07-02-2006, 08:01 AM   #7
GSalah
LQ Newbie
 
Registered: Jul 2006
Posts: 23

Original Poster
Rep: Reputation: 15
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 .
 
Old 07-02-2006, 09:13 AM   #8
cs-cam
Senior Member
 
Registered: May 2004
Location: Australia
Distribution: Gentoo
Posts: 3,544
Blog Entries: 4

Rep: Reputation: 56
Google for "Samba tutorial".
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Where did my network devices go? twoclones Linux - Wireless Networking 1 12-15-2005 03:52 AM
Scaning disk mp4-10 Linux - Software 3 03-22-2005 11:40 AM
scaning usb ports in terminal wisdom Linux - Hardware 3 12-30-2004 09:42 PM
I think someone is scaning me Joey.Dale Linux - Networking 6 01-02-2004 06:20 PM
Postfix/amavisd-new virus scaning only thesnaggle Linux - Software 0 12-16-2003 11:08 AM


All times are GMT -5. The time now is 07:00 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration