Re: broadcast messages
Alexander Krogloth schrieb:
mahlzeit
ich hab hier ein netz mit ca. 10 rechnern die am debian router
(fileserver/proxy/firewall/...) haengen, und moechte wenn ich an dem
recher irgendwelche wartungsarbeiten durchfuehren muss eine msg an die
leute schrieebn wo sich dann unter windows ein fenster oeffnet und meine
msg drinsteht ...
unter linux muss das nicht unbedingt funktioniern
hat hier wer ne loesung / idee?
mfg ALEX
man smbclient:
....
-M NetBIOS name
This options allows you to send messages, using the
"WinPopup" protocol, to another computer. Once a connec-
tion is established you then type your message, pressing
^D (control-D) to end.
If the receiving computer is running WinPopup the user
will receive the message and probably a beep. If they
are not running WinPopup the message will be lost, and
no error message will occur.
The message is also automatically truncated if the mes-
sage is over 1600 bytes, as this is the limit of the
protocol.
One useful trick is to cat the message throughsmbclient.
For example: cat mymessage.txt | smbclient -M FRED
will send the message in the file mymessage.txt to the
machine FRED.
You may also find the -U and-I options useful, as they
allow you to control the FROM and TO parts of the mes-
sage.
See the message command parameter in the smb.conf(5) for
a description of how to handle incoming WinPopup mes-
sages in Samba.
Note: Copy WinPopup into the startup group on your WfWg
PCs if you want them to always be able to receive mes-
sages.
...
MfG
Nico
Reply to: