Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 04 Nov 2004 12:36:28 +0300
From:      "Andrew P." <infofarmer@mail.ru>
To:        questions@freebsd.org
Subject:   PPP not loading at startup. Please help!
Message-ID:  <4189F81C.7050108@mail.ru>

next in thread | raw e-mail | index | archive | help
Hi!

PPP does not start at system startup although ppp_enable="YES" is in 
/etc/rc.conf. It used to start allright just a couple of days before - 
and for months on end before. The problem is I did many things during 
these two days, and I just can't remember everything in particular. I 
slightly reconfigured kernel, installed isc-dhcp3-server, tried to run 
samba, edited rc.conf and some other config files - but I'm positive 
that I haven't done anything that should affect ppp behaviour directly. 
I haven't changed /etc/ppp/ppp.conf - and it's pretty basic.

Here's the relevant part of rc.conf:
    ppp_enable="YES"
    ppp_mode="ddial"
    ppp_profile="mtu"
    ppp_user="root"
    ppp_nat="YES"

All other entries in rc.conf are still effective and everything starts 
ok - except ppp. I can easily start ppp manually. There's nothing in 
ppp.log dated between system startup and manual ppp start. The only 
error in dmesg is:
    module_register: module netgraph already exists!
    linker_file_sysinit "netgraph.ko" failed to register! 17
but google has told me that this is not critical. My kernel config is as 
follows:
    machine         i386
    cpu             I686_CPU
    ident           SATBSDK
    maxusers        64

    options         INET
    options         FFS
    options         FFS_ROOT
    options         SOFTUPDATES
    options         UFS_DIRHASH
    options         MFS
    options         NFS
    options         PROCFS
    options         COMPAT_43
    options         SCSI_DELAY=15000
    options         UCONSOLE
    options         USERCONFIG
    options         VISUAL_USERCONFIG
    options         KTRACE
    options         SYSVSHM
    options         SYSVMSG
    options         SYSVSEM
    options         P1003_1B
    options         _KPOSIX_PRIORITY_SCHEDULING
    options         ICMP_BANDLIM
    options         KBD_INSTALL_CDEV

    device          isa
    device          pci

    device          ata
    device          atadisk
    device          atapicd
    options         ATA_STATIC_ID

    device          atkbdc0 at isa? port IO_KBD
    device          atkbd0  at atkbdc? irq 1 flags 0x1
    device          vga0    at isa?
    device          sc0     at isa? flags 0x100
    device          npx0    at nexus? port IO_NPX irq 13

    device          miibus
    device          rl
   
    pseudo-device   loop
    pseudo-device   ether
    pseudo-device   tun     1
    pseudo-device   pty
    pseudo-device   md

    pseudo-device   bpf
    options         IPFIREWALL
    options         IPFIREWALL_DEFAULT_TO_ACCEPT
    options         IPFIREWALL_VERBOSE
    options         IPFIREWALL_VERBOSE_LIMIT=100
    options         IPDIVERT
    options         DUMMYNET
    options         NETGRAPH
    options         NETGRAPH_ETHER
    options         NETGRAPH_SOCKET
    options         NETGRAPH_PPP
    options         NETGRAPH_PPPOE

My uname is:
    FreeBSD satbsd.local
    4.10-RELEASE-p3 FreeBSD 4.10-RELEASE-p3 #10:
    Thu Nov  4 03:11:27 MSK 2004
    sat@satbsd.local:/usr/obj/usr/src/sys/SATBSDK  i386

If you're out of ideas, maybe you could tell me, how's ppp started by 
ppp_enable="YES". I couldn't find it's literal invocation in /etc/rc.

Please help! Thanks!

Best regards,
Andrew P.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4189F81C.7050108>