Path: utzoo!attcan!uunet!mcvax!hp4nl!eutrc3!wzv!wietse From: wietse@wzv.win.tue.nl (Wietse Z. Venema) Newsgroups: comp.unix.microport Subject: Re: 43 lines and modems??? Message-ID: <317@wzv.win.tue.nl> Date: 8 Jul 89 19:48:25 GMT References: <143800007@cdp> Organization: Eindhoven University of Technology, The Netherlands Lines: 14 cassidy@cdp.UUCP writes: >Can anyone tell me how to send an initialization string to a hayes type modem >on the system boot-up? I need to have the system send a AT S0=1 so it'll let >folks call this system. You can try do that with kermit, using the following single line in /etc/inittab: r2:2:once:echo 'set line xxx\nset baud yyy\nscript ~0 ats0=1 OK -- atm OK\nexit' | kermit >/dev/null 2>&1 For xxx and yyy one should substitute the proper tty port and baud rate, respectively. Alternatively, the tty port and baud-rate setting can be specified in /.kermrc instead.