in reply to How to send Broadcast message

I can send a text message from a Windows machine to another Windows machine with this:

perl -e " system 'net send fglock hello world ' "

You can probably do this from Linux using one of the SMB tools. I'll make some tests.

Update: smbclient -M COMPUTERNAME will do it. There must be a way to do broadcast, but I can't find it

Replies are listed 'Best First'.
Re: Re: How to send Broadcast message
by Grygonos (Chaplain) on Jun 25, 2003 at 16:20 UTC
    I think if you do
    net send hello
    it sends to all. I remember doing this in the dorm.. but can't really test that here at work..
Re: Re: How to send Broadcast message
by ralijani (Acolyte) on Jun 28, 2003 at 14:15 UTC
    hi dear thanks for your reply. but when i run smb and run smbclient -M hostname i get : root@SEPEHR samba# smbclient -M dns added interface ip=192.168.10.2 bcast=192.168.10.255 nmask=255.255.255.0 Cannot resolve name dns#0x3 root@SEPEHR samba# i did not configure samba just i run it. what is my problem. i can ping : ping dns and it reply how could i solve my problem. Best Regurd