From owner-freebsd-questions Sun Jan 28 23:15:27 2001 Delivered-To: freebsd-questions@freebsd.org Received: from mtiwmhc27.worldnet.att.net (mtiwmhc27.worldnet.att.net [204.127.131.52]) by hub.freebsd.org (Postfix) with ESMTP id 0E61637B400 for ; Sun, 28 Jan 2001 23:14:58 -0800 (PST) Received: from muggla ([12.72.137.240]) by mtiwmhc27.worldnet.att.net (InterMail vM.4.01.03.10 201-229-121-110) with SMTP id <20010129071453.XJYX485.mtiwmhc27.worldnet.att.net@muggla>; Mon, 29 Jan 2001 07:14:53 +0000 Message-ID: <001e01c089c4$3eb1aa00$0200a8c0@matt.com> From: "Matt Edwards" To: "G D McKee" , References: <000401c088ae$1450caa0$0200a8c0@muggla> <001e01c0891c$841608a0$0500a8c0@gdmckee.local> Subject: Re: Connecting to My ISP via DSL Date: Mon, 29 Jan 2001 00:21:22 -0700 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0017_01C08989.686BE440" 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_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
Perhaps I should clarify things just a = bit=20 sorry!  :)
 
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!
 
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...
 
Matt
----- Original Message -----
From:=20 G D = McKee=20
To: Matt Edwards
Sent: Sunday, January 28, 2001 = 4:21=20 AM
Subject: Re: Connecting to My = ISP via=20 DSL

Hi
 
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.
 
Does your ISP not give you a bit of = cat 5 into=20 your house?  That would make your life much simpler.
 
G McKee
----- Original Message -----
From:=20 Matt Edwards
To: freebsd-questions@FreeBSD.ORG =
Sent: Saturday, January 27, = 2001 9:58=20 PM
Subject: Connecting to My ISP = via=20 DSL

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:  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=20 here.) 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=20 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
# = -----------------=20 DHCP
/sbin/dhcpstart 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
       =20 enable dns
qwest:
        = set=20 device 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=20 10.0.0.2/0 255.255.255.0 0.0.0.0
    =    =20 set openmode active
 
----------------------------------------------------------------------------------------------
my ppp.linkup=20 file:
 
qwest:
        delete = ALL
        add 0 0=20 HISADDR
MYADDR:
        add = 0 0=20 HISADDR
 
----------------------------------------------------------------------------------------------
my = ppp.log:
 
Oct 20 08:13:20 everquest ppp[245]: = Phase:=20 Using interface: tun1
Oct 20 08:13:20 everquest ppp[245]: Phase: = deflink:=20 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]:=20 tun1: Command: default: nat same_ports yes
Oct 20 08:13:21 = everquest=20 ppp[245]: tun1: Command: default: nat use_sockets yes
Oct 20 = 08:13:21=20 everquest ppp[245]: tun1: Command: default: enable dns
Oct 20 = 08:13:21=20 everquest ppp[245]: tun1: Command: qwest: set device = PPPoE:xl0
Oct 20=20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set mru = 1492
Oct 20=20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set mtu = 1492
Oct 20=20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set speed = sync
Oct 20=20 08:13:21 everquest ppp[245]: tun1: Command: qwest: enable lqr
Oct = 20=20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set lqrperiod = 5
Oct 20=20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set cd 5
Oct = 20=20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set dial
Oct = 20=20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set login
Oct = 20=20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set timeout = 0
Oct 20=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=20 authkey ********
Oct 20 08:13:21 everquest ppp[245]: tun1: = Command:=20 qwest: accept chap
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
Oct = 20=20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set openmode=20 active
Oct 20 08:13:21 everquest ppp[246]: tun1: Chat: deflink: = Dial=20 attempt 1 of 1
Oct 20 08:13:26 everquest ppp[246]: tun1: Chat: = Parent=20 notified of failure
 
----------------------------------------------------------------------------------------------
command prompt=20 results:
 
everquest# ppp -background = qwest
Working in=20 background mode
Using interface: tun1
Child failed=20 (errdead)
everquest#
 
----------------------------------------------------------------------------------------------
 
I hope this is enough information. = :)  =20 Whew!  Please help.
 
sincercely,
 
Matt=20 Edwards
------=_NextPart_000_0017_01C08989.686BE440-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message