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 02-05-2006, 11:15 AM   #1
BuckRogers01
Member
 
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
MensaWater
Guru
 
Registered: May 2005
Location: Atlanta Georgia USA
Distribution: Redhat (RHEL), CentOS, Fedora, Debian, FreeBSD, HP-UX, Solaris, SCO
Posts: 6,009
Blog Entries: 5

Rep: Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787Reputation: 787
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.
 
  


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
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


All times are GMT -5. The time now is 03:21 AM.

Main Menu
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