LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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 06-09-2005, 03:18 AM   #1
vmniza
LQ Newbie
 
Registered: Feb 2004
Posts: 19

Rep: Reputation: 1
sending a message from the server to all machines on the network


I want to send a message for eg., a message like " YOUR MACHINE WILL SHUTDOWN IN 5 MINUTES " from a server machine to all machines in the network. How is it possible ?
 
Old 06-09-2005, 03:35 AM   #2
Simon Bridge
LQ Guru
 
Registered: Oct 2003
Location: Waiheke NZ
Distribution: Ubuntu
Posts: 9,211

Rep: Reputation: 198Reputation: 198
I seem to remember you can do this by sending to x.x.x.255 (the broadcast address - the x.x.x is your network IP) if the hosts have not blocked broadcast in the firewall.
[edit:] Just checked - http://www.linktionary.com/b/broadcast_address.html - yup, this is right. [/edit]

It will have occurred to you to write a script listing all the host IP's which will send a specified message to everyone on the list?

You can also set an email template which has everyone's IP's in the carbons line. (much like the script)

And, everyone can have a shared e-mail for the network.

Last edited by Simon Bridge; 06-09-2005 at 03:42 AM.
 
Old 06-09-2005, 03:39 AM   #3
intense
LQ Newbie
 
Registered: Nov 2003
Location: Belgium
Distribution: Slackware / Ubuntu
Posts: 25

Rep: Reputation: 15
you can use the 'wall' command to send message to all users i think.
and I know that in windows you can do a net send to the network broadcast adress (ending with 255 like stated in the post above.

to send a message to all users on one machine:
as root type:
Code:
wall
press enter
type the message you want to send (it can be more than one line )
press enter again
press control+D

greetz

Last edited by intense; 06-09-2005 at 03:42 AM.
 
  


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
Broadcasting message to Windows machines muldereric Linux - Newbie 4 08-11-2005 09:36 AM
Sending message from server to client paulwong Linux - Networking 6 07-22-2005 09:55 AM
Downloading from pop server then sending to computers within my network shmore Linux - Networking 1 01-31-2005 01:35 PM
Downloading from pop server then sending to computers within my network shmore Linux - Software 1 01-30-2005 04:54 PM
Sending message ieuuk Linux - Networking 2 08-29-2004 08:47 AM

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

All times are GMT -5. The time now is 04:19 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