Re: [gentoo-user] Problem using the pppoe plugin
I answer to your last two threads. > OK, thanks to all who responded -- I had to do mtu_ppp0=1492 and then > I had to do the iptables rule. I still wonder why the native package > worked, but not the plugin? Go figure. It seems that the mtu problem only occurs when you use the kernel module and the ppp package. So this problem hit you when using the plugin from ppp and not with rp-pppoe. From [2]: Warning: For people transitioning from the rp-pppoe package, or for people who hit weird connection resets, see the MTU section in the Troubleshooting chapter. > > > plugins_ppp0=("rp-pppoe") > > > > Are you sure this line is correct? > Yep, otherwise it would not work at all, so looks like some > documentation needs to be fixed? I don't think this is the correct configuration. I recommend you to read here [1], [2] and the PPP section in net.example. The mtu problem is explained there too. Rp-pppoe is depreciated and has been integrated in ppp and I don't think there is an option like "plugins_ppp0=("rp-pppoe")". But if you use "plugins_ppp0=("pppoe")" the rp-pppoe plugin of the ppp package is used! This here is from my logs: pppd[19849]: Plugin rp-pppoe.so loaded. pppd[19849]: RP-PPPoE plugin version 3.3 compiled against pppd 2.4.4 pppd[19852]: pppd 2.4.4 started by root, uid 0 And my /etc/conf.d/net config_eth0=("192.168.0.1/24" ) config_eth1=( null ) config_ppp0=( "ppp" ) link_ppp0="eth1" plugins_ppp0=( "pppoe" ) username_ppp0='ar1435446276' pppd_ppp0=( "noauth" "defaultroute" "usepeerdns" "holdoff 3" "child-timeout 60" "lcp-echo-interval 15" "lcp-echo-failure 3" noaccomp noccp nobsdcomp nodeflate nopcomp novj novjccomp ) depend_ppp0() { need net.eth1 } [1] http://gentoo-wiki.com/HOWTO_Connect_using_PPPoE [2] http://www.gentoo.org/doc/en/home-router-howto.xml#doc_chap3 Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Problem using the pppoe plugin
on Saturday 10/27/2007 Daniel Pielmeier([EMAIL PROTECTED]) wrote > John covici schrieb: > > Exactly where did you put your mtu -- I don't see it in the possibly > > options in /etc/conf.d/net.example for the pppd options. > > It is in the Section INTERFACE HANDLERS: > > # Some users may need to alter the MTU - here's how > #mtu_eth0="1500" > > > plugins_ppp0=("rp-pppoe") > > Are you sure this line is correct? Yep, otherwise it would not work at all, so looks like some documentation needs to be fixed? > > According to net.example this are the plugins for PPP: > > # Here you should specify what pppd plugins you want to use > # Available plugins are: pppoe, pppoa, capi, dhcpc, minconn, radius, > #radattr, radrealms and winbind > #plugins_ppp0=( > # "pppoe" # Required plugin for PPPoE > # "pppoa vc-encaps" # Required plugin for PPPoA with > an option > # "capi" # Required plugin for ISDN > #) > > By the way rp-pppoe is depreciated in favor of the PPP Module see the > PPP and ADSL section for more information. > > Regards, > > Daniel > -- > [EMAIL PROTECTED] mailing list -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici [EMAIL PROTECTED] -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Problem using the pppoe plugin
John covici schrieb: > Exactly where did you put your mtu -- I don't see it in the possibly > options in /etc/conf.d/net.example for the pppd options. It is in the Section INTERFACE HANDLERS: # Some users may need to alter the MTU - here's how #mtu_eth0="1500" > plugins_ppp0=("rp-pppoe") Are you sure this line is correct? According to net.example this are the plugins for PPP: # Here you should specify what pppd plugins you want to use # Available plugins are: pppoe, pppoa, capi, dhcpc, minconn, radius, #radattr, radrealms and winbind #plugins_ppp0=( # "pppoe" # Required plugin for PPPoE # "pppoa vc-encaps" # Required plugin for PPPoA with an option # "capi" # Required plugin for ISDN #) By the way rp-pppoe is depreciated in favor of the PPP Module see the PPP and ADSL section for more information. Regards, Daniel -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Problem using the pppoe plugin
on Saturday 10/27/2007 Hans-Werner Hilse([EMAIL PROTECTED]) wrote > Hi, > > On Sat, 27 Oct 2007 13:23:44 -0400 > John covici <[EMAIL PROTECTED]> wrote: > > > on Saturday 10/27/2007 Hans-Werner Hilse([EMAIL PROTECTED]) wrote > > > Hi, > > > > > > On Sat, 27 Oct 2007 11:35:05 -0400 > > > John covici <[EMAIL PROTECTED]> wrote: > > > > > > > What happens is that when I use this a computer on my local network > > > > has intermittent connection problems -- it connects to google just > > > > fine, but not to Microsoft sites and other places. > > > > > > Does this computer use the computer you're running pppd on as a router? > > > > > > It really sounds like an MTU issue ATM... > > > > Yep, exactly the gentoo box is a router for the computer having the > > problem, anyway to adjust the mtu using the plugin? > > For me, "mtu 1492" in my pppd config script is sufficient. If that's > not the case for you, you should try MSS-Clamping. You can do that > using iptables, I could search for a proper iptables rule, but I don't > have one at hand right now... > Exactly where did you put your mtu -- I don't see it in the possibly options in /etc/conf.d/net.example for the pppd options. Thanks. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici [EMAIL PROTECTED] -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Problem using the pppoe plugin
Hi, On Sat, 27 Oct 2007 13:23:44 -0400 John covici <[EMAIL PROTECTED]> wrote: > on Saturday 10/27/2007 Hans-Werner Hilse([EMAIL PROTECTED]) wrote > > Hi, > > > > On Sat, 27 Oct 2007 11:35:05 -0400 > > John covici <[EMAIL PROTECTED]> wrote: > > > > > What happens is that when I use this a computer on my local network > > > has intermittent connection problems -- it connects to google just > > > fine, but not to Microsoft sites and other places. > > > > Does this computer use the computer you're running pppd on as a router? > > > > It really sounds like an MTU issue ATM... > > Yep, exactly the gentoo box is a router for the computer having the > problem, anyway to adjust the mtu using the plugin? For me, "mtu 1492" in my pppd config script is sufficient. If that's not the case for you, you should try MSS-Clamping. You can do that using iptables, I could search for a proper iptables rule, but I don't have one at hand right now... -hwh -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Problem using the pppoe plugin
on Saturday 10/27/2007 Hans-Werner Hilse([EMAIL PROTECTED]) wrote > Hi, > > On Sat, 27 Oct 2007 11:35:05 -0400 > John covici <[EMAIL PROTECTED]> wrote: > > > What happens is that when I use this a computer on my local network > > has intermittent connection problems -- it connects to google just > > fine, but not to Microsoft sites and other places. > > Does this computer use the computer you're running pppd on as a router? > > It really sounds like an MTU issue ATM... Yep, exactly the gentoo box is a router for the computer having the problem, anyway to adjust the mtu using the plugin? -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici [EMAIL PROTECTED] -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Problem using the pppoe plugin
Hi, On Sat, 27 Oct 2007 11:35:05 -0400 John covici <[EMAIL PROTECTED]> wrote: > What happens is that when I use this a computer on my local network > has intermittent connection problems -- it connects to google just > fine, but not to Microsoft sites and other places. Does this computer use the computer you're running pppd on as a router? It really sounds like an MTU issue ATM... -hwh -- [EMAIL PROTECTED] mailing list
[gentoo-user] Problem using the pppoe plugin
Hi. I am having a very frustrating prroblem when I use the pppoe plugin like so: config_ppp0=("ppp") link_ppp0="eth2" plugins_ppp0=("rp-pppoe") username_ppp0='vzeqmmst' pppd_ppp0=( "updetach" "noauth" "ipcp-accept-remote" "ipcp-accept-local" "holdoff 3" "lcp-echo-interval 15" "lcp-echo-failure 3" ) What happens is that when I use this a computer on my local network has intermittent connection problems -- it connects to google just fine, but not to Microsoft sites and other places. Now what is very strange is -- if I use the rp-pppoe package independent of gentoo using there adsl-start command instead of the gentoo configs, then everything works just fine. Both methods are using the same local startup script for ppp which fixes up the packet forwarding, etc., so I haven't a clue as to why one has this problem and the other does not. Any ideas on this would be appreciated. -- Your life is like a penny. You're going to lose it. The question is: How do you spend it? John Covici [EMAIL PROTECTED] -- [EMAIL PROTECTED] mailing list