From owner-freebsd-questions@FreeBSD.ORG Wed Aug 13 17:28:17 2003 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 5B6E437B401 for ; Wed, 13 Aug 2003 17:28:17 -0700 (PDT) Received: from mta4.adelphia.net (mta4.mail.adelphia.net [64.8.50.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id 718CD43FA3 for ; Wed, 13 Aug 2003 17:28:16 -0700 (PDT) (envelope-from fbsd_user@a1poweruser.com) Received: from barbish ([68.169.105.49]) by mta4.adelphia.net (InterMail vM.5.01.05.32 201-253-122-126-132-20030307) with SMTP id <20030814002816.YIXI1347.mta4.adelphia.net@barbish>; Wed, 13 Aug 2003 20:28:16 -0400 From: "fbsd_user" To: "Gordon Freeman" , Date: Wed, 13 Aug 2003 20:28:14 -0400 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="US-ASCII" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <1611894178.20030813201206@mail.ru> X-MIMEOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal Subject: RE: after the ppp, nothing doen'n work... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: fbsd_user@a1poweruser.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 14 Aug 2003 00:28:17 -0000 I tried to send this email directly to you but your ISP email server bounced it. Add this to your rc.conf file to auto start user ppp at boot time #################################################################### ########## # /etc/rc.conf # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides to /etc/defaults/rc.conf. # # JJB 11/15/01 #################################################################### ########## gateway_enable="YES" # Activate this host to be a gateway. hostname="baltnet.ru" # Activate user ppp auto start at boot time ppp_enable="YES" # Start User ppp task ppp_mode="ddial" # ddial, auto, background ppp_profile="dialisp" # section in ppp.conf to exec # if you have PC's on LAN behind your FBSD box then uncomment next statements #ppp_nat="YES" # turn off user ppp nat feature USE THIS PPP.CONF INSTEAD OF THE ONE YOU ARE USING NOW. Replace login id and password with your own. #################################################################### ########## # /etc/ppp/ppp.conf File for dial out modem to ISP # Written by Joe Barbish 12/10/2001 # #################################################################### ######### default: set log Phase Chat LCP IPCP CCP tun command #use for testing #set log Phase tun #use to avoid excessive log sizes set speed 115200 # connection speed set timeout 0 # no idle time out, will not disconnect disable pred1 deflate lqr # compression features & line quality reporting deny pred1 deflate lqr # compression features & line quality reporting dialisp: set device /dev/cuaa1 set dial "ABORT BUSY ABORT NO\\sCARRIER TIMEOUT 5 \ \"\" AT OK-AT-OK ATE1Q0 OK \\dATDT\\T TIMEOUT 40 CONNECT" set phone 144 # only use this phone number set authname barbish2 set authkey bobxxxx set redial 10 4 # if busy redial 4 times with 10 second pause # get dynamic IP address from ISP. set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 enable dns # Gets the ISP's DNS IP address & places them # in resolv.conf for reference by FBSD box. disable iface-alias # Stop adding old IP addr as alias when ppp # redials because line was lost. These old ips # showed using ifconfig -a on tun0. iface clear # Remove all previous IP address add default HISADDR # Add a (sticky) default route (Mandatory) After making these changes, clear out, empty /var/log/ppp.log file before rebooting your pc. If it still does not work, post these files. Only test one time so ppp.log only contains log messages of one test. /var/run/dmesg.boot /var/log/ppp.log /etc/rc.conf /etc/ppp/ppp.conf I need the complete contents of the above files to debug problem. Read all about user ppp command and configuration options at this link. http://www.freebsd.org/cgi/man.cgi?query=ppp&apropos=0&sektion=0&man path=FreeBSD+4.8-RELEASE&format=html