Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 Jan 2004 20:59:38 +0100
From:      "Lemasson Sylvain" <sylvain_lemasson@yahoo.fr>
To:        "freebsd net" <freebsd-net@freebsd.org>, "freebsd config" <freebsd-config@freebsd.org>
Subject:   configuration of pppOe
Message-ID:  <005c01c3dad8$f84d6a40$020aa8c0@TOMPOUCE>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.

------=_NextPart_000_0058_01C3DAE1.52760970
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

I send some mail before about some problems I have concerning the =
configuration of pppOe and some people ask me about the ppp.log. It is =
in this mail as a join file. I try actually to connect using the command =
ppp -ddial tele2 and when I try to connect to internet using netscape I =
have an error message saying the name server could not be found.

                                            Best regards.

- 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 192.168.10.1  netmask 255.255.255.0"
ifconfig_sis1=3D"inet 10.0.0.1  netmask 255.255.255.255"
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"tele2"
#ppp_nat=3D"yes"
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"

-- 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.0.0.1\0 10.0.0.2\0 255.255.255.0 0.0.0.0
 disable ipv6cp
tele2:
 set device PPPoE:sis1:
 set speed sync
 set MRU 1492
 set MTU 1492
 set cd 5
 enable lqr
 nat enable yes
 nat same_ports yes
 nat use_socket yes
 nat deny_incoming yes=20
 set authname login
 set authkey password
 set dial
 set login
 add default HISADDR

Sylvain Lemasson
Sylvain Lemasson
------=_NextPart_000_0058_01C3DAE1.52760970--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?005c01c3dad8$f84d6a40$020aa8c0>