From owner-freebsd-questions@FreeBSD.ORG Wed Nov 28 10:14:19 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 C92C0A99 for ; Wed, 28 Nov 2012 10:14:19 +0000 (UTC) (envelope-from sam.gh1986@gmail.com) Received: from mail-vb0-f54.google.com (mail-vb0-f54.google.com [209.85.212.54]) by mx1.freebsd.org (Postfix) with ESMTP id 7175C8FC13 for ; Wed, 28 Nov 2012 10:14:18 +0000 (UTC) Received: by mail-vb0-f54.google.com with SMTP id l1so6486661vba.13 for ; Wed, 28 Nov 2012 02:14:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:date:message-id:subject:from:to:content-type; bh=Vp2vbiMShFEsCJa8sR9GV/RYPDYxdI7w0zRglXYYf8Q=; b=T3A5ISxKb/t39TSpozFbyHB/C3D2tNzGvHa5uOcvjyRlqVxLFuwzNOYevtPxIhJVNg tccJ6nZ7FFF7bjdTxT2NsYp5PvWJJlMiGwjXnQLWXnp4Ze3NYA9EZMYTbsibU+ZvYyL4 Luz2bjVNixqcYxT4q5WmL28n54RhZ9ZhhJ4i7yQ7l4pbliDxOMJGgUH4hxBQ+bOG9V17 5u4wfRkWuEIR554sqIFLhbgi3r9vi7ckw0MBiVgqPgNEmynr39/KOG50muWGZaKfmYpU WW6xJxxRPPwJ44M/xruGRjUHgjmnfxwleV3uxbFfT96XfEFTDJ7iRh7ntIkX46Pbr6ay AByA== MIME-Version: 1.0 Received: by 10.220.141.206 with SMTP id n14mr28153618vcu.64.1354097658350; Wed, 28 Nov 2012 02:14:18 -0800 (PST) Received: by 10.58.196.230 with HTTP; Wed, 28 Nov 2012 02:14:18 -0800 (PST) Date: Wed, 28 Nov 2012 13:44:18 +0330 Message-ID: Subject: set connection to a modem From: s m To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 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: Wed, 28 Nov 2012 10:14:20 -0000 hello guys, i want to connect my freebsd system to modem and configure it via my freebsd. i thought that i should change /etc/ttys file to set speed and other configuration. in order to check if i am right or not, i comment ttyu line in ttys file and expect the modem got disconnected but the modem still works and can access to it. i googled and found that there are three files in /etc that we can edit them to configure our devices: /etc/ttys, /etc/gettytab and /etc/rc.d/serial.sh. moreover we can edit init file for each device in /dev to set default speed and other configuration by stty command. now i am confused and don't know which file i should edit to set speed and flow control and other setting to have a connection to my modem. i mean from which file i can configure my connection? i know it's too easy but please clear it for me. yours, sam