Well, there are no really details. I upgraded to rp-pppoe-3.5-r9 yesterday and now I'm not able anymore to get into the in internet. I remerged rp-pppoe several times and deleted pppoe.conf and made a new adsl-setup. I tried it with and without dial-on demand. eth0 (my adsl-connected card) even gets no IP. I'm writing this with the same computer with Windows (tm), so there is no broken hardware or ISP... I get no error message after adsl-start or something. Any idea? Maybe someone could attach the old r7/r8-ebuilds here, so I could connect to the internet with linux again and hunt for the bug without rebooting every minute... Reproducible: Always Steps to Reproduce:
Created attachment 56642 [details] tarball with r7-r9 versions
changes between r7 and r9 are 2 additional patches: connect-on-demand and username-charset
The ebuilds didn't work, I wasn't able to untar. So I commented out the following line: # epatch ${FILESDIR}/${P}-connect-on-demand.patch #85535 Everything worked fine after that. Just tell me, how I can help you debug this. P.S.: Thanks for your fast help! Im connected with Linux again :-)
strange thing with that tarball, don't know what the hell I've attached... sorry for that the patch you commented has effect only when you set dial on demand. Please save your working rp-pppoe with 'quickpkg rp-pppoe' for being able to restore it with 'emerge -k rp-pppoe' next, emerge -r9 with connect-on-demand patch enabled and do the following tests: 1) assure that DEMAND is set to "no" in /etc/ppp/pppoe.conf (carefull, it is case sensitive!) and test it. since connect-on-demand couldn't possibly affect this, it should work 2) set DEMAND to some number and test it again post here the results, outputs, etc. thanks
Sorry for the late answer, I got ill and could't work the last days. Okay, without dial-on-demand (dod) it works fine. With dod there works nothing... I made adsl-start and tried a ping and the name couldn't be resolved. /etc/resolv.conf looks good. There are no messages in /var/log/messages. One strange thing: After I stopped pppoe with dod and tried to start it without dod I got the following message: adsl-start: There already seems to be an ADSL connection up After a reboot everything works - without dod.
set DEBUG=1 in /etc/ppp/pppoe.conf and run adsl-start. see what it has to say when dial on demand is enable. You can't open the conection after you run adsl-start in dod because /var/run/adsl.pid* already exists, along with processes they point to. you should run adsl-stop or, in case this fails, kill those processes and remove pid files.
I set DEBUG=1 in /etc/ppp/pppoe.conf and run adsl-start. I got the following: "*** If you want to use DEBUG, invoke adsl-start, not adsl-connect." And pppoe didn't start. What did I wrong?
OK, seems rp-pppoe scripts are crappy... nothing new I'm afraid. Anyway, at least one gentooer was able to set rp-pppoe to work with DEMAND (look at bug #85535) In on-demand mode rp-pppoe set the ppp interface with a phony IP (10.x.x.x) and set the default route on this interface. any IP packet reaching this interface will trigger the connection (or at least those who pass active-filter). 1) put "debug" in /etc/ppp/options and run adsl-start 2) in order to get connected you need to send IP packets (e.g. ping 1.2.3.4) Also, your firewall could filter those packets. You should stop it when doing the above test Please let me know how it worked.
Still the same, I get no messages at the commandline and nothing in /var/log/messages. The network is just unreachable. Where can I look for the debug-messages?
I have the same problem with rp-pppoe-3.5-r10! My results are equal to Thomasd Schuetz and the tarball in this bug-report is broken :-( generally I think, it's not a good idea to remove old rp-pppoeversions to early, because a internet-connection is very very very important.
Just download whatever version you believe it is stable from http://www.gentoo.org/cgi-bin/viewcvs.cgi/. Fortunately for you, CVS doesn't really delete files. Differences between r7 and r10 does not affect main functionality. This bug isn't marked as invalid because no one figured out the guidelines for making dial-on-demand work. Alex, can you help me with this?
Hi Alin, I know that I can download any version via cvs. but when I do a emerge --update --deep world and install so a new version, which break my dsl-connection, so a download via cvs is not usefull for me. You must see: I cannot search in the gentoo-forum, what problem the new version has. so I would like to reinstall the old version from my distfiles, but when the old ebuild deleted to fast, I don't can do that. I think peoples with one pc ond only one OS have big trouble... You know what I mean?
I understand that, but nothing was broken between r7 and r10 - nothing except adsl-setup in r9 but this was a minor problem. I've erased old versions because I am sure of that. As you can see, the only thing changed that really matter was removal of "connect true" parameter from pppd command line when on-demand is used. You must agree with me, this cannot break your previous working rp-pppoe setup. Btw, rp-pppoe is just a user space reminiscence from the days when kernel didn't knew anything about PPPoE. Nowadays, you don't need these stinky scripts (see forum for more info). As soon as I understand the steps for enabling on-demand option, I will take the necessary measures. However, I need feedback from those who really use it.
sorry, I must say: this breaks my adsl-setup! And I understand our opinion, too but it's a fact, that all the tips and tricks don't help me, while I have no adsl to read the tips und bugreports.
I've just saw the first message in http://forums.gentoo.org/viewtopic-t-328859-highlight-rppppoe.html, which makes me wonder if erasing "connect true" from pppd parameters was a good thing to do. Alex, please tell me what version of pppd do you use.
that's the PC of a friend and he use ppp-2.4.2-r10 And in addition to comment 13, I upgrarded from r7 directly to r10, not from r9 to r10. can be that the problem?
please test the r11 revision. it should work with any combination of LINUX_PLUGIN, DEMAND and ppp version. if it isn't too much to ask, I want confirmations from all involved in this bug (CC & reporter).
Hey, I just merged r11 and it works out of the box! Great work!
thanks for the report, thomas. anyone else care to report?
Works for me like r10 with demand option and persistent connection, nothing bad occured, seems fine for me...
thanks. r11 marked stable on all arches, bug closed.