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 to windowsmachines

how to send messages over network from linux server to windowsmachines

2006-08-30       - By Sharpe, Sam J

 Back
Reply:     1     2  


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>&nbsp;</DIV>
<DIV><SPAN class=291554711-30082006></SPAN><FONT face=Arial><FONT
color=#0000ff><FONT
size=2>smbclient&nbsp;-M&nbsp;&lt;machinename&gt;</FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial><FONT color=#0000ff><FONT
size=2></FONT></FONT></FONT>&nbsp;</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>&nbsp;</DIV>
<DIV><FONT><FONT><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=291554711-30082006>&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
"WinPopup"<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></FONT></FONT></FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT><FONT><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=291554711-30082006>&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></FONT></FONT></FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT><FONT><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=291554711-30082006>&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></FONT></FONT></FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT><FONT><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=291554711-30082006>&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></FONT></FONT></FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT><FONT><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=291554711-30082006>&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></FONT></FONT></FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT><FONT><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=291554711-30082006>&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></FONT></FONT></FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT><FONT><FONT face=Arial><FONT color=#0000ff><FONT size=2><SPAN
class=291554711-30082006>&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.<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>&nbsp;</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">&#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 face=Arial size=3><SPAN
 style="FONT-SIZE: 12pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT><
/P>
 <P class=MsoNormal><FONT face=Arial size=2><SPAN
 style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</o:p></SPAN></FONT><
/P>
 <P class=MsoNormal><FONT face=Arial size=2><SPAN
 style="FONT-SIZE: 10pt; FONT-FAMILY: Arial"><o:p>&nbsp;</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.&#8217; </BLOCKQUOTE></BODY></HTML>

--
Taroon-list mailing list
Taroon-list@(protected)
https://www.redhat.com/mailman/listinfo/taroon-list