
Lowmem machines
----------------

Redesigned every boot-script facing with the lowmem topics.
Now Setup try to load an addon from the /DOS directory
(UMSDOS installations only), before to ask for a floppy-disk


CGI.lib
---------

I implemented a new library for script (/etc/cgi.lib), useful to do
CGI scripting in muLinux. I fetched a lot of function from the script
adm.cgi, the engine of muRCP remote control program.

After that, i deleloped a lot of new CGI functions, available directly
from the index page of internal Web server, mostly as curiosities.

CD-Burning gateway
-------------------

It is possible to copy Audio and Data CD-ROM via web, or also
to encode in MP3 every tracks in a CDROM.


Fax Web gateway
------------

A simple form which allow to send fax remotely. The user fill the
phone number and a textarea, then the fax is sent via efax.

I also successfull sent fax using the fax-composer in Windows, on
a Win98 machine connected to muLinux. I simply print the document
using the mulinux shared printer called "fax", declared as AppleWriter,
but other postscripts will works. It is enough to put the phone
number in the form %phone, e.g.  %058787234 somewhere in the text.

The phone number is extracted on the fly from the Postscript source
using an AWK script.

It works nicely!


PPP web gateway
----------------

A simple form able to control PPP remotely, via browser: start, stop,
and logfile. The user can configure modem and ISP clicking on a couple
of urls (they points to muRCP).

MP3 Web player
--------------

This is very smart, believe me! It use the lpd Berkley queue system
to put a list of MP3 songs on the printer queue. Really, the mp3 
are played with "lpr song.mp3", and stopped with "lprm".
The songs list is controlled via check box.

Throught the form, the user can also control the volume. At this
moment, I'm playing with lpr an entire directory of Goran Bregovic
songs on my pc speaker :-)

It play WAV and MP3, indifferently.

Other gateways
---------------
I will develope also a web form able to copy audio and data CD-ROM
remotely. *remotely* is OK, but also locally is nice to have.
In this way, we have to use lynx locally.

Because the server web run as "nobody", I created a new group
called "sys". After that, I added "nobody", "lp", "daemon" and "bin"
to the group "sys". Important commands like pppd, efax, vplay and
mg123 are now set-gid to "sys". In this way, they can gain privilege
and can use the relevant devices.

MuLinux El-Torito
------------------

I noticeably improved the system when working from a read-only
device, such a CD-ROM. Important setup like: tmp and swap aren't now
under the user control anymore. They are too important.
v11r2 use euristics only in order to setup the TMP work area.

The system is able to use "euristic" in order to find the right
swap device and tmp device, accordly with the current incarnation:
ramsystem, UMSDOS, cdrom, etc.

Example: the system now know to be an UMSDOS incarnation and
start swapping automatically in a file in c:\linux. The size is
determined with the simple formula  

		swap_size = avail/10

i.e. 10% of available space in the disk

Hardware probing
-----------------

Mouse probing is broken in all previous release, this is a reality.
I much improved probing in mouse and modem and cdrom. They works
now great. I tested on several machines and never failed.

The probing mechanism for mouse is very simple: it, in turn, starts
the gpm server for any serial and ps2 input device, then loops to
check what is the IRQ triggered (checking the file /proc/stat).
 
For the modem, I simply send the AT string to any serial devices.
It works well, if mouse isn't really in a confused status.
 
New wizards
-----------
A lot of new dialog wizard: modem, cdrom, PPP, printer, etc.

Kernel log during probing
-------------------------

Usually, when muLinux try to scan the hard-disk and any other
block devices, a lot of kernel messages are printed. They can
confuse or impression the user. Unfortunately, the stderr
redirection do not work.

If the CD in not in the driver, and I will try to read a simple
byte from the CD-ROM with a command like: 

		# dd if=/dev/cdrom bs=1c count=1

a lot of message like these:

====================================================
hdc: media changed
hdc : tray open or drive not ready
hdc : tray open or drive not ready
hdc : tray open
end_request: I/O error, dev 16:00, sector 0
dd: /dev/cdrom: I/O error
0+0 records in
0+0 records out
====================================================

normally are printed on the screen.
I discovered a little program called "setlevel", developed by the
only big Linux guru we have in Italy: Alessandro Rubini, author
of the book "Linux Device Driver", O'Reilly (ehm, I think a
kind of fractured english, but much better of mine).
The command is able to change temporarily the console-level for
kernel logging (two C statements).

So, I put "setlevel 1" and "setlevel 5" around the "dd" command,
and messages disappears. Nice to have in muLinux.


Michele

-- 
Sent using mulinux, with mutt, smail and other GPL'ed software
