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

    No DHCP on WAN after upgrade to latest snap

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    6 Posts 3 Posters 2.2k 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.
    • M Offline
      madas
      last edited by

      Running the snapshot of 2.0 RC1 from 3/3/2011

      Was previously on 3/2/2011 and had no issues.  Ran the auto update to the latest snapshot today.

      My WAN interface now no longer automatically obtains an ip address after a reboot.  I have to drop a shell and run

      dhclient re1

      then everything seems to work fine.  If I just try pressing renew on the diag–>interfaces page it still doesn't work.

      Nothing much in the logs


      php: : ERROR! PPTP enabled but could not resolve the $pptpdtarget
      Mar 4 03:43:08 php: : Could not find gateway for interface(wan).

      Anywhere in particular i should look?

      Thanks

      M

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

        @madas:

        Anywhere in particular i should look?

        Check the system log (web GUI: Status -> System Logs, click on System tab) for dhclient entries.

        1 Reply Last reply Reply Quote 0
        • E Offline
          eri--
          last edited by

          Show complete system log and the wan interface configuration screenshot.

          1 Reply Last reply Reply Quote 0
          • M Offline
            madas
            last edited by

            Screenshots and log attached.  Nothing about dhclient in the system.log

            ![if status.jpg](/public/imported_attachments/1/if status.jpg)
            ![if status.jpg_thumb](/public/imported_attachments/1/if status.jpg_thumb)
            if-config1.jpg
            if-config1.jpg_thumb
            if-config2.jpg
            if-config2.jpg_thumb
            system.txt

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

              @madas:

              Nothing about dhclient in the system.log

              On my running system, vr0 is my WAN interface and gets its address by DHCP.

              ps ax | grep dhcl

              8726  ??  Is    0:02.13 dhclient: vr0 [priv] (dhclient)
              13941  ??  Is    0:03.49 dhclient: vr0 (dhclient)

              Some people have reported in pfSense 1.2.3 that dhclient apparently quietly dies.

              You should see dhclient report its startup in the system log (WEB GUI: Status -> System logs, click on System tab) soon after system startup but it might disappear from the system log if a lot of other events are reported. If I recall correctly, someone recently posted some suggested changes to dhclient startup in pfSense 2.0 to make it more robust.

              1 Reply Last reply Reply Quote 0
              • M Offline
                madas
                last edited by

                Hello,

                The log i attached is directly after startup.  I cleaned the log before i rebooted so no events have been missed as far as i can tell.

                Very strange.

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