Is it possible to send messages over Samba?

concentricpuddle

Well-Known Member
Joined
Jul 8, 2009
Messages
241
Reaction score
2
So there's two PCs networked at home. One's running Debian, the other WinXP. Is there some (preferably simple) way to send a message over the network? I'm looking for a command that I can do

Code:
$: msg 'Dude, I just discovered this cool program that can send messages over the network. No more shouting!'

with. Then on his side a message box pops up or something.

Please tell me this exists.
 
Last edited:
Yes you can, but the messenger service needs to be running on the Windows box (normally disabled these days).

You would use smbclient on debian to send the message. Check the man page for it.

I'm not sure about Win -> Debian though.

On the win box you'd type: net send machine_name message
Not sure what you'd need to have running on the linux box to receive those messages tho.
 
Install linpopup (might be part of distro to) in order to send/receive messages via GUI.
 
Yes you can, but the messenger service needs to be running on the Windows box (normally disabled these days).

You would use smbclient on debian to send the message. Check the man page for it.

I'm not sure about Win -> Debian though.

On the win box you'd type: net send machine_name message
Not sure what you'd need to have running on the linux box to receive those messages tho.

Thanks. I just found out that I could use smbclient -M nbname, but couldn't get it to work. Now I know why :D

Install linpopup (might be part of distro to) in order to send/receive messages via GUI.

Thanks man. Will give it a try.
 
Top
Sign up to the MyBroadband newsletter
X