LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 11-04-2005, 02:15 PM   #1
mma8x
Member
 
Registered: Jul 2004
Posts: 164

Rep: Reputation: 30
discovering computers on home network?


any advice on how see who's connected to my network at any time? using a linksys wireless b router; i can use the web-based interface, but that isn't always accurate. which terminal based or graphic front ends can i use to find this info?
 
Old 11-04-2005, 02:41 PM   #2
grim1234
Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware 10.2, Fluxbox.
Posts: 64

Rep: Reputation: 15
nmap is useful.

you can do :

$nmap -sP 192.168.0.*

this will ping all hosts on the subnet 192.168.1. and give you a list of who's online.

However, I think that windows xp sp2 machines, with the windows firewall switched on won't respond (can anyone confirm?).

you could conclusively test for machines by doing :

$nmap -sS -p 1-1500 192.168.1.*

but this scan would take a while to complete.

nmap is selected for install by default on slackware, not sure about other distros.

Hope this helps,

G.
 
Old 11-05-2005, 03:12 PM   #3
crispyleif
Member
 
Registered: Mar 2005
Location: Norway, by the coast
Distribution: Debian and the likes
Posts: 190

Rep: Reputation: 31
Window native firewall and others won't respond to simple ping, I've tested with Kerio and Sygate in win. Also in linux, many firewalls wont respond, like firehol.
 
Old 11-05-2005, 08:28 PM   #4
guzzi
Member
 
Registered: Jun 2004
Location: Lawrence, KS
Distribution: Slackware
Posts: 313

Rep: Reputation: 40
tcpdump

You might enjoy tcpdump.

running tcpdump will show all communication going on on the network.

Windows units tend to chatter a fair amount.
 
Old 11-07-2005, 08:13 AM   #5
grim1234
Member
 
Registered: Aug 2003
Location: UK
Distribution: Slackware 10.2, Fluxbox.
Posts: 64

Rep: Reputation: 15
If you want to look at traffic on the network you will probably find ethereal much better than tcpdump (imo).

G.
 
Old 11-07-2005, 09:12 AM   #6
nx5000
Senior Member
 
Registered: Sep 2005
Location: Out
Posts: 3,307

Rep: Reputation: 57
I like Ntop , it gives some nice graphs.

Nmap is active
Ntop/ethereal/.. are passive, they don't send anything
 
Old 11-07-2005, 05:40 PM   #7
darrellc
LQ Newbie
 
Registered: Dec 2003
Location: Louisville, Kentucky USA
Distribution: Debian
Posts: 5

Rep: Reputation: 0
Smb4k gives a nice tree after you set it up for your network, complete with host names and ip addresses.
 
Old 11-07-2005, 09:23 PM   #8
primo
Member
 
Registered: Jun 2005
Posts: 542

Rep: Reputation: 34
Check the ARP's cache. See arp(8)

Anything related with the broadcast address (that you may see with both ifconfig and netstat) may do as well, but many times ICMP is blocked. Any sub IP protocol is easy to block with these firewalls, so ARP may be better, if your network permits it.
 
  


Reply



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
see other computers on home network daedalusonlinux Linux - Networking 4 11-19-2005 05:40 PM
Images of your home/office(if permitted) computers redhatrosh General 7 11-04-2005 12:26 PM
Discovering Network Workstations spud Programming 2 03-08-2005 03:47 AM
3 PCI Network Cards....... 2 For Home computers and 1 for an Cable Modem gr8razorx Linux - Networking 11 12-01-2003 09:23 AM
Networking Two Home Computers !? SuseBoy Linux - Networking 4 08-20-2003 10:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 05:21 PM.

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
Open Source Consulting | Domain Registration