Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 55233

Summary: net.ppp0 could try to modprobe /dev/ppp first
Product: Gentoo Linux Reporter: Adam Byrtek <alpha>
Component: [OLD] Core systemAssignee: Gentoo's Team for Core System packages <base-system>
Status: RESOLVED FIXED    
Severity: enhancement CC: net-dialup
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Adam Byrtek 2004-06-26 06:58:12 UTC
On my system (kernel 2.6.7 with udev managing /dev) when ppp is compiled as a module pppd invoked by net.ppp0 dies, because it can't find /dev/ppp.

When I 'modprobe /dev/ppp && /etc/init.d/net.ppp0' it works fine.

Of course I know that I can autoload neccessary modules, but it would be more convenient if net.ppp0 do it itself. It is a matter of one if and one modprobe in a script, so I think it's worth implementing.

if [ ! -c /dev/ppp ]; then
   modprobe /dev/ppp
fi

Reproducible: Always
Steps to Reproduce:
Comment 1 Heinrich Wendel (RETIRED) gentoo-dev 2004-09-27 03:31:49 UTC
added.