From owner-freebsd-questions@FreeBSD.ORG Thu May 27 18:35:20 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 748E016A4CE for ; Thu, 27 May 2004 18:35:20 -0700 (PDT) Received: from mx2.ngi.de (mx2.ngi.de [213.191.74.84]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3D1D543D39 for ; Thu, 27 May 2004 18:35:19 -0700 (PDT) (envelope-from igor@icpe.de) Received: (qmail 678 invoked from network); 28 May 2004 01:26:58 -0000 Received: from unknown (HELO isaiah.icpe.de) ([217.185.34.143]) (envelope-sender ) by 0 (qmail-ldap-1.03) with SMTP for ; 28 May 2004 01:26:58 -0000 Received: from isaiah.icpe.de (isaiah.icpe.de [10.0.0.1]) by isaiah.icpe.de (8.9.3/8.9.3) with SMTP id DAA01980 for ; Fri, 28 May 2004 03:22:48 +0200 (CEST) (envelope-from igor@icpe.de) From: Igor Zbirka To: freebsd-questions@FreeBSD.org Date: Fri, 28 May 2004 03:16:18 +0200 X-Mailer: KMail [version 1.0.28] Content-Type: text/plain MIME-Version: 1.0 Message-Id: <04052803224800.01933@isaiah.icpe.de> Content-Transfer-Encoding: 8bit Subject: ppp -auto X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: igor@icpe.de List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 28 May 2004 01:35:20 -0000 I would like to ask you for help. In manpages for ppp (8) is written: "The following modes are understood by ppp: -auto ppp opens the tun interface, configers it then it goes into the beckground. The link isn't brought up until outgoing data is detected on the tun interface at which point ppp attempts to bring up the link." I've just installed FreeBSD 5.2 on my compaq deskpro. I've used the 'User' option of the distribution (Average user - binaries and doc only). I've read and go through all the man pages regarding to ppp and my modem is conecting without any problem. I can go online and do all what I need. BUT!!!:) when I write 'ppp -auto install' it automaticaly dials into ISP. So according to man page (as I've qouted on the begining) it means that there were detected datas on the tun interface. My question is what it is. I'm asking this because I wasn't sending anything and the modem was online for more than 6 minutes, something was going on, and than I've switched it off manualy. In my ppp.conf (as it is attached) I've set timeout 120. When I did ping, after it finnished exactly in two minutes. So what I want is that only when I'm sending email or browsing any web page it will go online. Do you have any idea what should I do and why there are some datas which are on the tun interface. Is a firewall soulution? Thanks a lot Igor Zbirka ----------------------------------- My ppp.conf file: default: set öog Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) set device /dev/cuaa0 set speed 115200 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set timeout 180 enable dns install: set phone xxxxxxxxx set authname xxxxxxxxxxxxx set authkey xxxxxxxxxxxx set speed 115200 set device /dev/cuaa0 set ifaddr 0 0 255.255.255.0 0.0.0.0 add! default HISADDR set timeout 120 enable dns set log local phase