pppoe reconnection issue
Bipin Patel
bipin at xbipin.com
Tue Nov 1 15:20:00 UTC 2011
hi,
my current mod config file looks liek this
startup:
# configure the console
set console close
# configure the web server
set web close
default:
pppoeclient:
create bundle static wan
set iface name pppoe0
set iface route default
set iface enable on-demand
set iface idle 0
set iface addrs 10.10.1.1 10.10.1.2
set iface enable tcpmssfix
set iface up-script /usr/local/sbin/ppp-linkup
set iface down-script /usr/local/sbin/ppp-linkdown
set ipcp ranges 0.0.0.0/0 0.0.0.0/0
set ipcp no vjcomp
#log -bund -ccp -chat -iface -ipcp -lcp -link
create link static wan_link0 pppoe
set link action bundle wan
set link disable multilink
set link keep-alive 10 60
set link max-redial 0
set link disable chap pap
set link accept chap pap eap
set link disable incoming
set link mtu 1492
set auth authname "username"
set auth password password
set pppoe service "WE1"
set pppoe iface vr1
open
Regards,
Bipin
------------------------------------------------------------------------
-------- Original Message --------
Subject: Re: pppoe reconnection issue
From: rozhuk.im at gmail.com
To: 'Bipin Patel' <bipin at xbipin.com>, freebsd-net at freebsd.org
Date: Tuesday, November 01, 2011 6:41:01 PM
>
> I have same problem with one ISP some years ago, but config file is lost )
>
> Try this config for mpd5.
> If not help - read mpd5 manuals and play with config file.
>
>
>
> ### Rozhuk Ivan 2009 - 2010
> ### MPD configuration file
> ###
>
>
> startup:
> ###set user foo bar admin
> ###set user foo1 bar1
>
> ###set console self 127.0.0.1 5005
> set console close
> #set console enable logging
>
> ###set web self 0.0.0.0 5006
> set web close
> #set web enable auth
>
> set global disable one-shot tcp-wrapper
>
> #log +auth -bund -ccp -chat +console -echo -ecp -frame -fsm -iface
> +ipcp -ipv6cp -lcp -link -phys -radius -rep
> log +auth +bund +ccp +chat +console +echo +ecp +frame +fsm +iface
> +ipcp +ipv6cp +lcp +link +phys +radius +rep
>
>
> default:
> load pppoe_client1
>
>
> pppoe_client1:
> create bundle static BndPPPoECli
> set bundle fsm-timeout 8
> set bundle enable ipcp
> set bundle no compression encryption bw-manage round-robin ipv6cp
> crypt-reqd
> set iface route default
> set iface mtu 1492
> set iface idle 0
> set iface session 0
> #set iface up-script "/usr/local/etc/mpd5/pppoe_out_link.up"
> #set iface down-script "/usr/local/etc/mpd5/pppoe_out_link.down"
> set iface enable tcpmssfix
> set iface disable on-demand proxy-arp tee nat netflow-in netflow-out
> netflow-once ipacct
> set ipcp enable vjcomp req-pri-dns req-sec-dns
> set ipcp no req-pri-nbns req-sec-nbns
> create link static LnkPPPoECli pppoe
> set link action bundle BndPPPoECli
> set link mtu 1492
> set link mru 1492
> set link fsm-timeout 8
> set link keep-alive 16 40
> set link max-redial 0
> set link redial-delay 8
> set link accept pap chap-md5 chap-msv2
> set link enable acfcomp protocomp magicnum check-magic
> set link no chap-msv1 eap incoming multilink shortseq passive
> callback no-orig-auth keep-ms-domain time-remain peer-as-calling report-mac
> set auth authname XXXXXXXXXX
> set auth password YYYYYYYYYY
> set pppoe iface ZZZZZ
> set pppoe service ""
> #set pppoe acname<name>
> Open
>
>
>
>
> --
> Rozhuk Ivan
>
>
>
>> -----Original Message-----
>> From: owner-freebsd-net at freebsd.org [mailto:owner-freebsd-
>> net at freebsd.org] On Behalf Of Bipin Patel
>> Sent: Tuesday, November 01, 2011 9:47 PM
>> To: freebsd-net at freebsd.org
>> Subject: pppoe reconnection issue
>>
>>
>> hi,
>> can some1 help or fix this issue mentioned here
>> [1]http://forum.pfsense.org/index.php/topic,41061.0.html
>> its something to do with freebsd and mpd which causes a pppoe
>> connection not to reestablish once the modem is reset leaving behind
>> a
>> zombie connection which is only brought down with a link down, older
>> freebsd used to perform this well along with the older mpd v4 i
>> guess
>> but this newer mpd v5.5 and newer bsd has this issue, it more over
>> looks like a mpd issue and i was asked to bring up this in this
>> mailing list as the developers at pfsense havent yet replied and
>> there
>> r quiet a few ppl suffering this including me
>>
>> --
>> Regards,
>> Bipin
>> _________________________________________________________________
>>
>> References
>>
>> 1. http://forum.pfsense.org/index.php/topic,41061.0.html
>> _______________________________________________
>> freebsd-net at freebsd.org mailing list
>> http://lists.freebsd.org/mailman/listinfo/freebsd-net
>> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>
> _______________________________________________
> freebsd-net at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-net
> To unsubscribe, send any mail to "freebsd-net-unsubscribe at freebsd.org"
>
More information about the freebsd-net
mailing list