LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General
User Name
Password
General This forum is for non-technical general discussion which can include both Linux and non-Linux topics. Have fun!

Notices

Reply
 
Search this Thread
Old 06-06-2002, 12:19 PM   #1
mikeyt_333
Member
 
Registered: Jun 2001
Location: Up in the clouds
Distribution: Fedora et al.
Posts: 353

Rep: Reputation: 30
Broadcasting Server Messages to the network.


I just came accross this post:

http://www.linuxquestions.org/questi...hlight=%2Fevil

And what he is referring to is exactly what I would like to be able to do so I can notify users when the server is rebooting etc... Sounds like he had some mal-intent, but this could really be useful to me. Does anybody have a clue how to do something similar to this? What I would like to do is broadcast a message from my server (RH 7.2) to the user systems (windows 98), what the messages will be, I'm not sure yet, but I know one I will want to have is the shutdown notification. Does Linux have this built in already? How does one tap this resource?

Thanks in Advance!
Mike.
 
Old 06-06-2002, 04:30 PM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,398

Rep: Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964Reputation: 1964
you'd use the wall command. i *think* that if you install the rwalld network service then the rwall command will broadcast to the whole network
 
Old 06-07-2002, 10:57 AM   #3
mikeyt_333
Member
 
Registered: Jun 2001
Location: Up in the clouds
Distribution: Fedora et al.
Posts: 353

Original Poster
Rep: Reputation: 30
This works with users logged into a host, is there a way to do it when users aren't logged into a host, my server is strictly a file server not a domain server of any kind. Could it maybe be done using Instant Messenger? I will research some more ;-)
 
Old 06-13-2002, 07:55 AM   #4
Mik
Senior Member
 
Registered: Dec 2001
Location: The Netherlands
Distribution: Ubuntu
Posts: 1,316

Rep: Reputation: 46
You can send messages to windows machines using the smbclient program. You can even set the name who it's coming from too. In windows you can use the wildcard * to send to everybody on the same domain. I don't know if that will work from a linux machine. I really don't want to try it here.

smbclient -U Reminder -M hostname

The command expects you to type the message and then use ctrl-d to terminate. But I'm sure you could redirect the input so you can send a fixed message.
 
  


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
network - strange console messages on dmesg ganja_guru Linux - Software 4 01-18-2005 05:58 AM
downloading some messages from the server dizzutch Linux - Software 0 12-08-2004 03:14 PM
how to stop network connection messages? zero79 Debian 8 11-04-2004 09:51 AM
Network error/Info messages l2g Slackware 1 06-08-2004 01:58 PM
Sending messages across a network... kierl Linux - General 3 04-07-2003 01:11 PM


All times are GMT -5. The time now is 09:43 PM.

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