Help answer threads with 0 replies.
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 02-05-2006, 11:15 AM   #1
Registered: Mar 2005
Distribution: Gentoo
Posts: 232

Rep: Reputation: 30
How to scan network for active IP's?

Hi, On my (web access based) router there is a page thta allows me to view all connected computers (or network printers or xbox's etc). How can I do this. The reason I would like to do this is because I'm writing a script that will scan my network, then report all the computers that are active (this is for a web-based network administration system I'm designing).

Any ideas or info would be great, buck
Old 02-05-2006, 11:33 AM   #2
LQ Guru
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, CoreOS, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,943
Blog Entries: 14

Rep: Reputation: 1160Reputation: 1160Reputation: 1160Reputation: 1160Reputation: 1160Reputation: 1160Reputation: 1160Reputation: 1160Reputation: 1160
Not quite sure what you're asking. Is it how to get the page or is it how do you perform a similar function in Linux?

You can get the page by using lynx or curl (or any other text browser) to dump it for your script.

On the Linux box itself you can see active connections with "netstat -a". You can also use "lsof -i" - this will show not only the IPs and ports in use but also show you which process they are associated with.

External to the box you can run port scans from other systems to see what they detect open on it.


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
iwlist and active scan hjd17 Linux - Software 1 04-12-2005 09:37 AM
find out ip's in your local network ody1 Linux - Networking 3 03-23-2005 11:02 AM
2NICs 2 IP's 1 network strangeslack Linux - Networking 1 02-14-2005 06:44 AM
adding new IP's to Network card david_wliu Linux - Networking 1 03-18-2003 10:00 AM
Individual IP's on a network goatleg2 Linux - General 3 10-18-2002 08:44 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 01:38 PM.

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