Date: Thu, 1 Jan 2004 19:40:59 +0100 From: "Lemasson Sylvain" <sylvain_lemasson@yahoo.fr> To: "freebsd config" <freebsd-config@freebsd.org>, "freebsd net" <freebsd-net@freebsd.org> Subject: PPPoE Message-ID: <006601c3d096$cdc3d120$0314210a@TOMPOUCE>
next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
------=_NextPart_000_0062_01C3D09F.2E48B440
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
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
Sylvain Lemasson
------=_NextPart_000_0062_01C3D09F.2E48B440
Content-Type: application/octet-stream;
name="rc.conf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="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="PARIS"
network_interfaces="lo0 lp0 sis0 sis1"
ifconfig_sis0="inet 10.33.20.2 netmask 255.255.255.0"
ifconfig_sis1="inet 10.33.20.1 netmask 255.255.255.255 -arp up"
inetd_enable="YES"
kern_securelevel_enable="NO"
keymap="fr.iso.acc"
linux_enable="YES"
moused_enable="YES"
ppp_enable="YES"
ppp_mode="background"
ppp_profile="pppoe"
sendmail_enable="NONE"
sendmail_outbound_enable="NO"
sendmail_submit_enable="NO"
sendmail_msp_queue_enable="NO"
sshd_enable="YES"
usbd_enable="YES"
gatway_enable="YES"
------=_NextPart_000_0062_01C3D09F.2E48B440
Content-Type: text/plain;
name="ifconfig.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="ifconfig.txt"
sis0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> 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 <full-duplex>)
status: active
sis1: flags=88c3<UP,BROADCAST,RUNNING,NOARP,SIMPLEX,MULTICAST> 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<POINTOPOINT,SIMPLEX,MULTICAST> mtu 1500
lo0: flags=8049<UP,LOOPBACK,RUNNING,MULTICAST> mtu 16384
inet6 ::1 prefixlen 128
inet6 fe80::1%lo0 prefixlen 64 scopeid 0x4
inet 127.0.0.1 netmask 0xff000000
tun0: flags=8010<POINTOPOINT,MULTICAST> mtu 1500
------=_NextPart_000_0062_01C3D09F.2E48B440
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_0062_01C3D09F.2E48B440
Content-Type: application/octet-stream;
name="ppp.conf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
filename="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 = COM1, cuaa1 = 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
------=_NextPart_000_0062_01C3D09F.2E48B440--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006601c3d096$cdc3d120$0314210a>
