Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login

    Empty ntp and ppp logs

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    4 Posts 3 Posters 2.6k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • W
      wallabybob
      last edited by

      I have recently done a fresh install of pfSense 2.0.1. I have noticed my ntp log and ppp log are empty. I expected each to at least contain a startup message from the corresponding application. As shown below ntpd is running and I have an active ppp wan link.

      [2.0.1-RELEASE][root@pfSense.example.org]/root(21): ps ax | grep ntp
      48478  ??  SN    0:01.29 ntpd: ntp engine (ntpd)
      54294  ??  SNs    0:00.13 ntpd: [priv] (ntpd)
      31811  0  R+    0:00.01 grep ntp
      [2.0.1-RELEASE][root@pfSense.example.org]/root(22): clog /var/log/ntpd.log
      [2.0.1-RELEASE][root@pfSense.example.org]/root(24): ifconfig pppoe0
      pppoe0: flags=88d1 <up,pointopoint,running,noarp,simplex,multicast>metric 0 mtu 1492
      inet 203.144.23.186 –> 121.50.212.9 netmask 0xffffffff
      inet6 fe80::219:e0ff:fe68:314b%pppoe0 prefixlen 64 scopeid 0xb
      nd6 options=3 <performnud,accept_rtadv>[2.0.1-RELEASE][root@pfSense.example.org]/root(27): netstat -r -n -f inet
      Routing tables

      Internet:
      Destination        Gateway            Flags    Refs      Use  Netif Expire
      default            121.50.212.9      UGS        0    79356 pppoe0
      121.50.212.9      link#11            UH          0    3687 pppoe0
      127.0.0.1          link#7            UH          0      63    lo0
      192.168.1.0/30    link#9            U          0        0 rl0_vl
      192.168.1.2        link#9            UHS        0        0    lo0
      192.168.37.192/28  link#10            U          0  6815550 rl0_vl
      192.168.37.197    link#10            UHS        0        0    lo0
      192.168.211.128/25 link#13            U          0  2689502 bridge
      192.168.211.173    link#13            UHS        0        0    lo0
      203.144.x.x        link#11            UHS        0        0    lo0
      [2.0.1-RELEASE][root@pfSense.example.org]/root(28): uptime
      7:48AM  up 10:16, 2 users, load averages: 0.28, 0.19, 0.10
      [2.0.1-RELEASE][root@pfSense.example.org]/root(29): clog /var/log/ppp.log
      [2.0.1-RELEASE][root@pfSense.example.org]/root(30): netstat -I pppoe0
      Name              Mtu Network      Address              Ipkts Ierrs Idrop    Opkts Oerrs  Coll
      pppoe0            1492 <link#11>128712    0    0    82531    0    0
      pppoe0            1492 203.144.x.x  CPE-203-144-x-x      8048    -    -        0    -    -
      pppoe0            1492 fe80🅱:219:e fe80🅱:219:e0ff:        0    -    -        2    -    -
      [2.0.1-RELEASE][root@pfSense.example.org]/root(31):</link#11></performnud,accept_rtadv></up,pointopoint,running,noarp,simplex,multicast>

      I have the pfSense syslog output directed to a remote syslog server and its log includes entries from ntpd on pfSense:

      Jan 19 06:50:53 pc-00005 ntpd[54294]: adjusting local clock by 0.165931s

      The remote syslog seems entirely devoid of ppp entries from pfSense.

      1 Reply Last reply Reply Quote 0
      • C
        Cino
        last edited by

        i dont think ntp logging has worked since 1.2 days… ppp is loggin info for my 3g modem

        1 Reply Last reply Reply Quote 0
        • W
          wallabybob
          last edited by

          @Cino:

          ppp is loggin info for my 3g modem

          I wonder if logging in mpd is different for serial ppp and pppoe.

          Looking at examples of the ntpd report to the remote syslog server it seems the facility code in the message is ntpd[54294] (54294 is the pid of the pfSense ntpd). The syslog,conf man page doesn't say anything which would lead me to believe this facility code will match any entry in syslog.conf which appears to expect a facility code of ntpd

          1 Reply Last reply Reply Quote 0
          • chpalmerC
            chpalmer
            last edited by

            Same here for NTP for lonnnng time…

            PPP has recently become very anemic...

            Triggering snowflakes one by one..
            Intel(R) Core(TM) i5-4590T CPU @ 2.00GHz on an M400 WG box.

            1 Reply Last reply Reply Quote 0
            • First post
              Last post
            Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.