Date: Mon, 29 Jan 2001 00:21:22 -0700 From: "Matt Edwards" <matt.edwards@worldnet.att.net> To: "G D McKee" <freebsd@gdmckee.com>, <freebsd-questions@FreeBSD.org> Subject: Re: Connecting to My ISP via DSL Message-ID: <001e01c089c4$3eb1aa00$0200a8c0@matt.com> References: <000401c088ae$1450caa0$0200a8c0@muggla> <001e01c0891c$841608a0$0500a8c0@gdmckee.local>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --]
Perhaps I should clarify things just a bit sorry! :)
First off the DSL Modem is an INTERNAL intel pro/dsl 2100. The connection is being provided via Qwest (AKA US West) via phone line. The NIC is the interface serving my local LAN. So essentially the plan is: Provide Internet Access via the DSL interface and route that access to the xl0 (NIC) interface (hence the need for DHCP on that one). Seems simple enough. Just don't know for sure how to get that darn DSL interface to connect. I suspect though that BSD is not loading the interface. Perhaps it is not a support piece of hardware or, more likely, I am just not loading the proper drivers upon boot up. (I apologize for the seemingly ignorant additude here, but I just started learning Unix only a month ago.). This brings forth another question: Would the fact that my KERNEL has no ATM support be the cause here? I have a feeling that's what it is but as yet am just not sure!
Once again thank you for the many responses made! It is nice to know that there is a world out there that cares about each other, unlike that horrid Bill world...
Matt
----- Original Message -----
From: G D McKee
To: Matt Edwards
Sent: Sunday, January 28, 2001 4:21 AM
Subject: Re: Connecting to My ISP via DSL
Hi
Why are you assigning an IP Address to the NIC and then starting DHCPSTART on the same interface? Your subnet for that IP address should be 255.255.255.0.
Does your ISP not give you a bit of cat 5 into your house? That would make your life much simpler.
G McKee
----- Original Message -----
From: Matt Edwards
To: freebsd-questions@FreeBSD.ORG
Sent: Saturday, January 27, 2001 9:58 PM
Subject: Connecting to My ISP via DSL
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>Perhaps I should clarify things just a bit
sorry! :)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>First off the DSL Modem is an INTERNAL intel
pro/dsl 2100. The connection is being provided via Qwest (AKA US
West) via phone line. The NIC is the interface serving my local LAN.
So essentially the plan is: Provide Internet Access via the DSL interface
and route that access to the xl0 (NIC) interface (hence the need for DHCP on
that one). Seems simple enough. Just don't know for sure how to get
that darn DSL interface to connect. I suspect though that BSD is not
loading the interface. Perhaps it is not a support piece of hardware or,
more likely, I am just not loading the proper drivers upon boot up. (I
apologize for the seemingly ignorant additude here, but I just started learning
Unix only a month ago.). This brings forth another question: Would
the fact that my KERNEL has no ATM support be the cause here? I have a
feeling that's what it is but as yet am just not sure!</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Once again thank you for the many responses
made! It is nice to know that there is a world out there that cares about
each other, unlike that horrid Bill world...</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Matt</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A href="mailto:freebsd@gdmckee.com" title=freebsd@gdmckee.com>G D McKee</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
href="mailto:matt.edwards@worldnet.att.net"
title=matt.edwards@worldnet.att.net>Matt Edwards</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, January 28, 2001 4:21
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: Connecting to My ISP via
DSL</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>Hi</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Why are you assigning an IP Address to the NIC
and then starting DHCPSTART on the same interface? Your subnet for that
IP address should be 255.255.255.0.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Does your ISP not give you a bit of cat 5 into
your house? That would make your life much simpler.</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>G McKee</FONT></DIV>
<BLOCKQUOTE dir=ltr
style="BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A href="mailto:matt.edwards@worldnet.att.net"
title=matt.edwards@worldnet.att.net>Matt Edwards</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
href="mailto:freebsd-questions@FreeBSD.ORG"
title=freebsd-questions@FreeBSD.ORG>freebsd-questions@FreeBSD.ORG</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Saturday, January 27, 2001 9:58
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Connecting to My ISP via
DSL</DIV>
<DIV><BR></DIV>
<DIV><FONT face=Arial size=2>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: <A
href="http://www.freebsd.org/cgi/man.cgi?ppp">http://www.freebsd.org/cgi/man.cgi?ppp</A> ,
<A
href="http://www.freebsd.org/handbook/pppoe.html">http://www.freebsd.org/handbook/pppoe.html</A> ,
<A
href="http://www.sympaticousers.org/faq/freebsd_howto.htm">http://www.sympaticousers.org/faq/freebsd_howto.htm</A> ,
<A
href="http://www.freebsd.org/tutorials/ppp/">http://www.freebsd.org/tutorials/ppp/</A> ,
unfortunately there are not alot of troubleshooting refrences to PPPoE
here.) on PPPoE and as yet have been unsccessfull.</FONT></DIV>
<DIV> </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> </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> </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> </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> </DIV>
<DIV><FONT face=Arial
size=2>default:<BR> set log Chat
Command Connect TUN<BR> nat enable
yes<BR> nat same_ports
yes<BR> nat use_sockets
yes</FONT></DIV>
<DIV><FONT face=Arial size=2>
enable dns<BR>qwest:<BR> set
device PPPoE:xl0<BR> set mru
1492<BR> set mtu
1492<BR> set speed
sync<BR> enable
lqr<BR> set lqrperiod
5<BR> set cd
5<BR> set
dial<BR> set
login<BR> set timeout
0<BR> set
authname usrname</FONT></DIV>
<DIV><FONT face=Arial size=2> set
authkey authkey</FONT></DIV>
<DIV><FONT face=Arial size=2> accept
chap<BR> set ifaddr 10.0.0.1/0
10.0.0.2/0 255.255.255.0 0.0.0.0<BR>
set openmode active</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </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> </DIV>
<DIV><FONT face=Arial
size=2>qwest:<BR> delete
ALL<BR> add 0 0
HISADDR<BR>MYADDR:<BR> add 0 0
HISADDR</FONT></DIV>
<DIV><FONT face=Arial size=2><FONT face=Arial
size=2></FONT></FONT> </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> </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> </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> </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> </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> </DIV>
<DIV><FONT face=Arial size=2>I hope this is enough information. :)
Whew! Please help.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>sincercely,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Matt
Edwards</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?001e01c089c4$3eb1aa00$0200a8c0>
