From owner-freebsd-net@FreeBSD.ORG Thu Jan 1 10:46:01 2004 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C24AC16A4CF for ; Thu, 1 Jan 2004 10:46:01 -0800 (PST) Received: from smtp003.mail.ukl.yahoo.com (smtp003.mail.ukl.yahoo.com [217.12.11.34]) by mx1.FreeBSD.org (Postfix) with SMTP id 4013543D49 for ; Thu, 1 Jan 2004 10:45:55 -0800 (PST) (envelope-from sylvain_lemasson@yahoo.fr) Received: from unknown (HELO TOMPOUCE) (sylvain?lemasson@213.103.204.146 with login) by smtp003.mail.ukl.yahoo.com with SMTP; 1 Jan 2004 18:45:53 -0000 Message-ID: <00a701c3d097$953eb620$0314210a@TOMPOUCE> From: "Lemasson Sylvain" To: "freebsd config" , "freebsd net" Date: Thu, 1 Jan 2004 19:46:33 +0100 MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="----=_NextPart_000_00A3_01C3D09F.F5BEDE50" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Content-Filtered-By: Mailman/MimeDel 2.1.1 Subject: Re: PPPoE X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Jan 2004 18:46:01 -0000 This is a multi-part message in MIME format. ------=_NextPart_000_00A3_01C3D09F.F5BEDE50 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable In the previous mail some files are lacking. You can found them below. I have configured freebsd to use PPPoE but it does not work. You can found some parameter files (rc.conf/ppp.conf) and the result of = some commands such as netstat and ifconfig. The process break down at = boot time. If someone could give some help to configure properly the = PPP network. I have got another question, how could we test the PPPoE if we do not = start it at boot time. It is say in the documentation to start it with = the command 'ppp -ddial pppoe' but it seems it does not connect. And = finaly if we start it how could we stop it (disconnection). Thank you -- 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.8 2001/06/21 15:42:26 brian Exp $ ################################################################# default: set log Phase Chat LCP IPCP CCP tun command # Ensure that "device" references the correct serial port # for your modem. (cuaa0 =3D COM1, cuaa1 =3D COM2) set ifaddr 10.33.20.253 10.33.20.1 255.255.255.255 0.0.0.0 pppoe: set device PPPoE:sis1: set authname myauthname set authkey mypassword set dial set login add default HISADDR -- rc.conf # -- sysinstall generated deltas -- # Sun Oct 19 19:01:31 2003 # Created: Sun Oct 19 19:01:31 2003 # 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. hostname=3D"PARIS" network_interfaces=3D"lo0 lp0 sis0 sis1" ifconfig_sis0=3D"inet 10.33.20.2 netmask 255.255.255.0" ifconfig_sis1=3D"inet 10.33.20.1 netmask 255.255.255.255 -arp up" inetd_enable=3D"YES" kern_securelevel_enable=3D"NO" keymap=3D"fr.iso.acc" linux_enable=3D"YES" moused_enable=3D"YES" ppp_enable=3D"YES" ppp_mode=3D"background" ppp_profile=3D"pppoe" sendmail_enable=3D"NONE" sendmail_outbound_enable=3D"NO" sendmail_submit_enable=3D"NO" sendmail_msp_queue_enable=3D"NO" sshd_enable=3D"YES" usbd_enable=3D"YES" gatway_enable=3D"YES" Sylvain Lemasson ------=_NextPart_000_00A3_01C3D09F.F5BEDE50 Content-Type: text/plain; name="ifconfig.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="ifconfig.txt" sis0: flags=8843 mtu 1500 inet 10.33.20.2 netmask 0xffffff00 broadcast 10.33.20.255 inet6 fe80::209:5bff:fe1d:9280%sis0 prefixlen 64 scopeid 0x1 ether 00:09:5b:1d:92:80 media: Ethernet autoselect (100baseTX ) status: active sis1: flags=88c3 mtu 1500 inet6 fe80::209:5bff:fe22:37c3%sis1 prefixlen 64 scopeid 0x2 inet 10.33.20.1 netmask 0xffffffff broadcast 10.33.20.1 ether 00:09:5b:22:37:c3 media: Ethernet autoselect (none) status: no carrier lp0: flags=8810 mtu 1500 lo0: flags=8049 mtu 16384 inet6 ::1 prefixlen 128 inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4 inet 127.0.0.1 netmask 0xff000000 tun0: flags=8010 mtu 1500 ------=_NextPart_000_00A3_01C3D09F.F5BEDE50 Content-Type: text/plain; name="netstat.txt" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="netstat.txt" Routing tables Internet: Destination Gateway Flags Refs Use Netif Expire default 10.33.20.1 UGSc 0 0 sis1 10.33.20/24 link#1 UC 1 0 sis0 10.33.20.1 00:09:5b:22:37:c3 UHLW 1 0 lo0 => 10.33.20.1/32 link#2 UC 1 0 sis1 10.33.20.3 00:10:dc:85:d7:b4 UHLW 15 17848 sis0 907 localhost localhost UH 0 268 lo0 Internet6: Destination Gateway Flags Netif Expire ::1 ::1 UH lo0 fe80::%sis0 link#1 UC sis0 fe80::209:5bff:fe1 00:09:5b:1d:92:80 UHL lo0 fe80::%sis1 link#2 UC sis1 fe80::209:5bff:fe2 00:09:5b:22:37:c3 UHL lo0 fe80::%lo0 fe80::1%lo0 Uc lo0 fe80::1%lo0 link#4 UHL lo0 ff01:: ::1 U lo0 ff02::%sis0 link#1 UC sis0 ff02::%sis1 link#2 UC sis1 ff02::%lo0 ::1 UC lo0 ------=_NextPart_000_00A3_01C3D09F.F5BEDE50--