[Solved] PPPOE issue

Help with issues regarding installation of Debian

[Solved] PPPOE issue

Postby cferoiu » 2017-08-19 10:24

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.
cferoiu
 
Posts: 7
Joined: 2017-06-19 13:15

Re: PPPOE issue

Postby kedaha » 2017-08-19 10:35

Hi,
Have you tried the instructions at debian.org/releases/etch/amd64/apds05.html.en?
Mate DE & OSSv4.
LaMp, WordPress; ispmail
Debian Stable & Software

Words, as is well known, are the great foes of reality. Joseph Conrad.
User avatar
kedaha
 
Posts: 2797
Joined: 2008-05-24 12:26

Re: PPPOE issue

Postby cferoiu » 2017-08-19 10:57

I tryed, simply the service don't start, i think is a problem with some dependencies.
cferoiu
 
Posts: 7
Joined: 2017-06-19 13:15

Re: PPPOE issue

Postby kedaha » 2017-08-19 11:26

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.
Mate DE & OSSv4.
LaMp, WordPress; ispmail
Debian Stable & Software

Words, as is well known, are the great foes of reality. Joseph Conrad.
User avatar
kedaha
 
Posts: 2797
Joined: 2008-05-24 12:26

Re: PPPOE issue

Postby cferoiu » 2017-08-19 11:37

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....
cferoiu
 
Posts: 7
Joined: 2017-06-19 13:15

Re: PPPOE issue

Postby kedaha » 2017-08-19 12:00

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.
Mate DE & OSSv4.
LaMp, WordPress; ispmail
Debian Stable & Software

Words, as is well known, are the great foes of reality. Joseph Conrad.
User avatar
kedaha
 
Posts: 2797
Joined: 2008-05-24 12:26

Re: PPPOE issue

Postby cferoiu » 2017-08-20 16:10

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...
cferoiu
 
Posts: 7
Joined: 2017-06-19 13:15

Re: PPPOE issue

Postby kedaha » 2017-08-20 16:33

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.
Mate DE & OSSv4.
LaMp, WordPress; ispmail
Debian Stable & Software

Words, as is well known, are the great foes of reality. Joseph Conrad.
User avatar
kedaha
 
Posts: 2797
Joined: 2008-05-24 12:26

Re: PPPOE issue

Postby mhanor » 2017-08-26 14:24

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.
mhanor
 
Posts: 6
Joined: 2009-04-02 19:40

Re: PPPOE issue

Postby kedaha » 2017-08-27 06:58

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.
Mate DE & OSSv4.
LaMp, WordPress; ispmail
Debian Stable & Software

Words, as is well known, are the great foes of reality. Joseph Conrad.
User avatar
kedaha
 
Posts: 2797
Joined: 2008-05-24 12:26

Re: PPPOE issue

Postby mhanor » 2017-08-27 11:01

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-)')
mhanor
 
Posts: 6
Joined: 2009-04-02 19:40

Re: PPPOE issue

Postby kedaha » 2017-08-27 11:23

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.
Mate DE & OSSv4.
LaMp, WordPress; ispmail
Debian Stable & Software

Words, as is well known, are the great foes of reality. Joseph Conrad.
User avatar
kedaha
 
Posts: 2797
Joined: 2008-05-24 12:26

Re: PPPOE issue

Postby cferoiu » 2017-08-29 17:29

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?
cferoiu
 
Posts: 7
Joined: 2017-06-19 13:15

Re: PPPOE issue

Postby mhanor » 2017-08-29 17:57

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.
mhanor
 
Posts: 6
Joined: 2009-04-02 19:40

Re: [Solved] PPPOE issue

Postby cferoiu » 2017-08-30 13:35

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.
cferoiu
 
Posts: 7
Joined: 2017-06-19 13:15


Return to Installation

Who is online

Users browsing this forum: No registered users and 2 guests

fashionable