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>
next in thread | previous in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
------=_NextPart_000_0017_01C08989.686BE440
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
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 -----=20
From: G D McKee=20
To: Matt Edwards=20
Sent: Sunday, January 28, 2001 4:21 AM
Subject: Re: Connecting to My ISP via DSL
Hi
=20
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.
=20
Does your ISP not give you a bit of cat 5 into your house? That would =
make your life much simpler.
=20
G McKee
----- Original Message -----=20
From: Matt Edwards=20
To: freebsd-questions@FreeBSD.ORG=20
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=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
=20
=
-------------------------------------------------------------------------=
---------------------
my ppp.linkup file:
qwest:
delete ALL
add 0 0 HISADDR
MYADDR:
add 0 0 HISADDR
=20
=
-------------------------------------------------------------------------=
---------------------
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
=20
=
-------------------------------------------------------------------------=
---------------------
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_0017_01C08989.686BE440
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content=3D"text/html; charset=3Diso-8859-1" =
http-equiv=3DContent-Type>
<META content=3D"MSHTML 5.00.3105.105" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV><FONT face=3DArial size=3D2>Perhaps I should clarify things just a =
bit=20
sorry! :)</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>First off the DSL Modem is an INTERNAL =
intel=20
pro/dsl 2100. The connection is being provided via Qwest =
(AKA US=20
West) via phone line. The NIC is the interface serving my local =
LAN. =20
So essentially the plan is: Provide Internet Access via the DSL =
interface=20
and route that access to the xl0 (NIC) interface (hence the need for =
DHCP on=20
that one). Seems simple enough. Just don't know for sure how =
to get=20
that darn DSL interface to connect. I suspect though that BSD is =
not=20
loading the interface. Perhaps it is not a support piece of =
hardware or,=20
more likely, I am just not loading the proper drivers upon boot =
up. (I=20
apologize for the seemingly ignorant additude here, but I just started =
learning=20
Unix only a month ago.). This brings forth another question: =
Would=20
the fact that my KERNEL has no ATM support be the cause here? I =
have a=20
feeling that's what it is but as yet am just not sure!</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Once again thank you for the many =
responses=20
made! It is nice to know that there is a world out there that =
cares about=20
each other, unlike that horrid Bill world...</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Matt</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; MARGIN-RIGHT: =
0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A href=3D"mailto:freebsd@gdmckee.com" title=3Dfreebsd@gdmckee.com>G D =
McKee</A>=20
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
href=3D"mailto:matt.edwards@worldnet.att.net"=20
title=3Dmatt.edwards@worldnet.att.net>Matt Edwards</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Sunday, January 28, 2001 =
4:21=20
AM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Re: Connecting to My =
ISP via=20
DSL</DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2>Hi</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Why are you assigning an IP Address =
to the NIC=20
and then starting DHCPSTART on the same interface? Your subnet =
for that=20
IP address should be 255.255.255.0.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>Does your ISP not give you a bit of =
cat 5 into=20
your house? That would make your life much simpler.</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2>G McKee</FONT></DIV>
<BLOCKQUOTE dir=3Dltr=20
style=3D"BORDER-LEFT: #000000 2px solid; MARGIN-LEFT: 5px; =
MARGIN-RIGHT: 0px; PADDING-LEFT: 5px; PADDING-RIGHT: 0px">
<DIV style=3D"FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV=20
style=3D"BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: =
black"><B>From:</B>=20
<A href=3D"mailto:matt.edwards@worldnet.att.net"=20
title=3Dmatt.edwards@worldnet.att.net>Matt Edwards</A> </DIV>
<DIV style=3D"FONT: 10pt arial"><B>To:</B> <A=20
href=3D"mailto:freebsd-questions@FreeBSD.ORG"=20
=
title=3Dfreebsd-questions@FreeBSD.ORG>freebsd-questions@FreeBSD.ORG</A> =
</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Sent:</B> Saturday, January 27, =
2001 9:58=20
PM</DIV>
<DIV style=3D"FONT: 10pt arial"><B>Subject:</B> Connecting to My ISP =
via=20
DSL</DIV>
<DIV><BR></DIV>
<DIV><FONT face=3DArial size=3D2>I am attempting to connect to my =
ISP using new=20
DSL modem and service. I have had a fun time setting up my =
version of=20
FreeBSD 4.2 to do just that. Learned alot. However, I =
have been=20
unsuccessfull in my attempts! :( My system configuration is as =
follows, any help you can provide, be it more reference material or =
what=20
ever, would be greatly appreciated! I have searched high and =
low for=20
more documentation (I have only found these refrences: <A=20
=
href=3D"http://www.freebsd.org/cgi/man.cgi?ppp">http://www.freebsd.org/cg=
i/man.cgi?ppp</A> ,=20
<A=20
=
href=3D"http://www.freebsd.org/handbook/pppoe.html">http://www.freebsd.or=
g/handbook/pppoe.html</A> ,=20
<A=20
=
href=3D"http://www.sympaticousers.org/faq/freebsd_howto.htm">http://www.s=
ympaticousers.org/faq/freebsd_howto.htm</A> ,=20
<A=20
=
href=3D"http://www.freebsd.org/tutorials/ppp/">http://www.freebsd.org/tut=
orials/ppp/</A> ,=20
unfortunately there are not alot of troubleshooting refrences to =
PPPoE=20
here.) on PPPoE and as yet have been unsccessfull.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>I have configured my KERNAL =
with=20
</STRONG></FONT></DIV>
<DIV><FONT face=3DArial size=3D2>options NETGRAPH<BR>options=20
NETGRAPH_ETHER<BR>options NETGRAPH_PPPOE<BR>options=20
NETGRAPH_SOCKET</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3DArial size=3D2><FONT =
face=3DArial=20
size=3D2><FONT face=3DArial =
size=3D2>---------------------------------------<FONT=20
face=3DArial size=3D2>----------------<FONT face=3DArial=20
=
size=3D2>---------------------------------------</FONT></FONT></FONT></FO=
NT></FONT></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>my rc.conf =
file:</STRONG></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2># ----------------=20
=
OPTIONS<BR>linux_enable=3D"YES"<BR>sendmail_enable=3D"NO"<BR>moused_enabl=
e=3D"NO"<BR>amd_enable=3D"NO"<BR>saver=3D"blank"<BR>#=20
---------------- TCP/IP=20
=
OPTIONS<BR>sshd_enable=3D"YES"<BR>inetd_enable=3D"YES"<BR>tcp_keepalive=3D=
"YES"<BR>gateway_enable=3D"YES"<BR>#=20
----------------- TCP/IP=20
=
SETUP<BR>hostname=3D"everquest.matt.com"<BR>network_interfaces=3D"auto"<B=
R>ifconfig_tun0=3D<BR>ifconfig_xl0=3D"inet=20
192.168.0.1 netmask 255.255.0.0"<BR># -----------------=20
ROUTING<BR>router_enable=3D"NO"<BR># -----------------=20
FIREWALL<BR>firewall_enable=3D"YES"<BR>firewall_type=3D"open"<BR>#=20
----------------- NAT<BR># ----------------- DSL<BR># =
-----------------=20
DHCP<BR>/sbin/dhcpstart xl0</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3DArial=20
size=3D2>---------------------------------------<FONT face=3DArial=20
size=3D2>----------------<FONT face=3DArial=20
=
size=3D2>---------------------------------------</FONT></FONT></FONT></FO=
NT></DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>my ppp.conf =
file:</STRONG></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial=20
size=3D2>default:<BR> set =
log Chat=20
Command Connect TUN<BR> =
nat enable=20
yes<BR> nat same_ports=20
yes<BR> nat use_sockets=20
yes</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2> =20
enable dns<BR>qwest:<BR> =
set=20
device PPPoE:xl0<BR> set =
mru=20
1492<BR> set mtu=20
1492<BR> set speed=20
sync<BR> enable=20
lqr<BR> set lqrperiod=20
5<BR> set cd=20
5<BR> set=20
dial<BR> set=20
login<BR> set timeout=20
0<BR> set=20
authname usrname</FONT></DIV>
<DIV><FONT face=3DArial =
size=3D2> set=20
authkey authkey</FONT></DIV>
<DIV><FONT face=3DArial size=3D2> =
accept=20
chap<BR> set ifaddr =
10.0.0.1/0=20
10.0.0.2/0 255.255.255.0 0.0.0.0<BR> =
=20
set openmode active</FONT></DIV>
<DIV><FONT face=3DArial size=3D2></FONT> </DIV>
<DIV><FONT face=3DArial =
size=3D2>---------------------------------------<FONT=20
face=3DArial size=3D2>----------------<FONT face=3DArial=20
=
size=3D2>---------------------------------------</FONT></FONT></FONT></DI=
V>
<DIV><FONT face=3DArial size=3D2><STRONG>my ppp.linkup=20
file:</STRONG></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial=20
size=3D2>qwest:<BR> delete =
ALL<BR> add 0 0=20
HISADDR<BR>MYADDR:<BR> add =
0 0=20
HISADDR</FONT></DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3DArial=20
size=3D2></FONT></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3DArial=20
size=3D2>---------------------------------------<FONT face=3DArial=20
size=3D2>----------------<FONT face=3DArial=20
=
size=3D2>---------------------------------------</FONT></FONT></FONT></FO=
NT></DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>my =
ppp.log:</STRONG></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Oct 20 08:13:20 everquest ppp[245]: =
Phase:=20
Using interface: tun1<BR>Oct 20 08:13:20 everquest ppp[245]: Phase: =
deflink:=20
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]:=20
tun1: Command: default: nat same_ports yes<BR>Oct 20 08:13:21 =
everquest=20
ppp[245]: tun1: Command: default: nat use_sockets yes<BR>Oct 20 =
08:13:21=20
everquest ppp[245]: tun1: Command: default: enable dns<BR>Oct 20 =
08:13:21=20
everquest ppp[245]: tun1: Command: qwest: set device =
PPPoE:xl0<BR>Oct 20=20
08:13:21 everquest ppp[245]: tun1: Command: qwest: set mru =
1492<BR>Oct 20=20
08:13:21 everquest ppp[245]: tun1: Command: qwest: set mtu =
1492<BR>Oct 20=20
08:13:21 everquest ppp[245]: tun1: Command: qwest: set speed =
sync<BR>Oct 20=20
08:13:21 everquest ppp[245]: tun1: Command: qwest: enable lqr<BR>Oct =
20=20
08:13:21 everquest ppp[245]: tun1: Command: qwest: set lqrperiod =
5<BR>Oct 20=20
08:13:21 everquest ppp[245]: tun1: Command: qwest: set cd 5<BR>Oct =
20=20
08:13:21 everquest ppp[245]: tun1: Command: qwest: set dial<BR>Oct =
20=20
08:13:21 everquest ppp[245]: tun1: Command: qwest: set login<BR>Oct =
20=20
08:13:21 everquest ppp[245]: tun1: Command: qwest: set timeout =
0<BR>Oct 20=20
08:13:21 everquest ppp[245]: tun1: Command: qwest: set authname=20
enichi<BR>Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: =
set=20
authkey ********<BR>Oct 20 08:13:21 everquest ppp[245]: tun1: =
Command:=20
qwest: accept chap<BR>Oct 20 08:13:21 everquest ppp[245]: tun1: =
Command:=20
qwest: set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0<BR>Oct =
20=20
08:13:21 everquest ppp[245]: tun1: Command: qwest: set openmode=20
active<BR>Oct 20 08:13:21 everquest ppp[246]: tun1: Chat: deflink: =
Dial=20
attempt 1 of 1<BR>Oct 20 08:13:26 everquest ppp[246]: tun1: Chat: =
Parent=20
notified of failure</FONT></DIV>
<DIV><FONT face=3DArial size=3D2>
<DIV><FONT face=3DArial size=3D2><FONT face=3DArial=20
size=3D2></FONT></FONT> </DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3DArial=20
size=3D2>---------------------------------------<FONT face=3DArial=20
size=3D2>----------------<FONT face=3DArial=20
=
size=3D2>---------------------------------------</FONT></FONT></FONT></FO=
NT></DIV></FONT></DIV>
<DIV><FONT face=3DArial size=3D2><STRONG>command prompt=20
results:</STRONG></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>everquest# ppp -background =
qwest<BR>Working in=20
background mode<BR>Using interface: tun1<BR>Child failed=20
(errdead)<BR>everquest# </FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2><FONT face=3DArial size=3D2><FONT =
face=3DArial=20
size=3D2>---------------------------------------<FONT face=3DArial=20
size=3D2>----------------<FONT face=3DArial=20
=
size=3D2>---------------------------------------</FONT></FONT></FONT></FO=
NT></FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>I hope this is enough information. =
:) =20
Whew! Please help.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>sincercely,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=3DArial size=3D2>Matt=20
Edwards</FONT></DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>
------=_NextPart_000_0017_01C08989.686BE440--
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?001e01c089c4$3eb1aa00$0200a8c0>
