configuration of pppOe

Lemasson Sylvain sylvain_lemasson at yahoo.fr
Wed Jan 14 12:00:01 PST 2004


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="PARIS"
network_interfaces="lo0 lp0 sis0 sis1"
ifconfig_sis0="inet 192.168.10.1  netmask 255.255.255.0"
ifconfig_sis1="inet 10.0.0.1  netmask 255.255.255.255"
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="tele2"
#ppp_nat="yes"
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"

-- ppp.conf
#################################################################
# PPP  Sample Configuration File
# Originally written by Toshiharu OHNO
# Simplified 5/14/1999 by wself at 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.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 
 set authname login
 set authkey password
 set dial
 set login
 add default HISADDR

Sylvain Lemasson
Sylvain Lemasson


More information about the freebsd-net mailing list