94 lines
3.6 KiB
HTML
94 lines
3.6 KiB
HTML
<!--startcut ==========================================================-->
|
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
|
|
<HTML>
|
|
<HEAD>
|
|
<title>CeBIT Report Issue 16</title>
|
|
</HEAD>
|
|
<BODY BGCOLOR="#EEE1CC" TEXT="#000000" LINK="#0000FF" VLINK="#0020F0"
|
|
ALINK="#FF0000" >
|
|
<!--endcut ============================================================-->
|
|
|
|
<H4>
|
|
"Linux Gazette...<I>making Linux just a little more fun!</I>"
|
|
</H4>
|
|
|
|
<P> <HR> <P>
|
|
<!--===================================================================-->
|
|
<center>
|
|
<H2>Dynamic IP Web Solution Using Geocities Web Account </H4>
|
|
<H4>by Henry H Lu,
|
|
<A HREF="mailto:fasta@geocities.com">fasta@geocities.com</A> <BR>
|
|
<A HREF="http://www.geocities.com/SiliconValley/Lakes/3171/">http://www.geocities.com/SiliconValley/Lakes/3171/</A>
|
|
</H4> </center>
|
|
<P> <HR> <P>
|
|
|
|
Since I published an article "Setting Up a Dynamic IP Web Server"
|
|
in Linux Gazette issue #10, I have lost all the free school web accounts.
|
|
Because I need a permenent web page to bridge the linux dynamic web server
|
|
at home, I have been lucky to found out that Geocities free web account
|
|
can be used with a little bit hack. Geocities free web account with 2MB
|
|
space and free email can be obtained at <A HREF="http://www.geocities.com">http://www.geocities.com</A>
|
|
.</P>
|
|
|
|
<P>Geocities web page can be updated by ftp method. However, geocities
|
|
ftp procedure requires that *.html files are ftped with asii mode and *.jpg,
|
|
*.tgz files are ftped by binary mode. I found out that if I use the wrong
|
|
mode, web pages can not be updated. It took about 10 minutes in my test
|
|
to update ( or overwrite) the web page after the updated file was ftped,
|
|
so that you have to be patient to wait for your result with Geocities account.</P>
|
|
|
|
<P>---------------------------------------------</P>
|
|
|
|
<P>The following is the ftp part of scripts in file web_up, web_down:</P>
|
|
|
|
<P>web_up: </P>
|
|
|
|
<P>if echo -e "ascii\ncd /pub/homestead\nput up.html dynamic.html"
|
|
\ </P>
|
|
|
|
<P>| /usr/bin/ftp -v geocities </P>
|
|
|
|
<P>web_down: </P>
|
|
|
|
<P>if echo -e "ascii\ncd /pub/homestead\nput down.html dynamic.html"
|
|
\ </P>
|
|
|
|
<P>| /usr/bin/ftp -v geocities </P>
|
|
|
|
<P>Source files like ppp-up and ppp-down are also updated to reflect the
|
|
change.</P>
|
|
|
|
<P>The following sentence can be added to file /etc/ppp/ppp-up in order
|
|
to use email to tell us current IP address of your linux box:</P>
|
|
|
|
<P>mail -s "$4" fasta@geocities.com < /etc/add</P>
|
|
|
|
<P>-------------------------------------------------</P>
|
|
|
|
<P>In conclusion, although it is not as convenient as the typical unix
|
|
shell account to update the web page by using free Geocities web account,
|
|
it serves us well for bridge to our dynamic web server at home with zero
|
|
cost. For detailed information, please read my original article in issue
|
|
#10, and check out my new web page for updated source code.</P>
|
|
|
|
<!--===================================================================-->
|
|
<P> <hr> <P>
|
|
<center><H5>Copyright © 1997, Henry H. Lu <BR>
|
|
Published in Issue 16 of the Linux Gazette, April 1997</H5></center>
|
|
|
|
<!--===================================================================-->
|
|
<P> <hr> <P>
|
|
<A HREF="./index.html"><IMG ALIGN=BOTTOM SRC="../gx/indexnew.gif"
|
|
ALT="[ TABLE OF CONTENTS ]"></A>
|
|
<A HREF="../index.html"><IMG ALIGN=BOTTOM SRC="../gx/homenew.gif"
|
|
ALT="[ FRONT PAGE ]"></A>
|
|
<A HREF="./cebit.html"><IMG SRC="../gx/back2.gif"
|
|
ALT=" Back "></A>
|
|
<A HREF="./gm.html"><IMG SRC="../gx/fwd.gif" ALT=" Next "></A>
|
|
<P> <hr> <P>
|
|
<!--startcut ==========================================================-->
|
|
</BODY>
|
|
</HTML>
|
|
<!--endcut ============================================================-->
|
|
|