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>
next in thread | raw e-mail | index | archive | help
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 <!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>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: <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 = here.)=20 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 = 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># ----------------- = DHCP<BR>/sbin/dhcpstart=20 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> enable=20 dns<BR>qwest:<BR> set device=20 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 = 10.0.0.2/0 255.255.255.0 0.0.0.0<BR> = set=20 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 = file:</STRONG></FONT></DIV> <DIV> </DIV> <DIV><FONT face=3DArial=20 size=3D2>qwest:<BR> delete=20 ALL<BR> add 0 0=20 HISADDR<BR>MYADDR:<BR> add 0 0 = HISADDR</FONT></DIV> <DIV><FONT face=3DArial size=3D2><FONT face=3DArial = 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: Using=20 interface: tun1<BR>Oct 20 08:13:20 everquest ppp[245]: Phase: deflink: = Created=20 in closed state<BR>Oct 20 08:13:21 everquest ppp[245]: tun1: Command: = default:=20 nat enable yes<BR>Oct 20 08:13:21 everquest ppp[245]: tun1: Command: = default:=20 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:=20 Command: default: enable dns<BR>Oct 20 08:13:21 everquest ppp[245]: = tun1:=20 Command: qwest: set device PPPoE:xl0<BR>Oct 20 08:13:21 everquest = ppp[245]:=20 tun1: Command: qwest: set mru 1492<BR>Oct 20 08:13:21 everquest = ppp[245]: tun1:=20 Command: qwest: set mtu 1492<BR>Oct 20 08:13:21 everquest ppp[245]: = tun1:=20 Command: qwest: set speed sync<BR>Oct 20 08:13:21 everquest ppp[245]: = tun1:=20 Command: qwest: enable lqr<BR>Oct 20 08:13:21 everquest ppp[245]: tun1: = Command:=20 qwest: set lqrperiod 5<BR>Oct 20 08:13:21 everquest ppp[245]: tun1: = Command:=20 qwest: set cd 5<BR>Oct 20 08:13:21 everquest ppp[245]: tun1: Command: = qwest: set=20 dial<BR>Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set=20 login<BR>Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: set = timeout=20 0<BR>Oct 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 = authkey=20 ********<BR>Oct 20 08:13:21 everquest ppp[245]: tun1: Command: qwest: = accept=20 chap<BR>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<BR>Oct 20 08:13:21 everquest = ppp[245]: tun1: Command: qwest: set openmode active<BR>Oct 20 08:13:21 = everquest=20 ppp[246]: tun1: Chat: deflink: Dial attempt 1 of 1<BR>Oct 20 08:13:26 = everquest=20 ppp[246]: tun1: Chat: Parent notified of failure</FONT></DIV> <DIV><FONT face=3DArial size=3D2> <DIV><FONT face=3DArial size=3D2><FONT face=3DArial = 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 = (errdead)<BR>everquest#=20 </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 Edwards</FONT></DIV></BODY></HTML> ------=_NextPart_000_0005_01C08871.ABFADB80-- 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?000401c088ae$1450caa0$0200a8c0>