Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Apr 2001 22:20:10 +0900
From:      "Luke Kearney" <lukek@tkh.att.ne.jp>
To:        "Free BSD" <freebsd-questions@FreeBSD.ORG>
Subject:   PPPoE woes
Message-ID:  <INENKBKNHIHCLECCNBLKKEEEDGAA.lukek@tkh.att.ne.jp>

next in thread | raw e-mail | index | archive | help
Hello All,
after months of learning to live with a *really really* slow connection to
the net I finally joined the 21st century with a Dsl connection. Having read
up on how to connect my machine to the net I got the kernel re-config'd and
went about altering the PPP.Conf and rc.conf file  ( see below for
details ). When I tried to connect it gave me all the encouraging signs but
it would not actually connect it Hangs when I get the message "Starting PPP
as "root" " or words to this effect ( trying for kernel PPP on FreeBSD
4.2R ).

Two concerns. One, is running this service as root a good idea security wise
? Two, why does the machine not connect ? I followed the instructions to the
letter.  For what it is worth I am trying to connect to ATT Worldnet
service - if that makes any difference.

Any help is much appreciated.


bash-2.04# cat /etc/ppp/ppp.conf
default:
 set log Phase Chat LCP IPCP CCP tun command
 nat enable yes
 nat same_ports yes
 nat use_sockets yes
 set redial 3 28800
 set reconnect 3 28800

PPPOE:
 set device PPPoE:vr0:
 set mru 1492
 set mtu 1492
 set speed sync
 enable lqr
 set lqrperiod 5
 set cd 5
 set dial
 set login
 set timeout 0
 set authname XXXXXXX@att.ne.jp
 set authkey XXXXXXXX
 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
 enable dns                             # request DNS info (for resolv.conf)

bash-2.04# cat /etc/rc.conf
# This file now contains just the overrides from /etc/defaults/rc.conf
# please make all changes to this file.

# Enable network daemons for user convenience.
# -- sysinstall generated deltas -- #
network_interfaces="auto"
ifconfig_vr0="inet 10.0.0.1 netmask 255.0.0.0 -arp up"
hostname="myhost.mydomain.net"
linux_enable="YES"
sendmail_enable="YES"
moused_enable="YES"
ppp_enable="YES"
ppp_mode="background"
ppp_profile="default"
gateway_enable="YES"
sshd_enable="YES"
inetd_enable="YES"
usbd_enable="YES"
# -- sysinstall generated deltas -- #
ifconfig_vr1="inet 192.168.0.2  netmask 255.255.255.0"
hostname="myhost.mydomain.net"


Thanks

Luke


===================================================

Unix IS user friendly it's  just particular about who its friends ARE

Even still we are not on speaking terms !!!!!

 ==================================================


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?INENKBKNHIHCLECCNBLKKEEEDGAA.lukek>