Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 27 Jan 2001 14:58:56 -0700
From:      "Matt Edwards" <matt.edwards@worldnet.att.net>
To:        <freebsd-questions@FreeBSD.org>
Subject:   Connecting to My ISP via DSL
Message-ID:  <000401c088ae$1450caa0$0200a8c0@muggla>

index | next in thread | raw e-mail

[-- Attachment #1 --]
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 
options NETGRAPH
options NETGRAPH_ETHER
options NETGRAPH_PPPOE
options NETGRAPH_SOCKET

----------------------------------------------------------------------------------------------
my rc.conf file:

# ---------------- OPTIONS
linux_enable="YES"
sendmail_enable="NO"
moused_enable="NO"
amd_enable="NO"
saver="blank"
# ---------------- TCP/IP OPTIONS
sshd_enable="YES"
inetd_enable="YES"
tcp_keepalive="YES"
gateway_enable="YES"
# ----------------- TCP/IP SETUP
hostname="everquest.matt.com"
network_interfaces="auto"
ifconfig_tun0=
ifconfig_xl0="inet 192.168.0.1 netmask 255.255.0.0"
# ----------------- ROUTING
router_enable="NO"
# ----------------- FIREWALL
firewall_enable="YES"
firewall_type="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# 

----------------------------------------------------------------------------------------------

I hope this is enough information. :)   Whew!  Please help.

sincercely,

Matt Edwards

[-- Attachment #2 --]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META content="MSHTML 5.00.3105.105" name=GENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>I am attempting to connect to my ISP using new DSL 
modem and service.&nbsp; I have had a fun time setting up my version of FreeBSD 
4.2 to do just that.&nbsp; Learned alot.&nbsp; However, I have been 
unsuccessfull in my attempts! :(&nbsp; My system configuration is as follows, 
any help you can provide, be it more reference material or what ever,  would be 
greatly appreciated!&nbsp; I have searched high and low for more documentation 
(I have only found these refrences:&nbsp; <A 
href="http://www.freebsd.org/cgi/man.cgi?ppp">http://www.freebsd.org/cgi/man.cgi?ppp</A>&nbsp;, 
<A 
href="http://www.freebsd.org/handbook/pppoe.html">http://www.freebsd.org/handbook/pppoe.html</A>&nbsp;, 
<A 
href="http://www.sympaticousers.org/faq/freebsd_howto.htm">http://www.sympaticousers.org/faq/freebsd_howto.htm</A>&nbsp;, 
<A 
href="http://www.freebsd.org/tutorials/ppp/">http://www.freebsd.org/tutorials/ppp/</A>&nbsp;, 
unfortunately there are not alot of troubleshooting refrences to PPPoE here.) 
on&nbsp;PPPoE and as yet have been unsccessfull.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><STRONG>I have configured my KERNAL with 
</STRONG></FONT></DIV>
<DIV><FONT face=Arial size=2>options NETGRAPH<BR>options 
NETGRAPH_ETHER<BR>options NETGRAPH_PPPOE<BR>options NETGRAPH_SOCKET</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2><FONT face=Arial 
size=2><FONT face=Arial size=2>---------------------------------------<FONT 
face=Arial size=2>----------------<FONT face=Arial 
size=2>---------------------------------------</FONT></FONT></FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG>my rc.conf file:</STRONG></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2># ---------------- 
OPTIONS<BR>linux_enable="YES"<BR>sendmail_enable="NO"<BR>moused_enable="NO"<BR>amd_enable="NO"<BR>saver="blank"<BR># 
---------------- TCP/IP 
OPTIONS<BR>sshd_enable="YES"<BR>inetd_enable="YES"<BR>tcp_keepalive="YES"<BR>gateway_enable="YES"<BR># 
----------------- TCP/IP 
SETUP<BR>hostname="everquest.matt.com"<BR>network_interfaces="auto"<BR>ifconfig_tun0=<BR>ifconfig_xl0="inet 
192.168.0.1 netmask 255.255.0.0"<BR># ----------------- 
ROUTING<BR>router_enable="NO"<BR># ----------------- 
FIREWALL<BR>firewall_enable="YES"<BR>firewall_type="open"<BR># ----------------- 
NAT<BR># ----------------- DSL<BR># ----------------- DHCP<BR>/sbin/dhcpstart 
xl0</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial 
size=2>---------------------------------------<FONT face=Arial 
size=2>----------------<FONT face=Arial 
size=2>---------------------------------------</FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG>my ppp.conf file:</STRONG></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>default:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set log Chat 
Command Connect TUN<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nat enable 
yes<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nat same_ports 
yes<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; nat use_sockets 
yes</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; enable 
dns<BR>qwest:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set device 
PPPoE:xl0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set mru 
1492<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set mtu 
1492<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set speed 
sync<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; enable 
lqr<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set lqrperiod 
5<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set cd 
5<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set 
dial<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set 
login<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set timeout 
0<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set 
authname&nbsp;usrname</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set 
authkey&nbsp;authkey</FONT></DIV>
<DIV><FONT face=Arial size=2>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; accept 
chap<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; set ifaddr 10.0.0.1/0 
10.0.0.2/0 255.255.255.0 0.0.0.0<BR>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; set 
openmode active</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>---------------------------------------<FONT 
face=Arial size=2>----------------<FONT face=Arial 
size=2>---------------------------------------</FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG>my ppp.linkup file:</STRONG></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial 
size=2>qwest:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; delete 
ALL<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; add 0 0 
HISADDR<BR>MYADDR:<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; add 0 0 
HISADDR</FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial 
size=2>---------------------------------------<FONT face=Arial 
size=2>----------------<FONT face=Arial 
size=2>---------------------------------------</FONT></FONT></FONT></FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG>my ppp.log:</STRONG></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Oct 20 08:13:20 everquest ppp[245]: Phase: Using 
interface: tun1<BR>Oct 20 08:13:20 everquest ppp[245]: Phase: deflink: Created 
in closed state<BR>Oct 20 08:13:21 everquest ppp[245]: tun1: Command: default: 
nat enable yes<BR>Oct 20 08:13:21 everquest ppp[245]: tun1: Command: default: 
nat same_ports yes<BR>Oct 20 08:13:21 everquest ppp[245]: tun1: Command: 
default: nat use_sockets yes<BR>Oct 20 08:13:21 everquest ppp[245]: tun1: 
Command: default: enable dns<BR>Oct 20 08:13:21 everquest ppp[245]: tun1: 
Command: qwest: set device PPPoE:xl0<BR>Oct 20 08:13:21 everquest ppp[245]: 
tun1: Command: qwest: set mru 1492<BR>Oct 20 08:13:21 everquest ppp[245]: tun1: 
Command: qwest: set mtu 1492<BR>Oct 20 08:13:21 everquest ppp[245]: tun1: 
Command: qwest: set speed sync<BR>Oct 20 08:13:21 everquest ppp[245]: tun1: 
Command: qwest: enable lqr<BR>Oct 20 08:13:21 everquest ppp[245]: tun1: Command: 
qwest: set lqrperiod 5<BR>Oct 20 08:13:21 everquest ppp[245]: tun1: Command: 
qwest: set cd 5<BR>Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set 
dial<BR>Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set 
login<BR>Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set timeout 
0<BR>Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set authname 
enichi<BR>Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set authkey 
********<BR>Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: accept 
chap<BR>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<BR>Oct 20 08:13:21 everquest 
ppp[245]: tun1: Command: qwest: set openmode active<BR>Oct 20 08:13:21 everquest 
ppp[246]: tun1: Chat: deflink: Dial attempt 1 of 1<BR>Oct 20 08:13:26 everquest 
ppp[246]: tun1: Chat: Parent notified of failure</FONT></DIV>
<DIV><FONT face=Arial size=2>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2></FONT></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial 
size=2>---------------------------------------<FONT face=Arial 
size=2>----------------<FONT face=Arial 
size=2>---------------------------------------</FONT></FONT></FONT></FONT></DIV></FONT></DIV>
<DIV><FONT face=Arial size=2><STRONG>command prompt 
results:</STRONG></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>everquest# ppp -background qwest<BR>Working in 
background mode<BR>Using interface: tun1<BR>Child failed (errdead)<BR>everquest# 
</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial size=2><FONT face=Arial 
size=2>---------------------------------------<FONT face=Arial 
size=2>----------------<FONT face=Arial 
size=2>---------------------------------------</FONT></FONT></FONT></FONT></FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>I hope this is enough information. :) &nbsp; 
Whew!&nbsp; Please help.</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>sincercely,</FONT></DIV>
<DIV>&nbsp;</DIV>
<DIV><FONT face=Arial size=2>Matt Edwards</FONT></DIV></BODY></HTML>
help

Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000401c088ae$1450caa0$0200a8c0>