LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-31-2008, 01:10 AM   #1
sathiyamoorthy
Member
 
Registered: Feb 2008
Posts: 32

Rep: Reputation: 15
new system alert


When a system is connected to a network i need to get an alert, how could i do that ????

Am using debian as DHCP server, and most of the machine are Debian.
 
Old 04-01-2008, 03:31 AM   #2
BugZRevengE
Member
 
Registered: Oct 2005
Location: Australia
Distribution: Slackware & Kubuntu & CentOS
Posts: 106

Rep: Reputation: 17
Do you want to know if a specific computer is plugged in, or just any computer?

You could check with the DHCP server, but unless you are sure the system will use DHCP, then it is not reliable.

With an answer to the first question, a more detailed reply would be possible.

Looking forward to helping more...
 
Old 04-01-2008, 11:16 PM   #3
sathiyamoorthy
Member
 
Registered: Feb 2008
Posts: 32

Original Poster
Rep: Reputation: 15
DHCP or non DHCP, alert me when a new system is connected

Thanks for YOUR help.

Newly connected system may or may not contact DHCP, but i want to know "a new system is connected".

I can say simply that, i need to get an alert when a new system is connected to my network, how could i do that.

Awaiting for your reply.
 
Old 04-02-2008, 10:38 PM   #4
BugZRevengE
Member
 
Registered: Oct 2005
Location: Australia
Distribution: Slackware & Kubuntu & CentOS
Posts: 106

Rep: Reputation: 17
Since you cannot rely on using the DHCP server, we can rule that out.... I can currently think of two options:
1. Use a smart switch that has this functionality
2. Run a script from cron on your linux server that pings each ip address on your network, and lets you know when something new responds. This is not going to be reliable, as the new system could have a software firewall, that blocks ping requests (echo).

If you are using the server as something new machines want to access, you could monitor logs, etc... especially if you are using the server as a gateway with internet connection sharing on it.
 
Old 04-03-2008, 12:37 AM   #5
chrism01
LQ Guru
 
Registered: Aug 2004
Location: Sydney
Distribution: Centos 7.7 (?), Centos 8.1
Posts: 17,735

Rep: Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523Reputation: 2523
In theory you could use nmap instead of ping (I believe).
 
Old 04-03-2008, 05:39 AM   #6
sathiyamoorthy
Member
 
Registered: Feb 2008
Posts: 32

Original Poster
Rep: Reputation: 15
worthy

thanks guyz...

It seems useful for me.

This SMART switch i can't go right now, but this cron for doing the ping and reporting me i can, and it seems good idea.

Yes in cron i can use ping or nmap ...

THANKS.
 
  


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
Mail Alert linux_linux Linux - Newbie 3 03-23-2008 04:44 PM
Network Alert System peaceofcrap2001 Linux - Networking 2 10-10-2004 11:40 AM
Newbie Alert!!! Sidewinder75 Linux - Hardware 1 09-07-2004 10:21 AM
Trend Microsystem Antivirus Alert in Booting my system... antoniojo Linux - Software 1 10-21-2003 08:50 AM
ALERT!!! ALERT!!! I messed up the UNIX!!! Firew Linux - Software 1 11-05-2001 11:48 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 05:52 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration