mgetty 0.98

Gert Doering (gert@greenie.muc.de)
Tue, 12 Dec 1995 09:41:43 +0100


Hi,

I took the liberty of including "mgetty@muc.de" (the mgetty mailing list)
into this discussion, as I'm quite interested what others think about your
proposal.

Jon Lewis wrote:
> I was just thinking the other day "wouldn't it be nice if mgetty could be 
> setup to check the modem configuration, and write 'my' settings to the 
> modem's nvram when it finds a [new] modem not yet so initialized. 

I know that others do it, Telebit's NetBlazer is one example. I'm not very
happy with it, though.

My proposal would be to initialize with AT&F (to get a known state) and
just set those things that are different from the factory defaults. On a
reasonable modem, this isn't very much anyway.

> I thought I could do this with seb-expect sub-send chat strings (as
> documented in the man page for the chat that comes with pppd)...but mgetty
> doesn't seem to support these sub strings.  Is there another way to have
> mgetty send string2 or string3 depending on the result it gets from
> sending string1 in the init string?  

Not yet. It was/is planned, but actually it's not really needed (normally), 
so I didn't do it yet.

> I've heard that you can only write to
> nvram so many times...so I'd rather not write the nvram unless it needs
> it. 

Hmmm, I don't know the exact numbers myself. Brent, can you help?

gert
-- 
                                                            //www.muc.de/~gert
Gert Doering - Munich, Germany                             gert@greenie.muc.de
fax: +49-89-3545980 <---new!!!              gert.doering@physik.tu-muenchen.de