substituto a "net send" -> write / talk e .....

nazariy

Power Member
Olá,
bem tenho aqui uma dúvida.
no tempo quando usava @indows :( , descobri um comando com pouca ou nenhuma utilidade para a grande parte dos users, mas para mim em certos momentos era útil, o comando era >net send [IP] [message] se não me engano.
Agora em linux, já descobri write & talk. Só que estes comandos só funcionam entre duas "unix machine".
Acontece que cá em casa sou único utilizador de Linux :( , ainda hei-de mudar esta situação :P .
Alguém conhece comandos deste género, que façam enviar mensagens entre LINUX and @INDOWS dentro duma LAN?
thx
 
Se tiveres o Samba instalado e configurado:
Código:
$ man smbclient
...
       -M NetBIOS name
          [b]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.[/b]

          If the receiving computer is running WinPopup the user will receive 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 through smbclient. 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 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.
 
Se tiveres o Samba instalado e configurado:
Código:
$ man smbclient
...
       -M NetBIOS name
          [B]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.[/B]

          If the receiving computer is running WinPopup the user will receive 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 through smbclient. 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 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.

Heheh it's work.
Cada vez gosto mais de Linux, e .....hmm....@indows
obrigado.
 
Back
Topo