Ron,

1. Grab http://www.snappity.com/linuxbios/webconfig-0.2.tar.gz

2. Plunk it down in the same place (in <whereever>/freebios/util).

3. Start the server (./pyserv.py -d -f <whereever>/freebios &)

4. Browse to http://localhost:8083/cgi-bin/index.cgi

5. Follow the bouncing ball... (you are old enough to remember
   Mitch Miller, right?)

If you browse to http://localhost:8083/index.html, it will simply
give you a link to the cgi-bin script as above.

The script defaults to looking in /usr/src/freebios, and will
probably give an error message and prompt if you don't have
anything there. I tried to have pyserv.py inform the CGI script
of the proper location through environement variables, but
the CGIHTTPRequestHandler class throws the environement away
and builds a new one according to CGI standards. So that won't
work without recoding the RequestHandler class, which would be
straightforward but, I think, a bad idea. I'm trying to think
of a good way to have a decent default so you don't have to enter
the freebios directory every time you run it, but such that
you aren't asaulted with an error message as soon as you start
up. Perhaps just trying the default and putting up a blank
box -- without the error -- if it doesn't work.

In the end, about all you can do with this is just what you
asked, which is to get a list of manufacturers and motherboards.
>From then on it's all sort of idempotent until we write some
more.

More later,

--Bob

On Thu, Jul 19, 2001 at 09:34:42AM -0600, Ronald G Minnich wrote:
> On Thu, 19 Jul 2001, Bob Drzyzgula wrote:
> 
> > OK, I got into work this morning and tried it on a RedHat
> > 6.1 machine running stock Python 1.5.2. I also got the
> > 403 error, it seems that in this version it doesn't like
> > listing the directory to find the implicit document name
> > "index.html". Thus, in step 7 below, I tried:
> > 
> >   lynx http://localhost:8083/index.html
> > 
> > and then it worked, as did the test CGI script, which
> > also does not use an implicit document name.
> 
> yeah I got that too. I should know better. 
> 
> Bob, can you write a simple thing that will do:
> 
> ls $(FREEBIOS)/src/mainboard/*/*
> and put that in a listbox? 
> 
> That I think is the first start, and would help me get up to speed.
> 
> thanks!
> 
> ron

Reply via email to