Thanks for your input, it's interesting to see other people's code.
I used to use that ftp approach when using ftp for dos/windows. It's a good
idea especially when a computer doesnt have ncftp (some simple installations
dont)
Mmm .. your sysmon page is nice too !! :)
Really pretty, even a graph :)
I'll take a look at your MICQ script too, how do you like it better than
say, LICQ ?
Thanks for sharing Alex !! I'll take a good look at your scripts, thanks for
making them free, people will learn a lot :)
>From: Alexander Else <[EMAIL PROTECTED]>
UUNET ?! Cool ! :)
Regards, Matt
>To: "Matt" <[EMAIL PROTECTED]>, [EMAIL PROTECTED]
>Subject: Re: [SLUG] Silly Newbie Hack :)
>Date: Tue, 04 Jul 2000 18:52:10 +1100
>
>At 16:07 04/07/2000 -0500, Matt wrote:
>>Okay .. here's my silly way of creating a fortune powered webpage (here
>>i'm using Optushome - no perl/php/asp/.bat there :).
>
>>echo "My Linux Box has the qualities: " >> index.html
>>date >> index.html
>>uname -a >> index.html
>>uptime >> index.html
>>
>>in there if you wanted to (uptimes - you know you want to :)
>
>
>http://deimos.yi.org
>I do similar stuff on my home machine in real time with a couple of perl
>scripts. The main page redirects you to a cgi which outputs a fortune at
>the bottom (also using <pre>), there's a link there to Sysmon, which
>outputs various info about the health of the machine. Obviously not
>everyone has cgi available to them on their service provider's web servers
>so that's not for everyone.
>
>I've also got a script cron'ed to run every ten minutes that reformats micq
>logs and dumps them somewhere i can get to them.
>http://freshmeat.net/appindex/2000/06/06/960282284.html
>
>The box used to post its ip address on a web page for me when it
>reconnected, back in the days when dyn.ml.org was close to death. I had a
>script that would redial if the connection dropped out and /etc/ppp/ip-up
>called a shell script that reposted the new address. Pretty simple and it
>works fine.
>
>
>#!/bin/sh
>IP=`/sbin/ifconfig ppp0|grep inet|cut -d: -f2|cut -d\ -f1`
>echo "<html><body>" > /tmp/up.$$
>echo "current ip: $IP" >> /tmp/up.$$
>echo "</body></html>" >> /tmp/up.$$
>
>echo "user $USER $PASS" > /tmp/upscript.$$
>echo "cd public_html" >> /tmp/upscript.$$
>echo "ascii" >> /tmp/upscript.$$
>echo "send /tmp/up.$$ ip.html" >> /tmp/upscript.$$
>echo "quit" >> /tmp/upscript.$$
>
>ftp -n ftp.ozemail.com.au < /tmp/upscript.$$
>
>rm -f /tmp/up*.$$
>
>
>--
>Alexander Else
>Internet Operations Technician
>UUNET Asia Pacific Network Services
>
>--
>SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
>To unsubscribe send email to [EMAIL PROTECTED] with
>unsubscribe in the text
________________________________________________________________________
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com
--
SLUG - Sydney Linux Users Group Mailing List - http://www.slug.org.au
To unsubscribe send email to [EMAIL PROTECTED] with
unsubscribe in the text