  | | | how to send messages over network from linux server towindowsmachines | how to send messages over network from linux server towindowsmachines 2006-08-31 - By Aftab Ahmed Khan
Back Thanks a lot!
:-)
__ __
From: taroon-list-bounces@(protected) [mailto:taroon-list-bounces@(protected)] On Behalf Of Sharpe, Sam J Sent: Wednesday, August 30, 2006 4:49 PM To: Discussion of Red Hat Enterprise Linux 3 (Taroon) Subject: RE: how to send messages over network from linux server towindowsmachines
smbclient -M <machinename>
>From the manpage:
-M NetBIOS name This options allows you to send messages, using the "WinPopup" protocol, to another computer. Once a connection is established you then type your message, pressing ^D (control-D) to end.
If the receiving computer is running WinPopup the user will re- ceive 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 message 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 message.
See the message command parameter in the smb.conf(5) for a de- scription of how to handle incoming WinPopup messages in Samba.
Note: Copy WinPopup into the startup group on your WfWg PCs if you want them to always be able to receive messages.
__ __
From: taroon-list-bounces@(protected) [mailto:taroon-list-bounces@(protected)] On Behalf Of Aftab Ahmed Khan Sent: 30 August 2006 11:41 To: taroon-list@(protected) Subject: how to send messages over network from linux server to windowsmachines
Hi,
Could somebody tell me how to send messages over a network from RHEL AS 3.4 to Windows machines.
As we use "net send <pc-name> (message)" in windows to windows messaging.
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the PARCO. Finally, the recipient should check this email and any attachments for the presence of viruses. The PARCO accepts no liability for any damage caused by any virus transmitted by this email.'
-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. Please note that any views or opinions presented in this email are solely those of the author and do not necessarily represent those of the PARCO. Finally, the recipient should check this email and any attachments for the presence of viruses. The PARCO accepts no liability for any damage caused by any virus transmitted by this email.?
<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft -com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns="http: //www.w3.org/TR/REC-html40">
<head> <meta http-equiv=Content-Type content="text/html; charset=us-ascii"> <meta name=Generator content="Microsoft Word 11 (filtered medium)"> <!--[if !mso]> <style> v\:* {behavior:url(#default#VML);} o\:* {behavior:url(#default#VML);} w\:* {behavior:url(#default#VML);} .shape {behavior:url(#default#VML);} </style> <![endif]--> <style> <!-- /* Font Definitions */ @(protected) {font-family:Wingdings; panose-1 (See http://ose-1.ora-code.com):5 0 0 0 0 0 0 0 0 0;} @(protected) {font-family:Tahoma; panose-1 (See http://ose-1.ora-code.com):2 11 6 4 3 5 4 4 2 4;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {margin:0in; margin-bottom:.0001pt; font-size:12.0pt; font-family:"Times New Roman";} a:link, span.MsoHyperlink {color:blue; text-decoration:underline;} a:visited, span.MsoHyperlinkFollowed {color:purple; text-decoration:underline;} span.EmailStyle17 {mso-style-type:personal; font-family:Arial; color:windowtext;} span.EmailStyle18 {mso-style-type:personal-reply; font-family:Arial; color:navy;} @(protected) Section1 {size:8.5in 11.0in; margin:1.0in 1.25in 1.0in 1.25in;} div.Section1 {page:Section1;} --> </style>
</head>
<body lang=EN-US link=blue vlink=purple>
<div class=Section1>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'>Thanks a lot! <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Wingdings><span style='font-size:10.0pt;font-family:Wingdings;color:navy'>J</span></font><font size=2 color=navy face=Arial><span style='font-size:10.0pt;font-family:Arial; color:navy'><o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>
<div>
<div class=MsoNormal align=center style='text-align:center'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabindex=-1>
</span></font></div>
<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt; font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> taroon-list-bounces@(protected) [mailto:taroon-list-bounces@(protected)] <b><span style='font-weight:bold'>On Behalf Of </span></b>Sharpe, Sam J<br> <b><span style='font-weight:bold'>Sent:</span></b> Wednesday, August 30, 2006 4:49 PM<br> <b><span style='font-weight:bold'>To:</span></b> Discussion of Red Hat Enterprise Linux 3 (Taroon)<br> <b><span style='font-weight:bold'>Subject:</span></b> RE: how to send messages over network from linux server towindowsmachines</span></font><o:p></o:p></p>
</div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'> <o:p></o:p></span></font></p>
<div>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:blue'>smbclient -M <machinename> </span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:blue'>From the manpage:</span></font><o:p></o:p> </p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:blue'> -M NetBIOS name<br> This options allows you to send messages, using the "WinPopup" <br> protocol, to another computer. Once a connection is established<br> you then type your message, pressing ^D (control-D) to end.</span></font><o:p>< /o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:blue'> If the receiving computer is running WinPopup the user will re-<br> ceive the message and probably a beep. If they are not running<br> WinPopup the message will be lost, and no error message will <br> occur.</span></font><o:p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:blue'> The message is also automatically truncated if the message is<br> over 1600 bytes, as this is the limit of the protocol.</span></font><o:p></o:p> </p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:blue'> One useful trick is to cat the message throughsmbclient. For <br> example: cat mymessage.txt | smbclient -M FRED will send the <br> message in the file mymessage.txt to the machine FRED.</span></font><o:p></o:p> </p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:blue'> You may also find the -U and-I options useful, as they allow <br> you to control the FROM and TO parts of the message.</span></font><o:p></o:p>< /p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:blue'> See the message command parameter in the smb.conf(5) for a de-<br> scription of how to handle incoming WinPopup messages in Samba.</span></font><o :p></o:p></p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'> <o:p></o:p></span></font></p>
</div>
<div>
<p class=MsoNormal><font size=2 color=blue face=Arial><span style='font-size: 10.0pt;font-family:Arial;color:blue'> Note: Copy WinPopup into the startup group on your WfWg PCs if<br> you want them to always be able to receive messages.</span></font><o:p></o:p>< /p>
</div>
<div>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'><o:p> </o:p></span></font></p>
</div>
<blockquote style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt; margin-left:3.75pt;margin-top:5.0pt;margin-right:0in;margin-bottom:5.0pt'>
<div class=MsoNormal align=center style='text-align:center'><font size=3 face="Times New Roman"><span style='font-size:12.0pt'>
<hr size=2 width="100%" align=center tabIndex=-1>
</span></font></div>
<p class=MsoNormal style='margin-bottom:12.0pt'><b><font size=2 face=Tahoma> <span style='font-size:10.0pt;font-family:Tahoma;font-weight:bold'>From:</span></font ></b><font size=2 face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> taroon-list-bounces@(protected) [mailto:taroon-list-bounces@(protected)] <b><span style='font-weight:bold'>On Behalf Of </span></b>Aftab Ahmed Khan<br> <b><span style='font-weight:bold'>Sent:</span></b> 30 August 2006 11:41<br> <b><span style='font-weight:bold'>To:</span></b> taroon-list@(protected)<br> <b><span style='font-weight:bold'>Subject:</span></b> how to send messages over network from linux server to windowsmachines</span></font><o:p></o:p></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>Hi,<o:p></o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'>Could somebody tell me how to send messages over a network from RHEL AS 3.4 to Windows machines. <o:p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Arial><span style='font-size:12.0pt; font-family:Arial'>As we use <b><span style='font-weight:bold'>“net send <pc-name> (message)”</span></b> in windows to windows messaging.<o :p></o:p></span></font></p>
<p class=MsoNormal><font size=3 face=Arial><span style='font-size:12.0pt; font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt; font-family:Arial'><o:p> </o:p></span></font></p>
<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size: 12.0pt'><br> -- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----<br> This email and any files transmitted with it are confidential and <br> intended solely for the use of the individual or entity to whom they are <br> addressed. If you have received this email in error please notify the <br> system manager. Please note that any views or opinions presented in this <br> email are solely those of the author and do not necessarily represent <br> those of the PARCO. Finally, the recipient should check this email and <br> any attachments for the presence of viruses. The PARCO accepts no <br> liability for any damage caused by any virus transmitted by this email.’ <o:p></o:p></span></font></p>
</blockquote>
</div>
<br>-- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ---- ----<br> This email and any files transmitted with it are confidential and <br> intended solely for the use of the individual or entity to whom they are <br> addressed. If you have received this email in error please notify the <br> system manager. Please note that any views or opinions presented in this <br> email are solely those of the author and do not necessarily represent <br> those of the PARCO. Finally, the recipient should check this email and <br> any attachments for the presence of viruses. The PARCO accepts no <br> liability for any damage caused by any virus transmitted by this email.?</body>
</html>
-- Taroon-list mailing list Taroon-list@(protected) https://www.redhat.com/mailman/listinfo/taroon-list
|
|
 |