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

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

            a simple solution would be if some1 could simply upload the interfaces.inc file after the patch applied so everyone else could simply replace the existing file with it to test the new patch.

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

              I've just re-installed to pfSense-1.2.3-RELEASE-LiveCD-Installer.iso.gz and this does not contain MPD5 as far as i can tell. Running the command 'which mdp5' results in 'mpd5: Command not found'.

              'which mpd' works though, /usr/local/sbin/mpd

              Now that I am running on a different version, I'll see how it goes with the auto-reconnect and general connection stability.

              My DSL condition is below:

              –- DSL Information ---
              DSL Driver Version:  AnnexA version - A2pB022g.d20e
              DSL VPI/VCI:        8/35
              DSL Status:          ShowtimeRetrain Reason: 0
              DSL Mode:            ADSL2+
              DSL Channel:        FAST
              DSL Upstream Rate:  1023 Kbps
              DSL Downstream Rate: 12470 Kbps

              Down        up   
              DSL Noise Margin:    11.1 dB      13.9 dB
              DSL Attenuation:    31.0 dB      19.1 dB
              DSL Transmit Power:  18.7 dBm    12.6 dBm

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

                @Rich0x:

                I've just re-installed to pfSense-1.2.3-RELEASE-LiveCD-Installer.iso.gz and this does not contain MPD5 as far as i can tell. Running the command 'which mdp5' results in 'mpd5: Command not found'.

                This thread is for pfSense 2.0 beta (it's in the 2.0 board, even) - it will not work on 1.2.3.

                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
                • R
                  Rich0x
                  last edited by

                  @jimp:

                  @Rich0x:

                  I've just re-installed to pfSense-1.2.3-RELEASE-LiveCD-Installer.iso.gz and this does not contain MPD5 as far as i can tell. Running the command 'which mdp5' results in 'mpd5: Command not found'.

                  This thread is for pfSense 2.0 beta (it's in the 2.0 board, even) - it will not work on 1.2.3.

                  I understand - Sorry about that, however if the auto-connect feature works correctly on the version I have installed, I will be happy to stick to that.

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

                    hi Jimp,

                    could u paste the contents of the interface.inc file after the patch so i can simply edit the file?

                    Regards

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

                      I suppose I could put it somewhere but the patch still applies cleanly on today's snapshot – I'm not sure why people are having any problems with it.

                      [2.0-BETA1]
                      [root@tester.local]/root(1): cd /
                      [2.0-BETA1]
                      [root@tester.local]/(2): patch -p1 < root/mpd5.diff 
                      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 2030 (offset 19 lines).
                      Hunk #2 succeeded at 2063 (offset 19 lines).
                      Hunk #3 succeeded at 2089 (offset 19 lines).
                      Hunk #4 succeeded at 2100 (offset 19 lines).
                      Hunk #5 succeeded at 2111 (offset 19 lines).
                      Hunk #6 succeeded at 2127 (offset 19 lines).
                      Hmm...  Ignoring the trailing garbage.
                      done
                      [2.0-BETA1]
                      [root@tester.local]/(3): uname -a
                      FreeBSD tester.local 8.0-STABLE FreeBSD 8.0-STABLE #1: Mon Mar  8 02:04:41 EST 2010     sullrich@FreeBSD_8.0_pfSense_2.0-snaps.pfsense.org:/usr/obj.pfSense/usr/pfSensesrc/src/sys/pfSense_SMP.8  i386
                      
                      

                      Here is my copy:

                      mv /etc/inc/interfaces.inc /etc/inc/interfaces.inc.old
                      fetch -o /etc/inc/interfaces.inc http://pingle.org/files/interfaces.inc.txt
                      

                      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
                      • E
                        eri--
                        last edited by

                        It will be on latest snapshots.

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

                          Hi,

                          I suppose I could put it somewhere but the patch still applies cleanly on today's snapshot – I'm not sure why people are having any problems with it.

                          same here…even with Mar 1st build clearly patched so I neither have issues. Hopefully ermal will soon or later commit, be patient 'til then or edit by hand using .rej file.

                          cheers,


                          ooops, message just crossed. glad to hear emarl made it into next snap. danke!

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

                            thanks Jimp, i tried the file on the 4th March nanobsd but didnt seem to work so will try the latest snapshots once the traffic shaper issue is solved on them

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