Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game. |
Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
|
06-20-2004, 09:54 AM
|
#1
|
LQ Newbie
Registered: Jun 2004
Posts: 16
Rep:
|
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
|
|
|
06-20-2004, 10:28 AM
|
#2
|
Member
Registered: Feb 2004
Location: Paris
Posts: 398
Rep:
|
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"?
|
|
|
06-21-2004, 03:32 AM
|
#3
|
Member
Registered: Oct 2003
Location: Philippines
Distribution: slackware
Posts: 37
Rep:
|
u want a local chatting? if u hav a samba server configured properly, u can use the command wall, rwall...
|
|
|
06-21-2004, 03:44 AM
|
#4
|
Senior Member
Registered: Mar 2003
Location: Beautiful BC
Distribution: RedHat & clones, Slackware, SuSE, OpenBSD
Posts: 1,791
Rep:
|
$smbclient -M machinename <ENTER>
Type message
Ctrl-D
|
|
|
06-21-2004, 04:19 AM
|
#5
|
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127
Rep:
|
try:
echo "You need to uninstall windows now" | smbclient -M windowspcname -U Administrator
(yay, u can fake the sender name. :P)
|
|
|
06-21-2004, 04:19 AM
|
#6
|
LQ Newbie
Registered: Jun 2004
Posts: 16
Original Poster
Rep:
|
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.
|
|
|
06-21-2004, 04:22 AM
|
#7
|
Senior Member
Registered: Sep 2002
Location: Philippines
Distribution: Slackware, RHEL&variants, AIX, SuSE
Posts: 1,127
Rep:
|
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.
|
|
|
06-21-2004, 04:25 AM
|
#8
|
LQ Newbie
Registered: Jun 2004
Posts: 16
Original Poster
Rep:
|
dear born4linux
thank you . that was what i was looking for.
basanta
|
|
|
All times are GMT -5. The time now is 08:47 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|