Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re: How to send Broadcast message

by fglock (Vicar)
on Jun 25, 2003 at 14:27 UTC ( [id://268868]=note: print w/replies, xml ) Need Help??


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

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://268868]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others about the Monastery: (4)
As of 2024-04-20 00:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found