Date: Mon, 31 Jul 2000 02:05:21 -0400 From: Dan Flemming <danflemming@mac.com> To: mhf <michael.flug@snet.net> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Please help: Cannot connect PPPoE with ADSL modem Message-ID: <39851720.BFC88D06@mac.com> References: <39845813.431A045C@snet.net> <3984733F.2E7F4A0A@mac.com> <3984F3C4.444A9693@snet.net>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?39851720.BFC88D06>
