WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: ppp_generic in piCore 7  (Read 2644 times)

Offline larryle

  • Newbie
  • *
  • Posts: 8
ppp_generic in piCore 7
« 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

Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1243
Re: ppp_generic in piCore 7
« Reply #1 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


Offline larryle

  • Newbie
  • *
  • Posts: 8
Re: ppp_generic in piCore 7
« Reply #2 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


Offline Paul_123

  • Administrator
  • Hero Member
  • *****
  • Posts: 1243
Re: ppp_generic in piCore 7
« Reply #3 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

Offline larryle

  • Newbie
  • *
  • Posts: 8
Re: ppp_generic in piCore 7
« Reply #4 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.

Offline Misalf

  • Hero Member
  • *****
  • Posts: 1702
Re: ppp_generic in piCore 7
« Reply #5 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.
Download a copy and keep it handy: Core book ;)

Offline Rich

  • Administrator
  • Hero Member
  • *****
  • Posts: 11593
Re: ppp_generic in piCore 7
« Reply #6 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.

Offline larryle

  • Newbie
  • *
  • Posts: 8
Re: ppp_generic in piCore 7
« Reply #7 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.

Offline Juanito

  • Administrator
  • Hero Member
  • *****
  • Posts: 14799
Re: ppp_generic in piCore 7
« Reply #8 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"