From owner-freebsd-net@FreeBSD.ORG Wed Oct 26 20:21:42 2005 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A026316A445 for ; Wed, 26 Oct 2005 20:21:41 +0000 (GMT) (envelope-from jhofer@agsense.net) Received: from mail.santel.net (mail.santel.net [12.13.116.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 52AF743D49 for ; Wed, 26 Oct 2005 20:21:41 +0000 (GMT) (envelope-from jhofer@agsense.net) Received: from samara (64-33-242-135.hosts.sdnet.net [64.33.242.135] (may be forged)) by smtp1.gwtc.net (8.13.3/8.13.3) with ESMTP id j9QKLbro060884 for ; Wed, 26 Oct 2005 14:21:40 -0600 (MDT) (envelope-from jhofer@agsense.net) From: "Jordon Hofer" To: Date: Wed, 26 Oct 2005 15:21:45 -0500 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2910.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2670 Subject: Cellular Modem, PPP, and FreeBSD X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Oct 2005 20:21:42 -0000 Greetings. I am running a stripped down version of FreeBSD 4.11 on an embedded x86 board. I have an embedded cellular modem module (from MultiTech) that is attached to the serial port (going through the necessary RS232-TTL chip). I am using PPP to connect to the Internet through verizon. Everything works well until the connection gets interrupted. I am using ddial mode, so if the connection drops, it will redial. From the logs, I can see that PPP tries to redial, but after the initial connection, the modem does not respond to any at commands. If I power-cycle the modem, it will connect just fine the next time PPP tries to reconnect. I realize that there is a good chance that the problem is in the modem. I am just wondering if there are any cases where you need a special chat script to handle disconnects to return the modem to a clean state. Also, if there is a better group for this, please let me know. Thanks. Jordon Hofer Dir. Software Engineering AgSense LLC