P
P
Programep2016-08-30 13:12:31
linux
Programep, 2016-08-30 13:12:31

How to enable pppoe (debian jessie or archlinux) support in linux kernel?

Good afternoon!
Yes:
raspberry PI with debian jessie OS
Task:
Enable pppoe support and configure pppoe connection.
Is it possible to recompile the kernel on the current version of debian jessie (how)?
Or will I have to install on a PC, and then this image on an SD card for raspberry PI?
It says here that this option is enabled during installation. Tell me, please, what to do?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
P
planc, 2016-08-30
@Programep

if you need to install via pppoe, then you need to add the option during installation: https://www.debian.org/releases/stable/i386/apds05.html
if debian is already installed or what is there on pi? raspbian?
you need to install the pppoeconf package, which will pull the ppp and pppoe packages with it,
then run pppoeconf as root and configure
the kernel through it, you don’t need to rebuild

S
Smithson, 2016-08-30
@Smithson

Rebuilding the kernel is described here: www.unix-lab.org/posts/debian-kernel

To do something like this, you need to be prepared first. Namely, install the following packages:
$ sudo aptitude install  build-essential kernel-package fakeroot initrd-tools pkg-config libncurses5-dev ( и `linux-source`
- for those who recompile the existing kernel)
If you decide to install a new kernel, then go to kernel.org or yandex mirror - mirror.yandex.ru/kernel.org/linux/kernel/ - and download the required kernel version. We have linux-3.0.4.tar.bz2.
See if there is a linux-source package in the /usr/src directory. In the case of recompilation, it will be, if you downloaded a new kernel, then move it there.
$ ls /usr/src/
linux-source-3.0.4.tar.bz2

Go to the directory and unpack the archive:
$ cd /usr/src
$ sudo tar xjf linux-source-3.0.4.tar.bz2

We go to the directory created after unzipping:
Now we can start configuring the kernel. This was done by the author in the console with the X-Window stopped. In this case, we write from root:
If you want to configure in a graphical terminal, the command will serve you.
But you will need to install additional packages / libraries, in general, well, it ....
Are you done with the configuration?
Then we collect our brand new nucleolus
:
fakeroot make-kpkg --initrd --revision=debian.3.0.4 kernel_image

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question