From owner-freebsd-questions Sun Jul 30 23: 5:18 2000 Delivered-To: freebsd-questions@freebsd.org Received: from pony.its.uwo.ca (pony.its.uwo.ca [129.100.2.63]) by hub.freebsd.org (Postfix) with ESMTP id 5FA2937BA55 for ; Sun, 30 Jul 2000 23:05:13 -0700 (PDT) (envelope-from danflemming@mac.com) Received: from mac.com (hs240-23.onemeg.uwo.ca [129.100.240.23]) by pony.its.uwo.ca (8.10.0/8.10.0) with ESMTP id e6V658D24044; Mon, 31 Jul 2000 02:05:09 -0400 (EDT) Message-ID: <39851720.BFC88D06@mac.com> Date: Mon, 31 Jul 2000 02:05:21 -0400 From: Dan Flemming X-Mailer: Mozilla 4.72 (Macintosh; U; PPC) X-Accept-Language: en MIME-Version: 1.0 To: mhf Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Please help: Cannot connect PPPoE with ADSL modem References: <39845813.431A045C@snet.net> <3984733F.2E7F4A0A@mac.com> <3984F3C4.444A9693@snet.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG mhf wrote: > > Dan Flemming wrote: > > > PPPoE is tricky. Post your complete rc.conf and ppp.conf. > > Thanks for taking the time to look at these files. If it would be > helpful to repost the original questions now that you have the files in > front of you, please tell me. Well, I can spot a couple things. > Here's my ppp.conf file: > > default:snet.net ok, this is wrong. you want these seperated. default: snet.net: don't bother putting anything in the default category. > set device PPPoE:dc0 > set MRU 1490 > set MTU 1490 > set authname michael.flug > set authkey {{{left blank for post}}} I have, here: set speed sync enable lqr set lqrperiod 5 set cd 5 Be warned - I don't know what these commands do; I got them off a website. :) > set log Phase tun command # you can add more detailed logging if you > wish > set dial > > set login "TIMEOUT 1.5 name:-\\r-login:\\U word:\\P ocol:PPP HELLO" # > this is set ifaddr 10.0.0.1/0 10.0.0.2/0 I have, instead: set login set ifaddr 10.0.0.1/0 10.0.0.2/0 255.255.255.0 0.0.0.0 > add default HISADDR > nat enable yes # if you want to enable nat for your local net I have, here: nat same_ports yes nat use_sockets yes > set cd off > set crtscts off I don't have these two lines. I do have: set redial 15 28800 set reconnect 15 28800 set timeout 0 > papchap: > set authname michael.flug > set authkey {{{left blank for post}}} > > Here's my rc.conf file: > > # This file now contains just the overrides from /etc/defaults/rc.conf > # please make all changes to this file. > > # -- sysinstall generated deltas -- # > moused_port="/dev/sysmouse" > moused_type="microsoft" > moused_enable="YES" > saver="fire" > blanktime="1200" > font8x8="cp437-8x8" > font8x14="cp437-8x14" > font8x16="cp437-8x16" > keyrate="fast" > # -- sysinstall generated deltas -- # > moused_type="microsoft" > moused_enable="YES" why you have duplicates here, I'm not sure. but my BSD box doesn't have a mouse. :) > # -- ppp snet.net script --- # > ppp_enable="YES" > ppp_mode="dedicated" I have ppp_mode="background" here. > ppp_nat="YES" > ppp_profile="snet.net" > > # -- sysinstall generated deltas -- # > moused_port="/dev/sysmouse" > moused_enable="YES" You want to add an initial ifconfig for dc0 here in rc.conf. This will probably do: ifconfig_dc0="inet 10.0.0.1 mtu 1492 netmask 255.0.0.0 -arp up" To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message