Nachrichten über das Lan schicken

D

DarkShadow18

Grünschnabel
Ich bin ein win programmierer und bin seit ein halbes jahr auf linux umgestiegen. unter windows kann man mit dem befehl net send ip text nachrichten verschicken. jetzt meine frage:

auf dem computer von mein vater ist win 2000 und bei mir Mandrake 9.2. mit welchem befehl kann ich nachrichten verschicken und kann es dann mein vater genau so lesen wie unter win (net send)??

Mit freundlichen grüßen

Martin
 
smbclient -M sollte dir helfen ... Notfalls schau mal in die smbclient manpagen ;)

-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 mes-
sage, pressing ^D (control-D) to end.
 
Danke das ihr mir so schnell geschrieben habts.

Hab mal ne kleine Frage. Ich hab das mal ausprobiert mit dem smbclient und das programm und bei beiden kann ich nicht mal mir selber eine nachricht schicken. da kommt immer diese felhermeldung

Ich bin noch vom win 2000 und XP gewohnt also kann es sein das es nicht richtig ist.
eingabe: smbclient -M 192.168.0.2 hallo
ausgabe: addes interface ip=192.168.0.2 bcast=192.168.0.255 nmask=255.255.255.0
message start: ERRSRV - ERRmsgoff (Not receiving messages.)


Mit feundlichen Grüßen

Martin
 
Auszug aus man smbclient:

Code:
-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  mes-
              sage, pressing ^D (control-D) to end.

              If  the receiving computer is running WinPopup the user will receive the mes-
              sage 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 mymes-
              sage.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 description 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.

HTH
 

Ähnliche Themen

Mit smbclient Nachricht an Windows 7 schicken

Installationsbericht SuSE 9.2 via Mini-ISO und ftp

Linux Systemadministration v. Jochen Hein

Zurück
Oben