1826404 Members
4014 Online
109692 Solutions
New Discussion

Want to send a message

 
Rahul Kumar Gupta
Trusted Contributor

Want to send a message

Hi All,
We are having 25 HP-UX11i (C8000)workstations in NIS domain. I want to send a message from any workstations to
all workstations including NIS server. Is it needed any configuration in NIS server. I have used smbclient commant.

#cat mymsg.txt | smbclient -M hecw
error connecting to 100.1.1.153 (invalid argument)
connection to 100.1.1.153 failed

Is it needed any winpopup protocol.
Plz tell me
Thnx,
Rahul
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Want to send a message

Shalom,

There is no messaging system built into the OS that will fulfill this "winpopup" protocol, which is in fact not a protocol.

All is not lost, you could implement gaim, instant messaging on all these workstations and send out messages to active users in this method.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Hemmetter
Esteemed Contributor

Re: Want to send a message

Hi Rahul,

check if rwall(1m)/rwalld(1m) match your demands.


rgds
HGH
Heiner E. Lennackers
Respected Contributor

Re: Want to send a message

Hi,

with the smbclient you can only send messages to Microsoft windows clients. Not to unix clients.

If you are allowed to open a window on the users workstations you can use a tool like xnotify (http://hpux.cs.utah.edu) for it.

If not you have to implement a own client/server solution for it. This sounds difficultier than it is. If it does not have to be fancy a small script called from the inetd as client and a script which calls telnet or better netcat(http://hpux.cs.utah.edu) in a loop as server will do.
if this makes any sense to you, you have a BIG problem
Rahul Kumar Gupta
Trusted Contributor

Re: Want to send a message

I use this command today from workstation(100.1.1.153)

#cat mymsg.txt | smbclient -M sevenhil
message start: ERRSRV - ERRmsgoff (not receiving message)

sevenhil (100.1.1.25) is the NIS serevr.
hecw (100.1.1.50) is one of the workstations.
All are of HP-UX11i.

Can i send a msg to windows workstations by smbclient. Is it needed any configuration any side.
Craig Smith_13
Frequent Advisor

Re: Want to send a message

You might look into an IRC client/server program or try modifying xmessage or xnotify programs (I think they currently work for xterminals on same server, but could be modified to talk with other systems).