LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-09-2008, 09:25 PM   #1
aloishis89
Member
 
Registered: Sep 2007
Posts: 54

Rep: Reputation: 15
smbclient support in windows


I want to be able to send a pop up message to users like netsend does in windows, but using linux and smbclient. But i read that if i use

smbclient -m [hostname]
message ^d

then the windows computer has to have winpopup on it or it won't send and i will get to error message. Is winpopup automatically on windows or is it something i have to install on every computer?
 
Old 03-10-2008, 03:39 AM   #2
j-ray
Senior Member
 
Registered: Jan 2002
Location: germany
Distribution: ubuntu, mint, suse
Posts: 1,591

Rep: Reputation: 145Reputation: 145
so why dont you try that out?
 
Old 03-10-2008, 06:14 AM   #3
aloishis89
Member
 
Registered: Sep 2007
Posts: 54

Original Poster
Rep: Reputation: 15
Unfortunately, I don't have access to a windows network to try it on right now.
 
Old 03-10-2008, 06:26 AM   #4
jlinkels
LQ Guru
 
Registered: Oct 2003
Location: Bonaire, Leeuwarden
Distribution: Debian /Jessie/Stretch/Sid, Linux Mint DE
Posts: 5,195

Rep: Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043Reputation: 1043
When you use netsend, you don't have to install anything on that Windows computer. I remember Winpopup, but I think it was used for other purposes, or you needed it in Windows 3.11/95. I assume that most of your computers are W2000 or higher. Versions newer than W2k I never used. The introduction of XP made me switch to Linux

jlinkels
 
Old 03-10-2008, 07:23 AM   #5
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,749

Rep: Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928Reputation: 5928
WinPopup was part of Windows 98/ME but not NT and later. XP uses the messenger service (i.e. net send) which is disabled by default in SP2 to prevent pop-up advertisements and spam. Messenger service is part of XP so you do not need anything extra except to start the service. Messenger service is not included in Windows Vista.

You can use smbclient in a script like the following:
cat mymessage.txt | smbclient -M username

BTW there is a linux equiv of WinPopup called LinPopUp.
 
Old 03-10-2008, 03:28 PM   #6
aloishis89
Member
 
Registered: Sep 2007
Posts: 54

Original Poster
Rep: Reputation: 15
Cool, thanks for all the help everybody
 
  


Reply



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
Smbclient copy from Linux to windows depam Linux - Software 4 01-02-2010 04:01 PM
Problem accessing windows shares with smbclient Valfather Linux - Networking 1 12-02-2006 08:07 PM
Smbclient and Windows 2003 Server scostopoulos Linux - Networking 1 09-02-2004 02:36 AM
accessin windows shares from linux (smbclient) talkinggoat Linux - Networking 1 01-10-2004 11:28 PM
Why does smbclient require NetBIOS name when windows doesn't? amaze Linux - General 2 08-15-2003 06:19 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:02 AM.

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