Return to BSD News archive
Received: by minnie.vk1xwt.ampr.org with NNTP id AA6100 ; Mon, 04 Jan 93 21:06:50 EST Path: sserve!manuel.anu.edu.au!munnari.oz.au!sgiblab!darwin.sura.net!spool.mu.edu!uwm.edu!biosci!joes!kumr!pozar From: pozar@kumr.lns.com (Tim Pozar) Newsgroups: comp.unix.bsd Subject: Re: modem-support Message-ID: <1993Jan7.013608.2241@kumr.lns.com> Date: 7 Jan 93 01:36:08 GMT References: <C0FzKB.D59@hermes.hrz.uni-bielefeld.de> Organization: Late Night Software (San Francisco) Lines: 29 thumser@Techfak.Uni-Bielefeld.de (Wolfgang Thumser) writes: > >Whenever I connect the internal modem to the com1 port getty >starts login immediately without waiting for somebody dialing in >first. Is there any solutionto this problem? > Thanks in advance > Wolfgang Thumser Tell your modem to answer on the first ring and not echo commands and not give result codes. To do this do not run a getty on the com port when you boot, stty the line for the b/s rate you want. stty doesn't seem to work with just the command "stty 19200 < /dev/com1" (a bug?). You need to add something like "cs8" to the command like: "stty cs8 19200 < /dev/com1". At this point run the tip that came with the boot diskette with the command: "tip /dev/com1", and tell the modem to not speak. My commands for my MultiTech were "ATE0Q0M0" and "AT&W" to store them. Go back and edit the /etc/ttys file and stick this line in: com1 "/usr/libexec/getty t19200" dialup on save the file and do a "kill -HUP 1" to restart init. Remember to also set the com port to the highest rate the modem can handle. If you can lock it down at that, the better. Tim -- Internet: pozar@kumr.lns.com FidoNet: Tim Pozar @ 1:125/555 Snail: Tim Pozar / KKSF / 77 Maiden Lane / San Francisco CA 94108 / USA Voice: +1 415 788 2022