From owner-freebsd-questions@FreeBSD.ORG Sat Oct 20 05:26:48 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4912A16A419 for ; Sat, 20 Oct 2007 05:26:48 +0000 (UTC) (envelope-from b.ismayilov@gmail.com) Received: from fk-out-0910.google.com (fk-out-0910.google.com [209.85.128.184]) by mx1.freebsd.org (Postfix) with ESMTP id B846113C469 for ; Sat, 20 Oct 2007 05:26:44 +0000 (UTC) (envelope-from b.ismayilov@gmail.com) Received: by fk-out-0910.google.com with SMTP id b27so762188fka for ; Fri, 19 Oct 2007 22:26:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:mime-version:content-type; bh=46xh4HVaNB0j/zg3HIa6srD2n5vOB7V8ciineZopmeY=; b=i85kst01v4MkzccneNNbctSFW7KkrAAt4CossHFM5mqko10aDuBq+JdNIBsTSGQBKeyLbpqPv0g+p6qPwN30M2uihs+no7Y7MwsyBaJiyifZBBgLtMibj7Gwnvv012MedIqvPmx4oFf76p60ECzOP0EVZUAqXOQvy3kV2vI3rwo= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:mime-version:content-type; b=JH4Ng+6x713d56jANMf5HqGHrz/Vd4/RD5F53P1sJNDW9/nnQ8TilJY7gvFP5GEqem0PLcIeW6NGQZA5MPexnL3LZMijx40Jd14ez7cRJajQJnvzfSL43R2ZfB0q6k2zf9IZI+BWQdX8PQexvzYIkhj/eMrPbekr/fv+kmQpghk= Received: by 10.82.165.13 with SMTP id n13mr4857631bue.1192856427395; Fri, 19 Oct 2007 22:00:27 -0700 (PDT) Received: by 10.82.151.18 with HTTP; Fri, 19 Oct 2007 22:00:27 -0700 (PDT) Message-ID: <574134ea0710192200m2ded2a58oee8c259cb0a977f0@mail.gmail.com> Date: Sat, 20 Oct 2007 10:00:27 +0500 From: "Babek Ismayilov" To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: PPPoE config FreeBSD. Need help X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Oct 2007 05:26:48 -0000 Hi, i need to configure PPPoE in FreeBSD 6.2. I tested but it didn't work out. I'm want to show you the result of the command: web# ppp Working in interactive mode Using interface: tun0 ppp ON web> dial Internet ppp ON web> ping box.az Warning: ping: Invalid command Warning: ping: Failed 1 ppp ON web> ppp ON web> pppd Warning: pppd: Invalid command Warning: pppd: Failed 1 ppp ON web> quit web# pppd Here is rc.conf rc.conf # -- sysinstall generated deltas -- # Fri Oct 19 16:25:38 2007 # Created: Fri Oct 19 16:25:38 2007 # Enable network daemons for user convenience. # Please make all changes to this file, not to /etc/defaults/rc.conf. # This file now contains just the overrides from /etc/defaults/rc.conf. #defaultrouter="172.16.200.1" hostname="web.pronet" ifconfig_rl0="inet 172.16.200.201 netmask 255.255.255.0" inetd_enable="YES" linux_enable="YES" sshd_enable="YES" usbd_enable="YES" ppp_interface="rl1" ppp_enable="YES" ppp_mode="ddial" ppp_nat="NO" ppp_profile="primus" network_interfaces="rl1 lo0" ifconfig_rl1="inet 10.0.0.1 netmask 255.255.255.0" ppp.conf ################################################################# # PPP Sample Configuration File # Originally written by Toshiharu OHNO # Simplified 5/14/1999 by wself@cdrom.com # # See /usr/share/examples/ppp/ for some examples # # $FreeBSD: src/etc/ppp/ppp.conf,v 1.10 2004/11/19 17:12:56 obrien Exp $ ################################################################# default: set log Phase Chat LCP IPCP CCP tun command ident user-ppp VERSION (built COMPILATIONDATE) # Ensure that "device" references the correct serial port # for your modem. (cuad0 = COM1, cuad1 = COM2) # set device PPPoE:rl1 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 # 3 minute idle timer (the default) enable dns # request DNS info (for resolv.conf) papchap: # # edit the next three lines and replace the items in caps with # the values which have been assigned by your ISP. # primus: set authname pronet set authkey 3060683 set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 add default HISADDR # Add a (sticky) default route added there lines to GENERIC: # Enables PPPoE options NETGRAPH options NETGRAPH_SOCKET options NETGRAPH_PPPOE But still didnt work out. Please give some advice. -- Your sincerely, Babek Ismayilov Information Technology Specialist Contacts: Mobile: (+994 55) 7574768