Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| 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.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
Due to network maintenance being performed by our provider, LQ will be down starting at 05:01 AM UTC. The exact duration of the downtime isn't currently known. We apologize for the inconvenience.
|
 |
01-15-2011, 05:08 AM
|
#1
|
|
LQ Newbie
Registered: Jan 2011
Location: Australia
Distribution: Windows 7
Posts: 20
Rep:
|
Samba networking, want to be able to send a message to people who look at shares
G'day guys
I've been trying to research unsuccessfully for a way to send a message to anyone who accesses my Linuxbox set up as a Samba sharing station. Basically i'm learning about linux ATM and i'm not that good. Enough to be dangerous some might say.
Anyway this is what I would like to do.
Right now I have one linuxbox setup as a samba workgroup (no domain just standard workgroup). I have about 7 people who use this glorified NAS system for things like stored video, pics, music, etc.
What I would like to do is whenever I update the various shares like I add another picture to the folder pics I want them to navigate to (in my case) \\192.168.1.17 and see not only the various shares but also a message that tells them whats been updated recently.
Maybe its a dream, but I thought with the knowledge out there its worth a shot.
Anyway I just want to say thanks for all the help this site especially has been to getting through a few headaches.
Have a great day.
Steve
|
|
|
|
01-15-2011, 07:11 AM
|
#2
|
|
LQ Newbie
Registered: Dec 2009
Posts: 19
Rep:
|
Do you know how to shell script. I would do ls -ltr pipe out what you want (most liky by date). Then paste that out to a text file of some sort. Being that this is a share you can't really send a message. That would require something like a logon so you can paste it to there MOTD or .bash_profile.
|
|
|
|
01-16-2011, 04:45 AM
|
#3
|
|
LQ Newbie
Registered: Jan 2011
Location: Australia
Distribution: Windows 7
Posts: 20
Original Poster
Rep:
|
To be honest no I don't know how to shell script, i've dabbled with scripting in reference to Logon Scripts basically just editing what other people have to suit my needs. I figured that it wouldn't be possible, not required but would be nice and kinda cool...
I don't want to make a domain at my place, just for the sake of they take their computers out of home and unnecessary headaches are caused when really it can work just fine as a network.
Cheers though mate
|
|
|
|
01-16-2011, 10:32 AM
|
#4
|
|
Moderator
Registered: Aug 2002
Posts: 10,698
|
An instant messaging server like jabber would work. To send the message when the clients are connected you would need to monitor smbstatus.
Obviously everyone would need to install a jabber client and be online to receive a broadcast message.
|
|
|
|
01-17-2011, 03:03 AM
|
#5
|
|
LQ Newbie
Registered: Jan 2011
Location: Australia
Distribution: Windows 7
Posts: 20
Original Poster
Rep:
|
Thanks michaelk,
what client would you suggest? Has to be cross platform Mac/Linux/Windows...
cheers
steve
|
|
|
|
01-17-2011, 04:02 AM
|
#6
|
|
Moderator
Registered: Aug 2002
Posts: 10,698
|
I've never used jabber so I can not recommend a client. A client is available for all three operating systems.
|
|
|
|
01-17-2011, 06:22 AM
|
#7
|
|
LQ Newbie
Registered: Jan 2011
Location: Australia
Distribution: Windows 7
Posts: 20
Original Poster
Rep:
|
Ok I believe I'm trying to walk before I can crawl, I understand the ability of these clients to connect to multiple IM's all in the one program yet I fail to see how this would help me, couldn't I just use MSN and than IM people like that...
|
|
|
|
01-17-2011, 06:28 AM
|
#8
|
|
Moderator
Registered: Aug 2002
Posts: 10,698
|
Yes. that would work too.
Last edited by michaelk; 01-17-2011 at 06:30 AM.
|
|
|
|
01-17-2011, 08:10 AM
|
#9
|
|
LQ Newbie
Registered: Jan 2011
Location: Australia
Distribution: Windows 7
Posts: 20
Original Poster
Rep:
|
ok well obviously it won't work how I thought it would so thanks anyway...
|
|
|
|
02-27-2011, 04:02 AM
|
#10
|
|
LQ Newbie
Registered: Jan 2011
Location: Australia
Distribution: Windows 7
Posts: 20
Original Poster
Rep:
|
I found a way to provide the information but unfortunately not on access. Basically I set up a Ventrilo Server on the LinuxBox and the related clients log in and in the MOTD (Message of The Day) I can as the administrator change when I get new content to share.
So even though its not as I hoped it works ok. Plus you get the added feature of being able to chat with who is online both text based and through voip. Ventrilo is a great program.
Thanks all for your input.
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 07:36 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
|
|