From owner-freebsd-questions Sat Jan 27 14: 4:13 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mtiwmhc23.worldnet.att.net (mtiwmhc23.worldnet.att.net [204.127.131.48]) by hub.freebsd.org (Postfix) with ESMTP id 7F44F37B400 for ; Sat, 27 Jan 2001 14:03:47 -0800 (PST) Received: from muggla ([12.81.160.63]) by mtiwmhc23.worldnet.att.net (InterMail vM.4.01.03.10 201-229-121-110) with SMTP id <20010127220343.PLHE28450.mtiwmhc23.worldnet.att.net@muggla> for ; Sat, 27 Jan 2001 22:03:43 +0000 Message-ID: <000401c088ae$1450caa0$0200a8c0@muggla> From: "Matt Edwards" To: Subject: Connecting to My ISP via DSL Date: Sat, 27 Jan 2001 14:58:56 -0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C08871.ABFADB80" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.50.4133.2400 X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C08871.ABFADB80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable I am attempting to connect to my ISP using new DSL modem and service. I = have had a fun time setting up my version of FreeBSD 4.2 to do just = that. Learned alot. However, I have been unsuccessfull in my attempts! = :( My system configuration is as follows, any help you can provide, be = it more reference material or what ever, would be greatly appreciated! = I have searched high and low for more documentation (I have only found = these refrences: http://www.freebsd.org/cgi/man.cgi?ppp , = http://www.freebsd.org/handbook/pppoe.html , = http://www.sympaticousers.org/faq/freebsd_howto.htm , = http://www.freebsd.org/tutorials/ppp/ , unfortunately there are not alot = of troubleshooting refrences to PPPoE here.) on PPPoE and as yet have = been unsccessfull. I have configured my KERNAL with=20 options NETGRAPH options NETGRAPH_ETHER options NETGRAPH_PPPOE options NETGRAPH_SOCKET -------------------------------------------------------------------------= --------------------- my rc.conf file: # ---------------- OPTIONS linux_enable=3D"YES" sendmail_enable=3D"NO" moused_enable=3D"NO" amd_enable=3D"NO" saver=3D"blank" # ---------------- TCP/IP OPTIONS sshd_enable=3D"YES" inetd_enable=3D"YES" tcp_keepalive=3D"YES" gateway_enable=3D"YES" # ----------------- TCP/IP SETUP hostname=3D"everquest.matt.com" network_interfaces=3D"auto" ifconfig_tun0=3D ifconfig_xl0=3D"inet 192.168.0.1 netmask 255.255.0.0" # ----------------- ROUTING router_enable=3D"NO" # ----------------- FIREWALL firewall_enable=3D"YES" firewall_type=3D"open" # ----------------- NAT # ----------------- DSL # ----------------- DHCP /sbin/dhcpstart xl0 -------------------------------------------------------------------------= --------------------- my ppp.conf file: default: set log Chat Command Connect TUN nat enable yes nat same_ports yes nat use_sockets yes enable dns qwest: set device PPPoE:xl0 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 usrname set authkey authkey accept chap set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 set openmode active -------------------------------------------------------------------------= --------------------- my ppp.linkup file: qwest: delete ALL add 0 0 HISADDR MYADDR: add 0 0 HISADDR -------------------------------------------------------------------------= --------------------- my ppp.log: Oct 20 08:13:20 everquest ppp[245]: Phase: Using interface: tun1 Oct 20 08:13:20 everquest ppp[245]: Phase: deflink: Created in closed = state Oct 20 08:13:21 everquest ppp[245]: tun1: Command: default: nat enable = yes Oct 20 08:13:21 everquest ppp[245]: tun1: Command: default: nat = same_ports yes Oct 20 08:13:21 everquest ppp[245]: tun1: Command: default: nat = use_sockets yes Oct 20 08:13:21 everquest ppp[245]: tun1: Command: default: enable dns Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set device = PPPoE:xl0 Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set mru 1492 Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set mtu 1492 Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set speed sync Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: enable lqr Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set lqrperiod = 5 Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set cd 5 Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set dial Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set login Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set timeout 0 Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set authname = enichi Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set authkey = ******** Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: accept chap Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set ifaddr = 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set openmode = active Oct 20 08:13:21 everquest ppp[246]: tun1: Chat: deflink: Dial attempt 1 = of 1 Oct 20 08:13:26 everquest ppp[246]: tun1: Chat: Parent notified of = failure -------------------------------------------------------------------------= --------------------- command prompt results: everquest# ppp -background qwest Working in background mode Using interface: tun1 Child failed (errdead) everquest#=20 -------------------------------------------------------------------------= --------------------- I hope this is enough information. :) Whew! Please help. sincercely, Matt Edwards ------=_NextPart_000_0005_01C08871.ABFADB80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
I am attempting to connect to my ISP = using new DSL=20 modem and service.  I have had a fun time setting up my version of = FreeBSD=20 4.2 to do just that.  Learned alot.  However, I have been=20 unsuccessfull in my attempts! :(  My system configuration is as = follows,=20 any help you can provide, be it more reference material or what ever, = would be=20 greatly appreciated!  I have searched high and low for more = documentation=20 (I have only found these refrences:  http://www.freebsd.org/cg= i/man.cgi?ppp ,=20 http://www.freebsd.or= g/handbook/pppoe.html ,=20 http://www.s= ympaticousers.org/faq/freebsd_howto.htm ,=20 http://www.freebsd.org/tut= orials/ppp/ ,=20 unfortunately there are not alot of troubleshooting refrences to PPPoE = here.)=20 on PPPoE and as yet have been unsccessfull.
 
I have configured my KERNAL = with=20
options NETGRAPH
options=20 NETGRAPH_ETHER
options NETGRAPH_PPPOE
options = NETGRAPH_SOCKET
 
----------------------------------------------------------------------------------------------
my rc.conf = file:
 
# ----------------=20 OPTIONS
linux_enable=3D"YES"
sendmail_enable=3D"NO"
moused_enabl= e=3D"NO"
amd_enable=3D"NO"
saver=3D"blank"
#=20 ---------------- TCP/IP=20 OPTIONS
sshd_enable=3D"YES"
inetd_enable=3D"YES"
tcp_keepalive=3D= "YES"
gateway_enable=3D"YES"
#=20 ----------------- TCP/IP=20 SETUP
hostname=3D"everquest.matt.com"
network_interfaces=3D"auto"ifconfig_tun0=3D
ifconfig_xl0=3D"inet=20 192.168.0.1 netmask 255.255.0.0"
# -----------------=20 ROUTING
router_enable=3D"NO"
# -----------------=20 FIREWALL
firewall_enable=3D"YES"
firewall_type=3D"open"
# = -----------------=20 NAT
# ----------------- DSL
# ----------------- = DHCP
/sbin/dhcpstart=20 xl0
 
----------------------------------------------------------------------------------------------
my ppp.conf = file:
 
default:
        set log = Chat=20 Command Connect TUN
        nat = enable=20 yes
        nat same_ports=20 yes
        nat use_sockets=20 yes
        enable=20 dns
qwest:
        set device=20 PPPoE:xl0
        set mru=20 1492
        set mtu=20 1492
        set speed=20 sync
        enable=20 lqr
        set lqrperiod=20 5
        set cd=20 5
        set=20 dial
        set=20 login
        set timeout=20 0
        set=20 authname usrname
        set=20 authkey authkey
        = accept=20 chap
        set ifaddr 10.0.0.1/0 = 10.0.0.2/0 255.255.255.0 0.0.0.0
    =     set=20 openmode active
 
----------------------------------------------------------------------------------------------
my ppp.linkup = file:
 
qwest:
        delete=20 ALL
        add 0 0=20 HISADDR
MYADDR:
        add 0 0 = HISADDR
 
----------------------------------------------------------------------------------------------
my = ppp.log:
 
Oct 20 08:13:20 everquest ppp[245]: = Phase: Using=20 interface: tun1
Oct 20 08:13:20 everquest ppp[245]: Phase: deflink: = Created=20 in closed state
Oct 20 08:13:21 everquest ppp[245]: tun1: Command: = default:=20 nat enable yes
Oct 20 08:13:21 everquest ppp[245]: tun1: Command: = default:=20 nat same_ports yes
Oct 20 08:13:21 everquest ppp[245]: tun1: Command: = default: nat use_sockets yes
Oct 20 08:13:21 everquest ppp[245]: = tun1:=20 Command: default: enable dns
Oct 20 08:13:21 everquest ppp[245]: = tun1:=20 Command: qwest: set device PPPoE:xl0
Oct 20 08:13:21 everquest = ppp[245]:=20 tun1: Command: qwest: set mru 1492
Oct 20 08:13:21 everquest = ppp[245]: tun1:=20 Command: qwest: set mtu 1492
Oct 20 08:13:21 everquest ppp[245]: = tun1:=20 Command: qwest: set speed sync
Oct 20 08:13:21 everquest ppp[245]: = tun1:=20 Command: qwest: enable lqr
Oct 20 08:13:21 everquest ppp[245]: tun1: = Command:=20 qwest: set lqrperiod 5
Oct 20 08:13:21 everquest ppp[245]: tun1: = Command:=20 qwest: set cd 5
Oct 20 08:13:21 everquest ppp[245]: tun1: Command: = qwest: set=20 dial
Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set=20 login
Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set = timeout=20 0
Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set = authname=20 enichi
Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set = authkey=20 ********
Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: = accept=20 chap
Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set = ifaddr=20 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0
Oct 20 08:13:21 everquest = ppp[245]: tun1: Command: qwest: set openmode active
Oct 20 08:13:21 = everquest=20 ppp[246]: tun1: Chat: deflink: Dial attempt 1 of 1
Oct 20 08:13:26 = everquest=20 ppp[246]: tun1: Chat: Parent notified of failure
 
----------------------------------------------------------------------------------------------
command prompt=20 results:
 
everquest# ppp -background = qwest
Working in=20 background mode
Using interface: tun1
Child failed = (errdead)
everquest#=20
 
----------------------------------------------------------------------------------------------
 
I hope this is enough information. :) =  =20 Whew!  Please help.
 
sincercely,
 
Matt Edwards
------=_NextPart_000_0005_01C08871.ABFADB80-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message