On Fri, Oct 25, 2002 at 02:16:32PM -0700, Bakul Shah wrote: > > > Until pppd is taught to create the interface if one doesn't > > > exist, this information needs to be in /usr/src/UPDATING. > > > > pppd doesn't need to be taught to create the interface. Rather it needed > > to learn to check for ppp support in a non-stupid way. The following > > patch should do it as well as making pppd do the right thing when > > support isn't compiled in, but a module is available. It should make > > things work with a GENERIC kernel. > > `device ppp' was already defined in my kernel config file so > there was no need to kldload if_ppp. But I had to run > `ifconfig create ppp' to make things work.
RTF modfind. The modfind check verifies that ppp is in your kernel one way or another. It IS unnecessicary to create the ppp0 interface because adding a ppp line discipline does that for you. The check for ppp0 was always wrong because you might not get that interface. > I don't much like auto kldloading modules from suid programs. I'm waiting on more opinions on this. It's easy enough to remove if that's the concensous. FWIW, ifconfig does exacly this before trying to do anything with any interface. -- Brooks -- Any statement of the form "X is the one, true Y" is FALSE. PGP fingerprint 655D 519C 26A7 82E7 2529 9BF0 5D8E 8BE9 F238 1AD4
msg45344/pgp00000.pgp
Description: PGP signature