From owner-freebsd-questions@FreeBSD.ORG Thu Nov 29 12:02:10 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id CACDE715 for ; Thu, 29 Nov 2012 12:02:10 +0000 (UTC) (envelope-from kazakevichilya@gmail.com) Received: from mail-oa0-f54.google.com (mail-oa0-f54.google.com [209.85.219.54]) by mx1.freebsd.org (Postfix) with ESMTP id 834538FC18 for ; Thu, 29 Nov 2012 12:02:10 +0000 (UTC) Received: by mail-oa0-f54.google.com with SMTP id n9so18490105oag.13 for ; Thu, 29 Nov 2012 04:02:09 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=j/w5yZqN3WZnS8dIAFQT3DDvVTNLuXB+7yzsQkDiilU=; b=ZXmkwpEOp/9PgggScHC8KDYMT9oE7Nm6GUkenObxlmznoMselxO4DKLavAnDD+Y/n2 cbZFOY8JdPbs2y50qVoQgGCf0V3JcieRrAmTr8P48pzFGs47MdlJkYd88t9gzuhyCqRo xpODFVMwJ3r5DlJis2id6L1HsSCdWsbSnHBtsW1c9LNtIbwquclK4MpTf0iD0JnImwfp cf8syvKQlhxR8cGKp8/yry24o+oITYklnjj2xqASiLyj10dr/IKSU3wLD2TnIv0r/kjP zZnO+45Rtp+C/ES0NeQjf1WmY51uSlIzTytEm8JXB1SRBR1jvckafxZJ4oCoIQbBXAB2 WQMQ== MIME-Version: 1.0 Received: by 10.60.13.198 with SMTP id j6mr1351568oec.51.1354190529763; Thu, 29 Nov 2012 04:02:09 -0800 (PST) Received: by 10.60.38.104 with HTTP; Thu, 29 Nov 2012 04:02:09 -0800 (PST) In-Reply-To: References: <20121128170525.c3fb92e8.freebsd@edvax.de> Date: Thu, 29 Nov 2012 16:02:09 +0400 Message-ID: Subject: Re: set connection to a modem From: Ilya Kazakevich To: s m Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: freebsd-questions@freebsd.org X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 29 Nov 2012 12:02:11 -0000 Hello, honestly, i should do it for my boss and don't know what he should want > exactly to do but i am sure that he has an external serial modem and wants > to config it by AT commands via a freebsd system; therefore i think our > connection is dial-out. > 1) Make sure your serial port and modem work. Try to talk to your modem using some tool like minicom (/usr/ports/comms/minicom). Try to send some AT commands to your modem: ATZ (should return OK) ATI7 (should return product info) ATDT (should dial it) 2) To talk to your modem you will use "chat" tool, so read "man chat" 3) To connect your PC to the internet via serial modem you use PPP. So read http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/ppp-and-slip.html You should understand how PPP works to configure it so you may want to read http://en.wikipedia.org/wiki/Point-to-point_protocol or http://tools.ietf.org/html/rfc1661 Ilya.