LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-20-2004, 09:54 AM   #1
ispnepal
LQ Newbie
 
Registered: Jun 2004
Posts: 16

Rep: Reputation: 0
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
 
Old 06-20-2004, 10:28 AM   #2
zorba4
Member
 
Registered: Feb 2004
Location: Paris
Posts: 398

Rep: Reputation: 31
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"?
 
Old 06-21-2004, 03:32 AM   #3
linuxboy_inside
Member
 
Registered: Oct 2003
Location: Philippines
Distribution: slackware
Posts: 37

Rep: Reputation: 15
u want a local chatting? if u hav a samba server configured properly, u can use the command wall, rwall...
 
Old 06-21-2004, 03:44 AM   #4
ppuru
Senior Member
 
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791

Rep: Reputation: 50
$smbclient -M machinename <ENTER>
Type message
Ctrl-D
 
Old 06-21-2004, 04:19 AM   #5
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
try:

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

(yay, u can fake the sender name. :P)
 
Old 06-21-2004, 04:19 AM   #6
ispnepal
LQ Newbie
 
Registered: Jun 2004
Posts: 16

Original Poster
Rep: Reputation: 0
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.
 
Old 06-21-2004, 04:22 AM   #7
born4linux
Senior Member
 
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127

Rep: Reputation: 49
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.

Last edited by born4linux; 06-21-2004 at 04:24 AM.
 
Old 06-21-2004, 04:25 AM   #8
ispnepal
LQ Newbie
 
Registered: Jun 2004
Posts: 16

Original Poster
Rep: Reputation: 0
dear born4linux

thank you . that was what i was looking for.

basanta
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
WinPopUp in Samba sorrodos Linux - Networking 9 02-21-2019 10:56 AM
Easy Samba Problem w/WinPopUp illuminatedwax Linux - Networking 2 09-30-2004 01:17 AM
Sending a winpopup message Reefcrazed Linux - Networking 2 08-29-2004 10:31 AM
Receiving winpopup broadcast messages vrsic Linux - Software 8 10-30-2003 02:31 AM
WinPopUp messages sorrodos Linux - Software 0 07-31-2003 11:32 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 08:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration