[Coco] becker and VCC1.43beta

Gene Heskett gheskett at wdtv.com
Sun Apr 21 13:30:08 EDT 2013


On Sunday 21 April 2013 12:58:34 Aaron Wolfe did opine:

> On Sun, Apr 21, 2013 at 8:22 AM, Gene Heskett <gheskett at wdtv.com> wrote:
> > Even after reading that, which does help, I am still not enlightened
> > enough to be able to setup that basic09 web server, so that (and I'd
> > have to setup a NAT rule in my router too) someone could send their
> > browser to my web page, but change the port number to say 6309, and
> > actually be accessing the coco.  I can take care of the NATing and
> > routing, but how would DW be setup, and inetd on the coco be
> > configured to accomplish this?
> > 
> > I'd also need to grab a copy of that basic09 web server, where is that
> > downloadable?  Or do I already have it as part of the DW install? I am
> > not seeing anything like it that I recognize, which I assume is
> > something like httpd.b09. This lists corpus should contain that info,
> > but searching the last 11 years of it comes up empty.  And I do not
> > see it in the 3rdparty/packages/basic09 tree of my repo either.  I
> > think its safe to say that unless its on my web pages, I don't have
> > it.  And its not visible there.
> 
> You will find httpd on the disk dw4_extras.dsk which is included in
> the DriveWire distribution zip file, so chances are it is in the
> directory you run DW4 from.  You can also download this disk from the
> DW4 download page:  https://sites.google.com/site/drivewire4/download
> 
> On this disk, in the directory HTTPD, you will find the source code
> (httpd.b09), the executable (httpd) and an example inetd.conf.
> 
> To "install" httpd, copy the executable to your CMDS directory and
> edit inetd.conf to contain a line similar to the one in the example.
> If you'd like the web server to run on port 6309 instead of 80, use a
> line like:
> 
> 6309,runb,httpd

The only way I can get inetd to accept the above line is without the 
comma's, then it will run but of course not work.  Or does it? I just 
found, on the same screen as firefox is running on, 2 green screens from 
the coco that look like they were generated by httpd as a logging screen?  
They are movable, and don't appear to be associated with firefox.  They 
each say

GET / HTTP/1.1
HOST 127.0.0.1:6309 (or 192.168.xx.x:6309, the local net addy of this 
machine)
USER-AGENT yadda yadda
ACCEPT (3 lines of that)
Connection: keep-alive

 <- with a curser here, but zip response from my typing

Firefox itself is hung forever trying to load the page.  And I get a new 
coco window on or behind the firefox screen for every attempted access to 
port 6309 from this machine using firefox.

So, what did I stumble over this time?  Here is that /dd/sys/inetd.conf

6809 telnet protect banner,login,
6810 proc,
6309 runb httpd

FWIW, port 6810 doesn't get me a proc report, nor do I get any response 
from port 6809.

I wonder, do I need to kill iptables?  brb.  Isn't running. I thought it 
was.

> 
> You will likely also want to create a directory "/DD/WWWROOT".  This
> is where the default page will be loaded from.  There is an example
> WWWROOT directory on the same dw4_extras disk as httpd.
> 
> Once httpd is installed and inetd has been restarted with the new
> config, you can browse to http://127.0.0.1 (or http://127.0.0.1:6309
> if you use that port) on the computer running DW4 to see the
> index.html from /DD/WWWROOT.  You can also open any path on your OS9
> system by specifying it in the URL, for instance http://127.0.0.1/DD/
> or http://127.0.0.1/DD/CMDS etc.
> 
> You would set up the port forward in your router to point to the
> computer DW4 is running on.
> 
> -Aaron
> 
> --
> Coco mailing list
> Coco at maltedmedia.com
> http://five.pairlist.net/mailman/listinfo/coco


Cheers, Gene
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
My web page: <http://coyoteden.dyndns-free.com:85/gene> is up!
My views 
<http://www.armchairpatriot.com/What%20Has%20America%20Become.shtml>
BOFH excuse #409:

The vulcan-death-grip ping has been applied.
A pen in the hand of this president is far more
dangerous than a gun in the hands of 200 million
          law-abiding citizens.



More information about the Coco mailing list