Tiny Core Linux

Tiny Core Base => Raspberry Pi => Topic started by: larryle on June 24, 2016, 05:45:26 AM

Title: ppp_generic in piCore 7
Post by: larryle on June 24, 2016, 05:45:26 AM
Hi,

I managed to download, compiled and installed pppd 2.4.7 on piCore 7
But when I tried to run pppd,  I got this message.

Couldn't open the /dev/ppp device: No such device or address
pppd: Please load the ppp_generic kernel module.

is that ppp_generic module not installed?  anybody know how to install that?

tks
Larry
Title: Re: ppp_generic in piCore 7
Post by: Paul_123 on June 24, 2016, 02:35:58 PM
There are many threads here on how to get kernel modules that are not included in base.

Take a look at the thread a few lines down.  http://forum.tinycorelinux.net/index.php/topic,20081.0.html

Title: Re: ppp_generic in piCore 7
Post by: larryle on June 25, 2016, 12:27:17 AM
I download the modules from here
http://tinycorelinux.net/7.x/armv6/releases/RPi/src/kernel/4.1.20-piCore+_modules.tar.xz

still no idea how to install them,  google a lot, still cannot see anything really helpful though.

If anybody already done it, pls give me a simple instruction. tks

Title: Re: ppp_generic in piCore 7
Post by: Paul_123 on June 25, 2016, 04:59:36 PM
Just like the other threads.

Read the Core Book  http://tinycorelinux.net/book.html

There is also information in the wiki
Title: Re: ppp_generic in piCore 7
Post by: larryle on June 26, 2016, 08:05:01 PM
mate really helpful
searched keywords 'module' in the book, only found two places, but not what I need.

10.31. laptop - force loading of laptop modules ............ 57
10.36. blacklist - blacklist modules ............................... 59


 the wiki http://wiki.tinycorelinux.net/wiki:custom_kernel  still based on tc4.x. 

spend couple of hours trying to search on this forum. just cannot find any straight answer.
Title: Re: ppp_generic in piCore 7
Post by: Misalf on June 26, 2016, 08:50:53 PM
Creating module extensions might be a bit more involved than what is documented in the book for normal use cases.
Shouldn't be too complicated though, if taking other modules (maybe from the x86 repo) as a base to learn where to put files.
Title: Re: ppp_generic in piCore 7
Post by: Rich on June 26, 2016, 09:05:01 PM
Hi larryle
Quote
searched keywords 'module' in the book, only found two places, but not what I need.
The advice was to read the book, not search it. The section of interest might not even use the term module. It might refer
to it as a driver or just list a modprobe command.

Quote
spend couple of hours trying to search on this forum.
You could probably read the book twice in that time.

Take an hour to read it, it's time well spent.
Title: Re: ppp_generic in piCore 7
Post by: larryle on June 26, 2016, 10:21:10 PM
I read the book more than twice mate. cannot find the answer what I need that's why I am here.
Title: Re: ppp_generic in piCore 7
Post by: Juanito on June 27, 2016, 04:01:11 AM
Unpack the tarball containing the kernel modules, copy the kernel module you require into the root filesystem in the same place as the existing modules and then "sudo depmod -a"