From owner-freebsd-questions Mon Aug 2 18:57: 1 1999 Delivered-To: freebsd-questions@freebsd.org Received: from pleb.cs.uct.ac.za (pleb.cs.uct.ac.za [137.158.132.206]) by hub.freebsd.org (Postfix) with ESMTP id 5F24014C13 for ; Mon, 2 Aug 1999 18:56:48 -0700 (PDT) (envelope-from khetan@link.freebsd.os.org.za) X-Disclaimer: Contents of this e-mail are the writer's opinion X-Disclaimer2: and may not be quoted, re-produced or forwarded X-Disclaimer3: (in part or whole) without the author's permission. Received: from localhost (khetan@localhost) by pleb.cs.uct.ac.za (8.9.3/8.9.3) with SMTP id DAA19158 for ; Tue, 3 Aug 1999 03:56:30 +0200 (SAT) (envelope-from khetan@link.freebsd.os.org.za) Date: Tue, 3 Aug 1999 03:56:29 +0200 (SAT) From: Khetan Gajjar X-Sender: khetan@pleb.cs.uct.ac.za Reply-To: Khetan Gajjar To: questions@freebsd.org Subject: Way to send commands to modem when no DCD with user-ppp Message-ID: X-Mobile: +27 82 9907663 MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi. I've got a Microcom Deskporte FAST+ modem on my side, which is being used in analogue leased line mode. When it's connected, user-ppp works great. However, when the modems loose power, they lose the contents of their EPROM, resulting in them starting up again in normal modem mode (like any other modem). If this happens, user-ppp grabs the modem and tries to establish a PPP connection, which will never happen (because the modems are not connected). I can't specify the init strings in the ppp.conf, because that will be sent irrespective of whether or not the modems are connected. What I need to know is whether or not there is a program that can send commands to a modem (I've checked /usr/ports/comms/* and chat(8)), but neither of them seem to do exactly what I want, which is to send commands to a modem and then disconnect (the program shouldn't expect anything; once the string is sent, it should just die). First prize (of course) would be to get user-ppp to send a string when there is no DCD, but I don't think that would be in the realm of many applications of user-ppp ;-) TIA. --- Khetan Gajjar (!kg1779) * khetan@iafrica.com ; khetan@os.org.za http://www.os.org.za/~khetan * Talk/Finger khetan@chain.freebsd.os.org.za FreeBSD enthusiast * http://www2.za.freebsd.org/ Stupidest quote heard : Who is this BSD, and why should we free him ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message