elsa microlink hangs NO MORE!!!
Martin Lorenz (a9026080@unet.univie.ac.at)
Tue, 28 Jul 1998 21:12:24 +0200
Gert Doering wrote:
[...]>
> Well, the quickest way is always "use the source, luke". You have the
> modem, you have the program source code, and you have time...
>
after complaining a bit i started to look at the code and the logfiles
and also walked through some mails in the archive and so i FOUND A
SOLUTION (and its that simple i cant belive this is all)
> All patches and bug fixes are welcome!
[...]
here is one!
% diff -d -c mgetty.c_old mgetty.c
*** mgetty.c_old Tue Jul 28 21:01:34 1998
--- mgetty.c Tue Jul 28 20:47:17 1998
***************
*** 515,520 ****
--- 515,528 ----
#endif /* VOICE */
}
+
+ /* added by lolly 28/7/98:
+ send a single AT to make sure the line speed is correct after
+ all initialisations */
+
+ if ( mdm_command( "AT", STDIN ) != SUCCESS ) {
+ lprintf( L_FATAL, "modem on dev=%s doesn't react!", Device
);
+ }
/* wait .3s for line to clear (some modems send a \n after "OK",
this may confuse the "call-chat"-routines) */
sorry for being so annoying...
next time i will try FIRST and hopefully all you will get from me is a
bugfix :)
--
Martin "Lolly" Lorenz
http://unet.univie.ac.at/~a9026080/
There is only one thing worse than Central Services...
...Microsoft
(in a world without fences - who needs Gates ... )