LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 09-12-2003, 05:06 PM   #1
devhdc
LQ Newbie
 
Registered: Sep 2003
Distribution: Slackware, and OpenBSD
Posts: 7

Rep: Reputation: 0
report-in script


I need a script who reports when it's online to a WXP box, and im not really sure how todo this, anyway, this script should be runt thru rc.local, and should send like a lil popup window to a Win XP box when it's online... any ideas ?
 
Old 09-21-2003, 05:16 PM   #2
david_ross
Moderator
 
Registered: Mar 2003
Location: Scotland
Distribution: Slackware, RedHat, Debian
Posts: 12,047

Rep: Reputation: 64
You could send a winpopup message by addign this to rc.local:
echo "I'm online" | smbclient -M SOMEHOST

If you can to sed the content from a file then use:
cat /path/to/file | smbclient -M SOMEHOST
 
  


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
perl script to report new mail nibbler Programming 1 07-02-2005 10:13 AM
System report rahul_kulkarni Linux - Newbie 4 04-11-2005 04:44 AM
ps doesn't report time TrulyTessa Linux - Newbie 6 01-10-2005 05:23 PM
What does logwatch report mean? maxgg Linux - Newbie 2 12-05-2004 04:54 PM
How can I report the Error Report? domeili Linux - Newbie 1 10-30-2003 06:42 AM


All times are GMT -5. The time now is 07:27 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration