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

    No automatic connect to ISP

    Scheduled Pinned Locked Moved 2.0-RC Snapshot Feedback and Problems - RETIRED
    91 Posts 14 Posters 35.1k 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.
    • R
      Rich0x
      last edited by

      That would be cool if you could do a write up for this - As yeah, I have the same issue also. I have tried editing mpd.conf etc - but this has not worked.

      Look forward to a solution. :)

      1 Reply Last reply Reply Quote 0
      • X
        xbipin
        last edited by

        after around 16hrs there was a disconnect from isp and it seems the reconnect was tried by mpd and successfully connected so for me its is just great so u can go ahead and apply the patch.

        i wonder if this will be patched in main pfsense builds coz it seems to work just fine and also the connection up time field in interfaces is what i really like.

        1 Reply Last reply Reply Quote 0
        • X
          xbipin
          last edited by

          one thing i noticed was, with and without the patch, the periodic reset never works for pppoe

          reset at each day ('0 0 * * *')

          it never happens coz if it did then my WAN ip would change but it never does.

          1 Reply Last reply Reply Quote 0
          • X
            xbipin
            last edited by

            now all of a sudden when i login into the firewall and click interfaces i get this

            Warning: shell_exec(): Unable to execute 'ifconfig -l' in /etc/inc/globals.inc on line 44 Warning: shell_exec(): Unable to execute 'ifconfig -m | grep "capabilities=.*HWTAGGING"' in /etc/inc/globals.inc on line 49 Warning: shell_exec(): Unable to execute 'ifconfig -l' in /etc/inc/globals.inc on line 44 Warning: shell_exec(): Unable to execute 'ifconfig -m | grep "capabilities=.*VLAN_MTU"' in /etc/inc/globals.inc on line 49 Warning: shell_exec(): Unable to execute 'uname -m' in /etc/inc/globals.inc on line 130 Warning: file_get_contents(/tmp/config.cache): failed to open stream: Too many open files in system in /etc/inc/config.lib.inc on line 115 Warning: session_start(): Cannot send session cache limiter - headers already sent (output started at /etc/inc/globals.inc:44) in /etc/inc/auth.inc on line 863

            No page assigned to this user! Click here to logout.

            1 Reply Last reply Reply Quote 0
            • R
              Rich0x
              last edited by

              Hrmm, doesn't sound good. It would be nice to hear something from the pfSense dev guys in order to get this fully fixed.

              1 Reply Last reply Reply Quote 0
              • jimpJ
                jimp Rebel Alliance Developer Netgate
                last edited by

                Is there an actual diff for these changes instead of replacing whole files? That would go a long way toward getting the problem fixed.

                And I am not quite sure, does this fix involve the use of the old mpd 3.x binary or is it still mpd4? If so, it would be better to make it work with mpd5 instead of 3, as that brings other options to the table as well.

                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                Need help fast? Netgate Global Support!

                Do not Chat/PM for help!

                1 Reply Last reply Reply Quote 0
                • A
                  antiben
                  last edited by

                  sorry, i had no free time during the last days,
                  but if you look at my last post, there is a diff attached. (no old binaries are needed.)

                  i first tested the old mpd3, but actually that was not the problem/error.
                  the most important changes are the includes in /etc/rc.newwanip
                  and since pfsense is heavily based on php it make sense to add more logging
                  (at least for beta [hdd] installs) like in /etc/rc.php_ini_setup (commented out).

                  1 Reply Last reply Reply Quote 0
                  • _
                    _igor_
                    last edited by

                    8 posts up antiben supplied a diff.
                    Updated to snap from Fri Feb 26 23:14:37, mpd4 is still used. I've seen that mpd5 is installed too, but not used. Will this be automatically activated or do I have to change something to activate mpd5?

                    1 Reply Last reply Reply Quote 0
                    • jimpJ
                      jimp Rebel Alliance Developer Netgate
                      last edited by

                      igor - it's there if someone wants to experiment, but it is not activated yet. There may be some config changes and other things that need to happen before it would be switched out. Most important is to find out if it actually fixed the reconnection issues…

                      Hopefully I can get some time in the next day or two to spend on it.

                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                      Need help fast? Netgate Global Support!

                      Do not Chat/PM for help!

                      1 Reply Last reply Reply Quote 0
                      • _
                        _igor_
                        last edited by

                        Ah, ok. Thanks for the info. I was just curious.

                        1 Reply Last reply Reply Quote 0
                        • ?
                          Guest
                          last edited by

                          After  the earthquake, here in Santiago we've all services back again, but I've to manually reconnect the ppoe adsl.

                          Regards
                          Alfredo

                          1 Reply Last reply Reply Quote 0
                          • R
                            Rich0x
                            last edited by

                            This auto connect/reconnect issue was also present in m0n0wall, but was repaired, perhaps we could do the same thing?

                            http://m0n0.ch/wall/changelog.php
                            1.3b10 (03/01/2008)
                            -fix MPD WAN PPPoE/PPTP auto-reconnect issue

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

                              For anybody please try this patch on latest snapshots and report how their pppoe behaves on mpd5.

                              mpd5.txt

                              1 Reply Last reply Reply Quote 0
                              • jimpJ
                                jimp Rebel Alliance Developer Netgate
                                last edited by

                                @ermal:

                                For anybody please try this patch on latest snapshots and report how their pppoe behaves on mpd5.

                                Working great for me so far ermal. I kicked my session about 5 times and each time it reconnected within 5-10 seconds, as it used to.

                                Looks like mpd4 is just a dud when it comes to PPPoE reconnecting.

                                Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                Need help fast? Netgate Global Support!

                                Do not Chat/PM for help!

                                1 Reply Last reply Reply Quote 0
                                • N
                                  nocer
                                  last edited by

                                  Hello,

                                  Thanks for your cleaner patch, I just wiped my DIY patchy and apply this, and I second that as jimp said so now willing this one to be committed anytime soon. And, mpd5 ROCKS!

                                  cheers,

                                  1 Reply Last reply Reply Quote 0
                                  • X
                                    xbipin
                                    last edited by

                                    can it be commited so i can also benefit from it using latest snapshots?

                                    1 Reply Last reply Reply Quote 0
                                    • X
                                      xbipin
                                      last edited by

                                      or could some1 tell me what command to run in order to apply the patch directly in a nanobsd box?

                                      1 Reply Last reply Reply Quote 0
                                      • jimpJ
                                        jimp Rebel Alliance Developer Netgate
                                        last edited by

                                        You can do it on NanoBSD like so:

                                        # /etc/rc.conf_mount_rw
                                         <fetch or="" scp="" the="" mpd5.txt="" file="" to="" box="" somehow=""># cd /
                                        # patch -p1 < /root/mpd5.txt
                                        # /etc/rc.conf_mount_ro</fetch> 
                                        

                                        Just make sure you are running a snap that includes the md5 binary before you do that.

                                        Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                        Need help fast? Netgate Global Support!

                                        Do not Chat/PM for help!

                                        1 Reply Last reply Reply Quote 0
                                        • X
                                          xbipin
                                          last edited by

                                          im on the 4th feb nanobsd , no idea how to check if mpd5 is there or no

                                          1 Reply Last reply Reply Quote 0
                                          • jimpJ
                                            jimp Rebel Alliance Developer Netgate
                                            last edited by

                                            @xbipin:

                                            im on the 4th feb nanobsd , no idea how to check if mpd5 is there or no

                                            Go to a shell and type:

                                            # which mpd5
                                            /usr/local/sbin/mpd5
                                            

                                            If you get back that second line, you have it. Though that snapshot is probably too early, you'll need to update/reflash to a newer one.

                                            Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                            Need help fast? Netgate Global Support!

                                            Do not Chat/PM for help!

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