Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

[Solved] PPPOE issue

Ask for help with issues regarding the Installations of the Debian O/S.
Post Reply
Message
Author
cferoiu
Posts: 7
Joined: 2017-06-19 13:15

[Solved] PPPOE issue

#1 Post by cferoiu »

I whant to install fresh system with option: modules=ppp-udeb
I try with stretch 9.0 - not work.
I try with stretch 9.1 - not work.
I'm the only guy too whant to use pppoe in installation step?
Misconceptions like wrong installation ISO I don't want to discuss.
In jessie work very well.
Last edited by cferoiu on 2017-08-29 18:40, edited 1 time in total.

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: PPPOE issue

#2 Post by kedaha »

Hi,
Have you tried the instructions at debian.org/releases/etch/amd64/apds05.html.en?
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

cferoiu
Posts: 7
Joined: 2017-06-19 13:15

Re: PPPOE issue

#3 Post by cferoiu »

I tryed, simply the service don't start, i think is a problem with some dependencies.

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: PPPOE issue

#4 Post by kedaha »

Have you gone through everything at wiki.debian.org/PPPoE too?
Sorry, I posted you an outdated link in my first reply; it should've been:
debian.org/releases/stretch/amd64/apds05.html.en.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

cferoiu
Posts: 7
Joined: 2017-06-19 13:15

Re: PPPOE issue

#5 Post by cferoiu »

I know what i'm doing.
In jessie, after boot the installer image I pull the TAB key and I appent the: modules=ppp-udeb at end of the boot parameter.
All process work very well, pppoe service start and he ask me for user and pass for ISP conection, in stretch simply the service don't start.
And now stretch is at the second version.... 9.1, maybe i need too wait till 9.10....

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: PPPOE issue

#6 Post by kedaha »

Are you attempting to do a network install with a netinst image?
Of course, as you say, there may be missing dependences so, why not download the dvd, which will contain all the necessary packages, from debian-cd/current/amd64/iso-dvd/ (assuming it's for amd65)? Naturally, it's easier if the installer can set it up but if not, then the only other option is to install a basic system and configure it later.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

cferoiu
Posts: 7
Joined: 2017-06-19 13:15

Re: PPPOE issue

#7 Post by cferoiu »

Thank you for you time.
I suposse a superior version of anything is better than the previous one.
I think they are responsible for introducing new versions of debian too early is not good practice.
By the way, neither hostapd works.
I start the linux hobby with jessie, I was very excited.
I have at home a very beautiful router with jessie , i buy a domain just for fun. I use he.net beacause i dont have ip fix.
I will use your signature for mail server, thanks again.
But i will whant to move on to stretch.
I know is free...

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: PPPOE issue

#8 Post by kedaha »

Thank you for your post.
I hope you finally find out how to solve the PPOE issue in stretch.
A dynamic IP isn't as good as a static IP but it's OK unless one wants to run a production server.
My server still runs jessie; I'm waiting for next ISPmail tutorial using Postfix 3.1.4 (Debian Stretch) to be published before upgrading to stretch. But I only have a mail server and wordpress, which is the same version (from jessie-backports) as in stretch so I'm not in a hurry.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

mhanor
Posts: 10
Joined: 2009-04-02 19:40

Re: PPPOE issue

#9 Post by mhanor »

I also have this problem. I've tried the AMD64 netinst Debian release 9.1 ISO and the testing ISO. I can't figure out how to debug the issue. syslog only logs a warning from the 'main-menu' process, 'configuring ppp-udeb failed with code error 1'. Removing quiet and adding DEBCONF_DEBUG=developer to the kernel line doesn't add any useful information to the syslog.
Last edited by mhanor on 2017-08-27 07:51, edited 1 time in total.

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: PPPOE issue

#10 Post by kedaha »

Unless I'm very much mistaken, it's a bug so I think you should report it.
The only thing that occurs to me would be to install the basic "jessie" system and then upgrade it to current stable.
A search for "configuring ppp-udeb failed with code error 1" produces few results including an old bug from 2006 where there was a mismatch between the VERSION define from the upstream tarball and the PPPDIR defined in debian/rules, but that doesn't appear to be the case here; I can't even find the PPPDIR defined in debian/rules. But it may help to drop to a shell <CTL-alt-F2> to see what's going on when it fails.
The ppp-udeb, I note, is only for debian-installer images and mustn't be installed like other packages.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

mhanor
Posts: 10
Joined: 2009-04-02 19:40

Re: PPPOE issue

#11 Post by mhanor »

I found out what's the problem. The ppp-udeb post-install script is not fitted for predictable network device naming.
For a quick fix, after it fails, just open a console during install (CTRL+F2) and edit the post-install script:

Code: Select all

nano /var/lib/dpkg/info/ppp-udeb.postinst
At the top of the file, you have this line:

Code: Select all

INTERFACES=$(grep : /proc/net/dev | cut -d':' -f1 | sort | sed -e 's/ *//' | grep -E '^(eth|nas|tap|nic-)')
Edit it like this:

Code: Select all

INTERFACES=$(grep : /proc/net/dev | cut -d':' -f1 | sort | sed -e 's/ *//' | grep -E '^(en|eth|nas|tap|nic-)')

kedaha
Posts: 3521
Joined: 2008-05-24 12:26
Has thanked: 33 times
Been thanked: 77 times

Re: PPPOE issue

#12 Post by kedaha »

Well done! :) I was intrigued by the post and spent some time trying to figure it out.
I hope cferoiu sees your solution soon and can mark the topic as solved.
DebianStable

Code: Select all

$ vrms

No non-free or contrib packages installed on debian!  rms would be proud.

cferoiu
Posts: 7
Joined: 2017-06-19 13:15

Re: PPPOE issue

#13 Post by cferoiu »

mhanor i really appreciate your answer.
If you didn't make the ppp-udeb how you figured it out where it was the problem? (is rhetorical question) You have all my respect.

For stretch stuff:
You have change too many things:
- ifconfig disappeared;
- rc.local how can i replaces same boot commands?
- ifup????? what the f...it is: ip link set enp1s0 up?

I'm serioslly thinking to out from debian.
mhanor you can suggest me same another distro with TLS suport and easy :D
I'm so sorry ... I got used to it so much with jessie

PS: kedaha how can i mark the topic solved?

mhanor
Posts: 10
Joined: 2009-04-02 19:40

Re: PPPOE issue

#14 Post by mhanor »

You have to edit your original post. Just add [Solved] at the beginning of the title.
If you have a new issue, you should open a new topic. Jessie is still a good, safe option to use. Jessie is supported and it will become LTS when Wheezy LTS reaches its EOL.

cferoiu
Posts: 7
Joined: 2017-06-19 13:15

Re: [Solved] PPPOE issue

#15 Post by cferoiu »

For the record I whant to complet:
- when reboot, internet connection didn't work; type in console:

Code: Select all

ip link set enp1s0 up
pon provider
apt update
apt install pppoeconf
pppoeconf
nano /etc/network/interfaces
and remove all part of provider, must be left just part of dsl-provider.
Reboot again.

Post Reply