Mailing List
Home
Forum Home
Linux - General Red Hat Linux discussion list
Installation - Getting started with Red Hat Linux
Enterprise Linux 3 - Discussion of Red Hat Enterprise Linux 3 (Taroon)
Red Hat Linux 9 - Discussion of Red Hat Linux 9 (Shrike)
Red Hat Linux 7.2 - Discussion of Red Hat Linux 7.2 (Enigma)
Red Hat Linux 7.3 - Discussion of Red Hat Linux 7.3 (Valhalla)
Apache Web Server
Oracle database, Microsoft SQL server ...
Subjects
application/x mplayer2 plugin
RPM error: db4 error(16) from dbenv >remove: Device or resource
   busy
Command stream end of file while reading
X Windows problem (xauth)
Upgrading openoffice 1 1 rpm
FTP: connection refused
FTP: connection refused
mount: /dev/cdrom: is not a valid block device
Dell Precision 650, RedHat 9, no sound
how to trace the cause resulting in the crash of bind server
Virus on the list
UNINSTALL RPM MYSQL
usb pen drives: mounting as a user
broadcom network interface
make mrproper
sendmail configuration on redhat
Couldn 't open PID file /var/run/named/named pid Permission denied
Promise 378 controller
kernel 2 6 and /dev/sound/mixer not found
Problem using up2date
mrtg step by step howto/configuration for a newbie?
Compiling and Installing Kernel 2 6
Can 't locate module ppp0, can 't locate module ppp compress 21
HOW I CAN MAKE BOOTABLE FLOPPY DISKET
Lotus Notes under Wine
/etc/security/limits conf question
Intel E/1000 driver
Command stream end of file while reading
rpm database corrupt
qla2300 modules
 
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>&nbsp;</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>&nbsp;</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>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>&nbsp;<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&nbsp;-M&nbsp;&lt;machinename&gt;
</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'>&nbsp;<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'>&nbsp;<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'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; -M
NetBIOS name<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
This&nbsp; options allows you to send messages, using the &quot;WinPopup&quot;
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
protocol, to another computer. Once a connection is established<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
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'>&nbsp;<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'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
If the receiving computer is running WinPopup the user will re-<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
ceive the message and probably a beep. If they are not&nbsp; running<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
WinPopup&nbsp; the&nbsp; message&nbsp; will be lost, and no error message will
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
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'>&nbsp;<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'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
The message is also automatically truncated if the&nbsp; message&nbsp; is<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
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'>&nbsp;<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'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
One&nbsp; useful&nbsp; trick&nbsp; is to cat the message throughsmbclient. For
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
example:&nbsp; cat mymessage.txt | smbclient -M FRED&nbsp; will send&nbsp; the
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
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'>&nbsp;<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'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
You&nbsp; may&nbsp; also&nbsp; find the -U and-I options useful, as they allow
<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
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'>&nbsp;<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'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
See the message command parameter in the smb.conf(5) for a&nbsp; de-<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
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'>&nbsp;<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'>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
Note: Copy WinPopup into the startup group on your WfWg PCs&nbsp; if<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
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>&nbsp;</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>&nbsp;</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'>&#8220;net send
&lt;pc-name&gt; (message)&#8221;</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>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</o:p></span></font></p>

<p class=MsoNormal><font size=2 face=Arial><span style='font-size:10.0pt;
font-family:Arial'><o:p>&nbsp;</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.&#8217;
<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