Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 89609 - rp-pppoe-3.5-r9 doesn't connect any more
Summary: rp-pppoe-3.5-r9 doesn't connect any more
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Linux
: High major
Assignee: Gentoo Dialup Developers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-04-18 23:26 UTC by Thomas Schuetz
Modified: 2005-05-11 14:23 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
tarball with r7-r9 versions (rp-pppoe.tar.gz,8.91 KB, application/x-gzip)
2005-04-19 02:05 UTC, Alin Năstac (RETIRED)
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Thomas Schuetz 2005-04-18 23:26:24 UTC
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:
Comment 1 Alin Năstac (RETIRED) gentoo-dev 2005-04-19 02:05:22 UTC
Created attachment 56642 [details]
tarball with r7-r9 versions
Comment 2 Alin Năstac (RETIRED) gentoo-dev 2005-04-19 02:07:57 UTC
changes between r7 and r9 are 2 additional patches: connect-on-demand and username-charset
Comment 3 Thomas Schuetz 2005-04-19 22:19:47 UTC
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 :-)
Comment 4 Alin Năstac (RETIRED) gentoo-dev 2005-04-19 23:08:09 UTC
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
Comment 5 Thomas Schuetz 2005-04-24 08:27:25 UTC
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.
Comment 6 Alin Năstac (RETIRED) gentoo-dev 2005-04-24 13:01:44 UTC
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.
Comment 7 Thomas Schuetz 2005-04-27 14:07:44 UTC
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?
Comment 8 Alin Năstac (RETIRED) gentoo-dev 2005-04-28 10:42:14 UTC
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.

Comment 9 Thomas Schuetz 2005-05-02 07:12:00 UTC
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?
Comment 10 Adrian Frerichs 2005-05-03 08:51:28 UTC
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.
Comment 11 Alin Năstac (RETIRED) gentoo-dev 2005-05-03 14:01:53 UTC
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?
Comment 12 Adrian Frerichs 2005-05-04 09:33:48 UTC
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?
Comment 13 Alin Năstac (RETIRED) gentoo-dev 2005-05-04 10:09:09 UTC
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.
Comment 14 Adrian Frerichs 2005-05-04 10:22:08 UTC
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.
Comment 15 Alin Năstac (RETIRED) gentoo-dev 2005-05-04 11:41:24 UTC
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.
Comment 16 Adrian Frerichs 2005-05-04 19:02:30 UTC
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?
Comment 17 Alin Năstac (RETIRED) gentoo-dev 2005-05-05 14:41:53 UTC
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).
Comment 18 Thomas Schuetz 2005-05-07 14:26:03 UTC
Hey, I just merged r11 and it works out of the box! Great work!
Comment 19 Alin Năstac (RETIRED) gentoo-dev 2005-05-10 13:20:45 UTC
thanks for the report, thomas.

anyone else care to report? 
Comment 20 Alexander Stoll 2005-05-11 14:01:35 UTC
Works for me like r10 with demand option and persistent connection, nothing bad occured, seems fine for me...
Comment 21 Alin Năstac (RETIRED) gentoo-dev 2005-05-11 14:23:17 UTC
thanks.

r11 marked stable on all arches, bug closed.