File: dyn.html

package info (click to toggle)
lg-issue16 4-4
  • links: PTS
  • area: main
  • in suites: woody
  • size: 1,256 kB
  • ctags: 77
  • sloc: tcl: 89; makefile: 37; sh: 4
file content (93 lines) | stat: -rw-r--r-- 3,691 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
<!--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>
&quot;Linux Gazette...<I>making Linux just a little more fun!</I>&quot;
</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 &quot;Setting Up a Dynamic IP Web Server&quot;
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 &quot;ascii\ncd /pub/homestead\nput up.html dynamic.html&quot;
\ </P>

<P>| /usr/bin/ftp -v geocities </P>

<P>web_down: </P>

<P>if echo -e &quot;ascii\ncd /pub/homestead\nput down.html dynamic.html&quot;
\ </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 &quot;$4&quot; fasta@geocities.com &lt; /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 &copy; 1997, Henry H. Lu <BR> 
Published in Issue 16 of the Linux Gazette, April 1997</H5></center>

<!--===================================================================-->
<P> <hr> <P> 
<A HREF="./lg_toc16.html"><IMG ALIGN=BOTTOM SRC="../gx/indexnew.gif" 
ALT="[ TABLE OF CONTENTS ]"></A>
<A HREF="../lg_frontpage.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 ============================================================-->