.config looks fine
What version of modutils?
What version of pppd?
Do you have /dev/ppp?
Does it work if you insert the relevant ppp modules by hand first
(ppp_generic, ppp_async)?
On Sun, 1 Apr 2001, Ken Moffat wrote:
> Hi, Mike,
> I've finally admitted defeat with ppp. I guess it's something wrong in my
> .config, but I can't see what.
>
> On Sun, 25 Mar 2001, Mike Ricketts wrote:
>
> > Does this help?
> >
> > [mike@oakley ~]$ uname -a
> > Linux oakley.chf 2.4.2 #1 SMP Sun Mar 4 22:05:17 GMT 2001 i686 unknown
> > [mike@oakley ~]$ pppd --version
> > bash: pppd: command not found
> > [mike@oakley ~]$ /usr/sbin/pppd --version
> > pppd version 2.4.0
> > [mike@oakley ~]$ ps auwwwwwx | grep pppd
> > god 6745 0.0 0.7 1816 924 ttyS0 S Mar24 0:00
> > /usr/sbin/pppd /dev/modem 57600 lock crtscts asyncmap 00000000
> > defaultroute modem connect chat -v -f
> > /etc/sysconfig/network-scripts/chat-ppp3
> > mike 1027 0.0 0.3 1304 468 tty3 S Mar24 0:00 grep pppd
> > [mike@oakley ~]$ grep ppp /etc/modules.conf
> > #alias ppp ppp_generic
> > #alias ppp0 ppp_generic
> > alias char-major-108 ppp_generic
> > alias /dev/ppp ppp_generic
> > alias tty-ldisc-3 ppp_async
> > alias tty-ldisc-14 ppp_synctty
> > alias ppp-compress-21 bsd_comp
> > alias ppp-compress-24 ppp_deflate
> > alias ppp-compress-26 ppp_deflate
> > post-install ppp_generic /sbin/modprobe ppp_async
> > [mike@oakley ~]$ /sbin/lsmod | grep ppp
> > ppp_async 6224 1
> > ppp_generic 15216 3 (autoclean) [ppp_async]
> >
> >
> I've had to add modules.conf to the test machine (strange, I could load fs
> modules with 2.4.2, and it was a RedHat 7 install, but I couldn't find
> modules.conf. Anyway) and with a bit of tweaking depmod -an now shows all
> the modules I'd expect.
>
> modules.conf is now
> path[fs]=/lib/modules/`uname -r`/kernel/fs
> path[ide]=/lib/modules/`uname -r`/kernel/drivers/ide
> path[net]=/lib/modules/`uname -r`/kernel/drivers/net
> alias parport_lowlevel parport_pc
> alias ppp ppp_generic
> alias char-major-108 ppp_generic
> alias /dev/ppp ppp_generic
> alias tty-ldisc-3 ppp_async
> alias tty-ldisc-14 ppp_synctty
> alias ppp-compress-21 bsd_comp
> alias ppp-compress-24 ppp_deflate
> alias ppp-compress-26 ppp_deflate
>
> Remembered to run depmod -a after this. But still I get the message
> reg_kipling kernel: CSLIP: code copyright 1989 Regents of the University of
> California
> reg_kipling kernel: PPP generic driver version 2.4.1
> reg_kipling pppd[26569]: This system lacks kernel support for PPP. This
> could be because the PPP kernel module could not be loaded, or because PPP
> was not included in the kernel configuration. If PPP was included as a
> module, try `/sbin/modprobe -v ppp'. If that fails, check t
> (yeah, 't' is obviously the answer, the message ends there).
> I spent a bit of time grepping the source for this, but in the end I got
> overwhelmed by the number of references to PPP.
>
> My .config is attached, but the bits I assume matter are:
>
> #
> # Loadable module support
> #
> CONFIG_MODULES=y
> # CONFIG_MODVERSIONS is not set
> CONFIG_KMOD=y
>
>
> #
> # General setup
> #
> CONFIG_NET=y
> #
> # Networking options
> #
> CONFIG_PACKET=y
> # CONFIG_PACKET_MMAP is not set
> CONFIG_NETLINK=y
> CONFIG_RTNETLINK=y
> # CONFIG_NETLINK_DEV is not set
> # CONFIG_NETFILTER is not set
> # CONFIG_FILTER is not set
> CONFIG_UNIX=y
> CONFIG_INET=y
> CONFIG_IP_MULTICAST=y
> # CONFIG_IP_ADVANCED_ROUTER is not set
> # CONFIG_IP_PNP is not set
> # CONFIG_NET_IPIP is not set
> # CONFIG_NET_IPGRE is not set
> # CONFIG_IP_MROUTE is not set
> # CONFIG_ARPD is not set
> # CONFIG_INET_ECN is not set
> # CONFIG_SYN_COOKIES is not set
> # CONFIG_IPV6 is not set
> # CONFIG_KHTTPD is not set
> # CONFIG_ATM is not set
> # CONFIG_IPX is not set
> # CONFIG_ATALK is not set
> # CONFIG_DECNET is not set
> # CONFIG_BRIDGE is not set
> # CONFIG_X25 is not set
> # CONFIG_LAPB is not set
> # CONFIG_LLC is not set
> # CONFIG_NET_DIVERT is not set
> # CONFIG_ECONET is not set
> # CONFIG_WAN_ROUTER is not set
> # CONFIG_NET_FASTROUTE is not set
> # CONFIG_NET_HW_FLOWCONTROL is not set
>
>
> #
> # Network device support
> #
> CONFIG_NETDEVICES=y
>
>
> #
> # Ethernet (1000 Mbit)
> #
> # CONFIG_ACENIC is not set
> # CONFIG_HAMACHI is not set
> # CONFIG_YELLOWFIN is not set
> # CONFIG_SK98LIN is not set
> # CONFIG_FDDI is not set
> # CONFIG_HIPPI is not set
> # CONFIG_PLIP is not set
> CONFIG_PPP=m
> # CONFIG_PPP_MULTILINK is not set
> CONFIG_PPP_ASYNC=m
> CONFIG_PPP_SYNC_TTY=m
> CONFIG_PPP_DEFLATE=m
> CONFIG_PPP_BSDCOMP=m
> # CONFIG_PPPOE is not set
> # CONFIG_SLIP is not set
>
> Thanks for any advice.
>
> Ken
>
--
Mike Ricketts <[EMAIL PROTECTED]> Phone: +44 7968 381810
God made the integers; all else is the work of Man.
-- Kronecker
-
To unsubscribe from this list: send the line "unsubscribe linux-newbie" in
the body of a message to [EMAIL PROTECTED]
Please read the FAQ at http://www.linux-learn.org/faqs