You are not logged in.
hi folks
after the recent upgrade to rp-pppoe, a few issues have cropped up.
firstly, i have the following entries in my crontab:
56 07 * * * /usr/sbin/pppoe-stop
57 07 * * * /usr/sbin/pppoe-start
pppoe-stop works fine, but after 1 minute, pppoe-start fails to connect, and i get
Timeout waiting for PADS packets
if i manually use pppoe-start, it connects fine.
secondly, i see these in my log (only started showing after the upgrade)
pppd[2756]: Couldn't increase MTU to 1500
pppd[2756]: Couldn't increase MRU to 1500
though it doesn't seem to affect the connection.
one thing i noted is that previously, on pppoe-stop, there was this entry in the log
pppoe[1937]: Sent PADT
but since the upgrade, PADT isn't being sent anymore. could it be the reason for the reconnect failure?
could someone please help me out.
Offline
I experience pppoe reconnect problems since the upgrade, too. Sometimes it takes several attempts to connect after a pppoe stop. There is nothing useful in the logs however.
It seems stopping pppoe again in such a case does help to reconnect again. But I did not elaborate on this yet.
To know or not to know ...
... the questions remain forever.
Offline
I have downgraded to the previous version rp-pppoe 3.10-1, and this has solved the problem for me.
Offline
Can you please have a look into /etc/ppp/pppoe.conf and search for LINUX_PLUGIN. If there is set /usr/lib/rp-pppoe/rp-pppoe.so, can you please remove it and try again if it then works?
I have set this to the pppoe.conf file to use the kernel mode plugin in rp-pppoe. Maybe this cause the errors. If it really is, then I have to change this and not to use the kernel mode plugin.
Offline
@ ise,
just tried that and it worked. now it is exhibiting the older behaviour (which is good).
here's a comparison of the logs:
with rp-pppoe 3.10-1
pppd[1915]:pppd[1915]: pppd 2.4.4 started by root, uid 0
pppd[1915]: Using interface ppp0
pppd[1915]: Connect: ppp0 <--> /dev/pts/4
pppoe[1918]: PADS: Service-Name: ''
pppoe[1918]: PPP session is 15471 (0x3c6f)
pppd[1915]: CHAP authenication succeeded: CHAP authentication success, unit 399
pppd[1915]: CHAP authentication succeeded
kernel: PPP BSD Compression module registered
pppd[1915]: Cannot determine ethernet address for proxy ARP
pppd[1915]: local IP address xxx.xxx.xxx.xxx
pppd[1915]: remote IP address xxx.xxx.xxx.xxx
with rp-pppoe 3.10-2 with LINUX_PLUGIN=/usr/lib/rp-pppoe/rp-pppoe.so set:
kernel: PPP generic driver version 2.4.2
kernel: NET: Registered protocol family 24
pppd[1916]: Plugin /usr/lib/rp-pppoe/rp-pppoe.so loaded.pppd[1916]: RP-PPPoE plugin version 3.10 compiled against pppd 2.4.4
kernel: NET: Registered protocol family 10
kernel: lo: Disabled Privacy Extensions
pppd[1916]: pppd 2.4.4 started by root, uid 0
pppd[1916]: PPP session is 4386 (0x1122)
pppd[1916]: Connected to xx:xx:xx:xx:xx:xx via interface eth0
pppd[1916]: Using interface ppp0
pppd[1916]: Connect: ppp0 <--> eth0
pppd[1916]: Couldn't increase MTU to 1500
pppd[1916]: Couldn't increase MRU to 1500
pppd[1916]: CHAP authentication succeeded: CHAP authentication success, unit 137
pppd[1916]: CHAP authentication succeeded
pppd[1916]: peer from calling number xx:xx:xx:xx:xx:xx authorized
pppd[1916]: Cannot determine ethernet address for proxy ARP
pppd[1916]: local IP address xxx.xxx.xxx.xxx
pppd[1916]: remote IP address xxx.xxx.xxx.xxx
and finally with LINUX_PLUGIN=/usr/lib/rp-pppoe/rp-pppoe.so not set:
pppd[2251]: pppd 2.4.4 started by root, uid 0
pppd[2251]: Using interface ppp0
pppd[2251]: Connect: ppp0 <--> /dev/pts/4
pppoe[2252]: PADS: Service-Name: ''
pppoe[2252]: PPP session is 17062 (0x42a6)
pppd[2251]: CHAP authentication succeeded: CHAP authentication success, unit 421
pppd[2251]: CHAP authentication succeeded
pppd[2251]: Cannot determine ethernet address for proxy ARP
pppd[2251]: local IP address xxx.xxx.xxx.xxx
pppd[2251]: remote IP address xxx.xxx.xxx.xxx
Last edited by x33a (2010-01-19 00:50:27)
Offline
Offline
Just confirming: Disabling LINUX_PLUGIN works here as well.
To know or not to know ...
... the questions remain forever.
Offline
there's also the plugin /usr/lib/pppd/2.4.4/rp-pppoe.so (from the PPP package) you can try that too.
Offline
Ok, thanks for testing this. I will release a new version this evening without the config changes. Then everybody has to set the LINUX_PLUGIN on its own if he wants it.
Hallo Daniel :-)
I'am quite new to Arch and found after the install a notice about the moved kernel-mode plugin in my pcaman.log. I was wondering and so I do a search and found this post and these commit.
+ #sed -i 's/LINUX_PLUGIN=/LINUX_PLUGIN=\/usr\/lib\/rp-pppoe\/rp-pppoe.so/g' ${pkgdir}/etc/ppp/pppoe.conf
So far I understand was you trying to replace "LINUX_PLUGIN=" with "LINUX_PLUGIN=/usr/lib/rp-pppoe/rp-pppoe.so".
But I think searching for "/etc/ppp/plugins/rp-pppoe.so" instead should solve the problem and you can change the log message to something like "...was changed" if needed. (or is it possible to test if it was found an only to print the message if yes?)
Besides I'm wondering why it is needed to modify the config at a fresh install rather than to ship an updated file.
Please don't become angry if it was the wrong place to ask for that issue, or that I'm not ship a ready to use patch.
Best Regards, Lothar
Offline