  | | | how to send messages over network from linux server to windowsmachines | how to send messages over network from linux server to windowsmachines 2006-08-30 - By Sharpe, Sam J
Back 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.'
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML xmlns="http://www.w3.org/TR/REC-html40" xmlns:o = "urn:schemas-microsoft-com:office:office" xmlns:w = "urn:schemas-microsoft-com:office:word"><HEAD> <META http-equiv=Content-Type content="text/html; charset=us-ascii"> <META content="MSHTML 6.00.2900.2963" name=GENERATOR> <STYLE>@(protected) Section1 {size: 8.5in 11.0in; margin: 1.0in 1.25in 1.0in 1.25in; } P.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman" } LI.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman" } DIV.MsoNormal { FONT-SIZE: 12pt; MARGIN: 0in 0in 0pt; FONT-FAMILY: "Times New Roman" } A:link { COLOR: blue; TEXT-DECORATION: underline } SPAN.MsoHyperlink { COLOR: blue; TEXT-DECORATION: underline } A:visited { COLOR: purple; TEXT-DECORATION: underline } SPAN.MsoHyperlinkFollowed { COLOR: purple; TEXT-DECORATION: underline } SPAN.EmailStyle17 { COLOR: windowtext; FONT-FAMILY: Arial; mso-style-type: personal-compose } DIV.Section1 { page: Section1 } </STYLE> </HEAD> <BODY lang=EN-US vLink=purple link=blue> <DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2></FONT> </DIV> <DIV><SPAN class=291554711-30082006></SPAN><FONT face=Arial><FONT color=#0000ff><FONT size=2>smbclient -M <machinename></FONT></FONT></FONT></DIV> <DIV><FONT face=Arial><FONT color=#0000ff><FONT size=2></FONT></FONT></FONT> </DIV> <DIV><FONT><FONT><FONT face=Arial><FONT color=#0000ff><FONT size=2>F<SPAN class=291554711-30082006>rom the manpage:</SPAN></FONT></FONT></FONT></FONT></FONT></DIV> <DIV><FONT><FONT><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN class=291554711-30082006></SPAN></FONT></FONT></FONT></FONT></FONT> </DIV> <DIV><FONT><FONT><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN class=291554711-30082006> -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></FONT></FONT></FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT><FONT><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN class=291554711-30082006> 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></FONT></FONT></FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT><FONT><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN class=291554711-30082006> The message is also automatically truncated if the message is<BR> over 1600 bytes, as this is the limit of the protocol.</SPAN></FONT></FONT></FONT></FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT><FONT><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN class=291554711-30082006> 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></FONT></FONT></FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT><FONT><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN class=291554711-30082006> 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></FONT></FONT></FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT><FONT><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN class=291554711-30082006> 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></FONT></FONT></FONT></FONT></DIV> <DIV> </DIV> <DIV><FONT><FONT><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN class=291554711-30082006> Note: Copy WinPopup into the startup group on your WfWg PCs if<BR> you want them to always be able to receive messages.<BR></SPAN></FONT></FONT></FONT></FONT></FONT></DIV> <DIV><BR></DIV> <BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #0000ff 2px solid; MARGIN-RIGHT: 0px"> <DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left> <HR tabIndex=-1> <FONT face=Tahoma size=2><B>From:</B> taroon-list-bounces@(protected) [mailto:taroon-list-bounces@(protected)] <B>On Behalf Of </B>Aftab Ahmed Khan<BR><B>Sent:</B> 30 August 2006 11:41<BR><B>To:</B> taroon-list@(protected)<BR><B>Subject:</B> how to send messages over network from linux server to windowsmachines<BR></FONT><BR></DIV> <DIV></DIV> <DIV class=Section1> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial">Hi,<o:p></o:p></SPAN></FONT></P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT>< /P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; 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 face=Arial size=3><SPAN style="FONT-SIZE: 12pt; 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 face=Arial size=3><SPAN style="FONT-SIZE: 12pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT>< /P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT>< /P> <P class=MsoNormal><FONT face=Arial size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p> </o:p></SPAN></FONT>< /P></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.’ </BLOCKQUOTE></BODY></HTML>
-- Taroon-list mailing list Taroon-list@(protected) https://www.redhat.com/mailman/listinfo/taroon-list
|
|
 |