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.
    • 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
                            • X
                              xbipin
                              last edited by

                              it says the exact line u mentioned but when i ran the below
                              /etc/rc.conf_mount_rw
                              through web interface, the web interface seemed to have died, tried restarting also but no effect, need to reboot the box.

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

                                Yeah, that should have been done from a shell, not the webgui. The Diagnostics > Command interface in the GUI automatically switches to rw/ro during execution.

                                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

                                  hmmmmmmmmmm….it's not that difficult, first click & save ermal's patch somewhere on your local pc, then go grab shell from the console not from the webGUI, then follow jimp's instruction, it's only 3 minutes cook. have fun!

                                  cheers,


                                  ooops, you quick  ;D

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

                                    Typo? What typo? ;-)

                                    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

                                      @jimp:

                                      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.

                                      this is what i get

                                      [root@pfsense.pfsense]/(4): patch -p1 < /root/mpd5.txt
                                      Hmm…  Looks like a unified diff to me...
                                      The text leading up to this was:

                                      |diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
                                      |index 54808a6..f4bd81e 100644
                                      |--- a/etc/inc/interfaces.inc

                                      +++ b/etc/inc/interfaces.inc
                                      Patching file etc/inc/interfaces.inc using Plan A...
                                      Hunk #1 failed at 2011.
                                      Hunk #2 failed at 2044.
                                      Hunk #3 failed at 2070.
                                      Hunk #4 failed at 2081.
                                      Hunk #5 failed at 2092.
                                      Hunk #6 failed at 2108.
                                      6 out of 6 hunks failed--saving rejects to etc/inc/interfaces.inc.rej
                                      done
                                      1 Reply Last reply Reply Quote 0
                                      • R
                                        Rich0x
                                        last edited by

                                        Hi guys,

                                        Just to clear up, which file on this mirror http://mirror.optus.net/pub/pfSense/downloads/ Should i install to resolve this issue?

                                        Cheers

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

                                          @xbipin:

                                          @jimp:

                                          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.

                                          this is what i get

                                          [root@pfsense.pfsense]/(4): patch -p1 < /root/mpd5.txt
                                          Hmm…  Looks like a unified diff to me...
                                          The text leading up to this was:

                                          |diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
                                          |index 54808a6..f4bd81e 100644
                                          |--- a/etc/inc/interfaces.inc

                                          +++ b/etc/inc/interfaces.inc
                                          Patching file etc/inc/interfaces.inc using Plan A...
                                          Hunk #1 failed at 2011.
                                          Hunk #2 failed at 2044.
                                          Hunk #3 failed at 2070.
                                          Hunk #4 failed at 2081.
                                          Hunk #5 failed at 2092.
                                          Hunk #6 failed at 2108.
                                          6 out of 6 hunks failed--saving rejects to etc/inc/interfaces.inc.rej
                                          done

                                          Yeah i get the same thing too.

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

                                            Tried the patch with snap from Sun Mar 7 00:22:39 EST, but got errors:

                                            patch -p1 < /root/mpd5.txt
                                            Hmm…  Looks like a unified diff to me...
                                            The text leading up to this was:

                                            |diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
                                            |index 54808a6..f4bd81e 100644
                                            |--- a/etc/inc/interfaces.inc

                                            +++ b/etc/inc/interfaces.inc
                                            Patching file etc/inc/interfaces.inc using Plan A...
                                            Hunk #1 succeeded at 2011 with fuzz 2.
                                            Hunk #2 succeeded at 2044.
                                            Hunk #3 failed at 2070.
                                            Hunk #4 failed at 2081.
                                            Hunk #5 succeeded at 2092.
                                            Hunk #6 succeeded at 2108.
                                            2 out of 6 hunks failed--saving rejects to etc/inc/interfaces.inc.rej
                                            done

                                            Think I'm too late...
                                            cat /etc/inc/interfaces.inc.rej


                                            *** 2052,2057 ****
                                              set link no acfcomp protocomp
                                              set link disable pap chap
                                              set link accept chap

                                            EOD;
                                              if (empty($wancfg['mtu']))
                                            –- 2070,2077 ----
                                              set link no acfcomp protocomp
                                              set link disable pap chap
                                              set link accept chap

                                            • set pppoe iface {$wancfg['if']}
                                            • set pppoe service "{$wancfg['provider']}"

                                            EOD;
                                              if (empty($wancfg['mtu']))


                                            *** 2061,2085 ****

                                            $mpdconf .= <<<eod<br>set link mtu {$mpdmtu}

                                            • set ipcp yes vjcomp
                                            • set ipcp ranges 0.0.0.0/0 0.0.0.0/0

                                            EOD;

                                            • if (isset($config['system']['dnsallowoverride'])) {
                                            • $mpdconf .= <<<eod<br>- set ipcp enable req-pri-dns
                                            • EOD;
                                            • }
                                            • if (!isset($wancfg['dnsnosec']) && isset($config['system']['dnsallowoverride'])) {
                                            • $mpdconf .= <<<eod<br>- set ipcp enable req-sec-dns
                                            • EOD;
                                            • }

                                            $mpdconf .= <<<eod<br>open

                                            –- 2081,2089 ----

                                            $mpdconf .= <<<eod<br>set link mtu {$mpdmtu}

                                            EOD;

                                            $mpdconf .= <<<eod<br>open

                                            #</eod<br></eod<br></eod<br></eod<br></eod<br></eod<br>

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