Article View: comp.os.linux.networking
Article #723Re: Probleme avec mgetty+olitec
From: Gert Doering
Date: Wed, 28 May 1997 00:00
Date: Wed, 28 May 1997 00:00
67 lines
3273 bytes
3273 bytes
Olivier Alessandri <olivier@antigone.neveux.fr> writes:
>Le r�elle probleme serait de trouver la bonne chaine d'initialisation
>qui se trouve dans policy.h ou dans le fichier
>"/usr/local/etc/mgetty+senfax/mgetty.config" du style at&f&k6s25=20 ???
Well, I won't say that I understand that...
>D'autant plus que j'ai des erreurs du type "/usr/local/sbin/senfax:cannot
>set fax station ID" ; meme en changeant le numero de fax la meme erreur
>revient ???
This usually means "your modem is crap".
>J'ai �galement plusieurs erreurs dans le fichier log_mg.ttyS1:
In any case:
>05/27 10:11:05 yS1 send: AT&F&K6V0S25=20[0d]
>05/27 10:11:05 yS1 waiting for ``OK''
>05/27 10:11:25 yS1 timeout in chat script, waiting for `OK'
If you put "ATV0" into your init string, you *deserve* all the problems
that you'll run into. It tells the modem "don't answer to this command".
So mgetty won't ever get an OK message.
>05/27 10:59:32 yS1 do_stat: expect 'OK' ** found **
>05/27 10:59:32 yS1 mdm_send: 'AT+FCLASS=2.0' -> OK
>05/27 10:59:32 yS1 mdm_send: 'AT+FAA=1;+FCR=1' -> OK
>05/27 10:59:32 yS1 mdm_send: 'AT+FBO=1' -> ERROR
>05/27 10:59:32 yS1 cannot set bit order, trying +BOR=0
>05/27 10:59:32 yS1 mdm_send: 'AT+FBO=0' -> ERROR
>05/27 10:59:32 yS1 mdm_send: 'AT+FNR=1,1,1,0' -> ERROR
>05/27 10:59:32 yS1 mdm_send: 'AT+FLI="55"' -> ERROR
>05/27 10:59:32 yS1 cannot set local fax id. Huh?
Sounds as if your modem is no CLASS 2.0 modem *at all*, even if it claims
so.
Try calling mgetty with "mgetty -C cls2", to force it to see the modem
as CLASS 2.
>En changeant de chaine d'initialisation dans mgetty.config :
>init-chat "" AT&F&K3V0S25=20S95=47 OK
Remove that damn "V0" from here!!! Read the modem manual and try to
understand what you are doing *before* you do it.
>A premi�re vue il met les meme erreurs qu'avec la chaine pr�c�dente,
>donc que dois- je faire pour que cela marche ????
I don't understand.
>Est-ce correct ???
>s1:456:respawn:usr/local/sbin/mgetty ttyS1 vt100
remove that vt100. It means "I do not read manuals".
gert
--
Yield to temptation ... it may not pass your way again! -- Lazarus Long
//www.muc.de/~gert
Gert Doering - Munich, Germany gert@greenie.muc.de
fax: +49-89-3243328 gert.doering@physik.tu-muenchen.de
Technical Details
Message-ID:
<B81A02BD172B7F3A.B5C07EBC616184A6.146EC94D7E7B8B0D@library-proxy.airnews.net>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<864725213.2717@dejanews.com>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: f8c9b,6fc807df9e7a7529 X-Google-Attributes: gidf8c9b,public X-Google-Thread: 10013e,6fc807df9e7a7529 X-Google-Attributes: gid10013e,public X-Google-Thread: 10669a,6fc807df9e7a7529 X-Google-Attributes: gid10669a,public X-Google-Thread: 106138,6fc807df9e7a7529 X-Google-Attributes: gid106138,public From: gert@greenie.muc.de (Gert Doering) Subject: Re: Probleme avec mgetty+olitec Date: 1997/05/28 Message-ID: <B81A02BD172B7F3A.B5C07EBC616184A6.146EC94D7E7B8B0D@library-proxy.airnews.net> X-Deja-AN: 246263039 References: <864725213.2717@dejanews.com> X-Orig-Message-ID: <EAw6zE.H31@greenie.muc.de> Organization: GreeniE NNTP-Proxy-Relay: library.airnews.net Newsgroups: comp.os.linux.networking,fr.network.modems,fr.comp.os.linux,comp.unix.questions