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

    Keep loosing WAN IP Address - dhclient does not seem to do update

    Scheduled Pinned Locked Moved DHCP and DNS
    199 Posts 27 Posters 112.4k 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.
    • F
      fireseller
      last edited by

      Thx alot. Due to the workaround I've got plenty of time now. Please let me know when there's something I can contribute / test in order to help.
      I'll watch this thread anyway.

      Cheers

      1 Reply Last reply Reply Quote 0
      • S
        sullrich
        last edited by

        From a shell, issue this command (full installations only!):

        fetch -q -o - http://www.pfsense.com/~sullrich/tools/cvs_sync.sh | sh

        Sit back and let it do it's thing.

        After it is done, issue shutdown -r now or reboot from the webConfigurator or option #5.

        1 Reply Last reply Reply Quote 0
        • F
          fireseller
          last edited by

          Hi sullrich

          I've just issued:
          fetch -q -o - http://www.pfsense.com/~sullrich/tools/cvs_sync.sh | sh

          and got:

          Setting CVS_IP to cvs.pfsense.com
          Cannot find cvsup, pkg_add in progress
          Cannot find cvs, fetching static cvs…

          /usr/bin/cvs                                  100% of 1528 kB  187 kBps
          Syncing with pfSense.com
          Checking out RELENG_1
          Connected to cvs.pfsense.com
          Updating collection pfSenseHEAD/cvs
          Mkdir CVSROOT
          Create CVSROOT/.#activitymail
          Create CVSROOT/.#avail
          Create CVSROOT/.#checkoutlist
          Create CVSROOT/.#ciabot_cvs.pl
          Create CVSROOT/.#commitinfo
          Create CVSROOT/.#config
          Create CVSROOT/.#cvs_acls.pl
          Create CVSROOT/.#cvswrappers
          Create CVSROOT/.#editinfo
          Create CVSROOT/.#loginfo
          Create CVSROOT/.#modules
          Create CVSROOT/.#notify
          Create CVSROOT/.#precia.pl
          Create CVSROOT/.#rcsinfo
          Create CVSROOT/.#rel_check.php
          Create CVSROOT/.#taginfo
          Create CVSROOT/.#test_commit.php
          Create CVSROOT/.#verifymsg
          Mkdir CVSROOT/CVSROOT
          Create CVSROOT/CVSROOT/cfg.pm
          Create CVSROOT/CVSROOT/cfg_local.pm
          SetAttrs CVSROOT/CVSROOT
          Mkdir CVSROOT/Emptydir
          SetAttrs CVSROOT/Emptydir
          Create CVSROOT/activitymail
          Create CVSROOT/activitymail,v
          Create CVSROOT/avail
          Create CVSROOT/avail,v
          Create CVSROOT/cfg.pm
          Create CVSROOT/cfg_local.pm
          Create CVSROOT/checkoutlist
          Create CVSROOT/checkoutlist,v
          Create CVSROOT/ciabot_cvs.pl
          Create CVSROOT/ciabot_cvs.pl,v
          Create CVSROOT/commitinfo
          Create CVSROOT/commitinfo,v
          Mkdir CVSROOT/commitlogs
          Create CVSROOT/commitlogs/misc
          SetAttrs CVSROOT/commitlogs
          Create CVSROOT/config
          Create CVSROOT/config,v
          Create CVSROOT/cvs_acls.pl
          Create CVSROOT/cvs_acls.pl,v
          Create CVSROOT/cvswrappers
          Create CVSROOT/cvswrappers,v
          Create CVSROOT/editinfo
          Create CVSROOT/editinfo,v
          Create CVSROOT/history
          Detailer failed: Network write failure: Invalid argument
          Will retry at 13:23:48

          Somethings wrong?

          1 Reply Last reply Reply Quote 0
          • H
            hoba
            last edited by

            You can cancel your upgrade for now. We found some remaining issues with the new dhclient (some things still have to be changed due to different syntax). It's working on reboot though. We'll test some more things later and post when we have a new version to try.

            1 Reply Last reply Reply Quote 0
            • F
              fireseller
              last edited by

              okey. Just rebooted. Everything works as before…

              1 Reply Last reply Reply Quote 0
              • S
                sullrich
                last edited by

                Everything should be working.  We really need ppl to test Optional WAN + DHCP more than anything at this point.  We are using the same code for dhclient as m0n0 1.3b1 now so I think it is correct.

                1 Reply Last reply Reply Quote 0
                • F
                  fireseller
                  last edited by

                  Have you made an update to the cvs?

                  1 Reply Last reply Reply Quote 0
                  • S
                    sullrich
                    last edited by

                    Yes, rerun the command I mentioned prior.

                    1 Reply Last reply Reply Quote 0
                    • S
                      Selective
                      last edited by

                      the new dhclient is working great !
                      but i have found small bug, under Interfaces my wan says DHCP : down
                      like this:
                      –-----------------------
                      WAN interface (rl0) 
                      Status up 
                      DHCP down   
                      MAC address 00:0a:cd:11:ef:fa 
                      Media 100baseTX <full-duplex> 
                      In/out packets 88231/110810 (21.17 MB/32.31 MB) 
                      In/out errors 0/0 
                      Collisions 0

                      keep up the good work !</full-duplex>

                      1 Reply Last reply Reply Quote 0
                      • S
                        Selective
                        last edited by

                        i just noticed a very good thing, it looks like with the new dhclient, the OpenVPN problem with "address in use" issue is fixed ! at least on my pfsense !

                        1 Reply Last reply Reply Quote 0
                        • S
                          sullrich
                          last edited by

                          @Selective:

                          the new dhclient is working great !
                          but i have found small bug, under Interfaces my wan says DHCP : down
                          like this:
                          –-----------------------
                          WAN interface (rl0) 
                          Status up 
                          DHCP down   
                          MAC address 00:0a:cd:11:ef:fa 
                          Media 100baseTX <full-duplex>In/out packets 88231/110810 (21.17 MB/32.31 MB) 
                          In/out errors 0/0 
                          Collisions 0

                          keep up the good work !</full-duplex>

                          Yeah, we are aware of this issue.  Should be fixed rather soon.  Just keep running that command every 12 hours or so and you will have the latest code.  But don't run the command unattended (from cron).

                          1 Reply Last reply Reply Quote 0
                          • F
                            fireseller
                            last edited by

                            Just tried to fetch the newest cvs several times but always got stuck with:

                            fetch -q -o - http://www.pfsense.com/~sullrich/tools/cvs_sync.sh | sh

                            Setting CVS_IP to cvs.pfsense.com
                            Syncing with pfSense.com
                            Checking out RELENG_1
                            Connected to cvs.pfsense.com
                            Updating collection pfSenseHEAD/cvs
                            Rsync CVSROOT/history
                            Edit pfSense/etc/inc/service-utils.inc,v
                            Create pfSense/usr/local/bin/php,v

                            Any advice?

                            1 Reply Last reply Reply Quote 0
                            • S
                              sullrich
                              last edited by

                              Your being impatient.  Let it go… It is still processing php which is every php change ever and is quite large.

                              1 Reply Last reply Reply Quote 0
                              • F
                                fireseller
                                last edited by

                                Ups, sorry bout that. I watched it for about 10 mins ;) Just starting up again.

                                Thanks alot.

                                1 Reply Last reply Reply Quote 0
                                • S
                                  sullrich
                                  last edited by

                                  Please run the command again.  All known issues hopefully are solved.

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    sullrich
                                    last edited by

                                    NOTE: you WILL need to reboot afterwards.

                                    Please run again, I just fixed a few more bugs.

                                    1 Reply Last reply Reply Quote 0
                                    • D
                                      dlawley
                                      last edited by

                                      Yea… my sense box seems pretty happy again..  thank you sir...

                                      1 Reply Last reply Reply Quote 0
                                      • S
                                        sullrich
                                        last edited by

                                        Good.  Others please test.  A new snapshot will be uploaded in a couple hours.

                                        1 Reply Last reply Reply Quote 0
                                        • F
                                          fireseller
                                          last edited by

                                          running great now for around 1 day!

                                          Thanks a lot for the great work!

                                          1 Reply Last reply Reply Quote 0
                                          • S
                                            sullrich
                                            last edited by

                                            @fireseller:

                                            running great now for around 1 day!

                                            Thanks a lot for the great work!

                                            Awesome!  Anyone else?

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