LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   winpopup from Redhat to windows (https://www.linuxquestions.org/questions/linux-networking-3/winpopup-from-redhat-to-windows-195627/)

ispnepal 06-20-2004 09:54 AM

winpopup from Redhat to windows
 
Dear all,
Is it possible to send the winpopup to windows client from RedHat Server
using samba? All I know about the windws client is its IP Address and nothing else

zorba4 06-20-2004 10:28 AM

What do you mean when you say "sending the winpopup window" ? I know few things about Samba, but I guess that your Linux server is only able to act as a file server, or run Unix programs, so what do you mean by "windows popup"?

linuxboy_inside 06-21-2004 03:32 AM

u want a local chatting? if u hav a samba server configured properly, u can use the command wall, rwall...

ppuru 06-21-2004 03:44 AM

$smbclient -M machinename <ENTER>
Type message
Ctrl-D

born4linux 06-21-2004 04:19 AM

try:

echo "You need to uninstall windows now" | smbclient -M windowspcname -U Administrator

(yay, u can fake the sender name. :P)

ispnepal 06-21-2004 04:19 AM

Dear all,
let me discribe my situation so that it will be clearer. We are an isp with all our servers on redhat. some times when users connect through dialup they have higher uplink rather than downlink - this is mostly due to virus in the users computer.

I need a way to send a short "popup" notifying "Virus Alert" to my dialup clients ( mostly windows ) through my linux server.

There is a way to do this by using samba command
# smbclient -M hostname

hostname is dialup client's computer name. The problem is there is no way to find out the computer name of the client's computer.

please suggest a way out.

born4linux 06-21-2004 04:22 AM

nmblookup -A ip_address

this will give you the netbios name of the IP.

or just do a:

echo "test" | smbclient -M ip_address_of_dialup_client -U Administrator

to send a pop-up message.

ispnepal 06-21-2004 04:25 AM

dear born4linux

thank you . that was what i was looking for.

basanta


All times are GMT -5. The time now is 12:06 AM.